Hello,
I'm stuck. I want to synchronize an AI clock on an S series board with an AO clock on an M series board. I've connected a cable across the RTSI ports (26 pins connected pins 9:34 due to the limitations of parts at hand).
I can route S/20MHzTimebase to S/RTSI7, and I can route M/RTSI7 to M/PFI7 using DAQmxConnectTerms, I see the 20MHz clock on my oscilloscope, so I know the routing to and through RTSI7 is good.
But I cannot get my AO Task to go on the M Series board !
I am using DAQmxCfgSampClkTiming(TaskAO,<source>,...), I tried RTSI7, I tried S/20MHzTimebase for the source -- I'm guessing these don't work because DAQmxCfgSampClkTiming expects the actual clock not a timebase in the argument. So I connected M/RTSI7 to M/ao/SampleClockTimebase, whatever I put for <source> gives me an error like this...
- - -
Specified route cannot be satisfied, because it requires resources that are currently in use by another route.
Property: DAQmx_SampClk_Timebase_Src
Property: DAQmx_SampClk_Timebase_ActiveEdge
Source Device: Dev2 (...that's the M device)
Source Terminal: 20MHzTimebase
Required Resources in Use by
Source Device: Dev2
Source Terminal: RTSI7
Destination Device: Dev2
Destination Terminal: ao/SampleClockTimebase
Task Name: TaskAO
Status Code: -89137
- - -
I'm beginning to think that I can't use DAQmxCfgSampClkTiming().
Anybody know of an example showing how to set up my Slave timing ?
Thanks for any help !
-rajeev-