Hello,
I am using multiple Analog Discovery 2s (AD2) for data acquisition in an experiment. For repeatability, I am using an external triggering source, positive edge, to generate both AWG signals and to acquire data from the AD2 oscilloscopes. I am able to create the exact specification I need in the WaveForms GUI for the AWG and the Oscilloscope data acquisition, but am at a loss for trying to replicate this in a control program written in python, even after reviewing the .py exames in th
Hi @LiamP
Similar as it is done in the Device_Synchronization.py example, first configure each input and output channels (or the needed ones) in each device, and arm them, wait each to finish and get the data.
for iDevice in range(cDevice.value): # open and configure
dwf.FDwfDeviceOpen(c_int(iDevice), byref(hdwf))
...
rghdwf.append(hdwf.value)
dwf.FDwfAnalogIn... # configure range, offset... for channels, frequency, trigger position...
dwf.FDwfAnalogInTriggerSourceSet(rghdw