Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing clocks across cDaq modules

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
0 Kudos
Message 1 of 3
(2,458 Views)

It is definitely possible to synchronize different modules in a cDAQ chassis.  In this case, you need to specify the clock source from the chassis, not the module.

 

For example, /cDAQ1/ao/SampleClock, not /cDAQ1Mod1/ao/SampleClock

Message 2 of 3
(2,403 Views)

Thanks a lot Mark, that was definitely my problem

0 Kudos
Message 3 of 3
(2,388 Views)