Jump to content
  • 0

Analog Discovery 2 Multi-Device Sync


CoreZ86

Question

I have two Analog Discovery 2 and I would like to sync the three oscilloscope channels with a trigger, while leave the last 1 flexible for different measurement, using the python interface (SDK). I am wondering if there is any examples available for multi-device sync other than the sample codes under the SDK file.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi @CoreZ86

The oscilloscope in a device is one instrument. The scope channels are controlled together, one trigger, same rate... but you can use them for different purpose. The FDwfAnalogInStatus->FDwfAnalogInStatusSample returns the current ADC readings regardless of the capture state.
The wavegen channels are independent instruments.

See the following posts:

 

 

Link to comment
Share on other sites

  • 0

Hi @attila

Thank you very much for your response, I managed to sync the channels of two analog discovery 2 using the code from one of your older posts. One problem I am still having right now is, once I use the script from the SDK example to log the data from the oscilloscope channels, a time delay in each channel is introduced. This delay is not there when I was using the Analog Discovery 2 memory, which is too small for my application. I am wondering if it is possible to expand the buffer size limitation or if there is any way to get rid of the time delay during logging? 

Link to comment
Share on other sites

  • 0

Hi @CoreZ86

If you are using software controlled logging it can have few ms of delay.
You could use triggered record mode to collect samples. This way only the ppm difference between the device oscillators will count.
See AnalogIn_Record_Trigger.py use with FDwfAnalogInTriggerPositionSet(0)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...