I am trying to synchronize tasks across different cDaq modules. When I have done this on previous daqs (with a USB-6343) I have done this by choosing a master task and setting the other tasks' sample clock to be equal to that tasks' sample clock. However currently I am trying to synchronize an analog output task (on a ni-9264) and analog input task (on a ni-9220) and this method is not working.
I am trying to set the analog input sample clock to the analog output sample clock but I get the error:
<Message: Source terminal to be routed could not be found on the device.
Make sure the terminal name is valid for the specified device. Refer to Measurement & Automation Explorer for valid
terminal names.
Property: NationalInstruments.DAQmx. Timing.SampleClockSource
Property: NationalInstruments.DAQmx. Timing.SampleClockActiveEdge
Source Device: cDAQ1Mod1
Source Terminal: ao/SampleClock/>
Is it not possible to link across devices like this? If not is there an accepted way of synchronizing tasks across different modules of a cdaq?
I'd really appreciate any advice anyone can provide
Adam