12-09-2015
09:42 AM
- last edited on
07-18-2024
03:09 PM
by
Content Cleaner
I am attempting to synchronize analog input tasks on two 9188 chassis utilzing the build in BNC ports (PFI 0 and 1). I also have digital input tasks on the master chassis that I would like to synchronize. I have been referencing https://www.ni.com/en/support/documentation/supplemental/21/signal-based-synchronization-of-analog-i... and examples but am not certain I have it setup correctly.
From the link above, I have exported the SampleCLK to PFI0 and the StartTrig to PFI1 on the master chassis. I have two BNC cables routed between the ports on the two chassis. I have set the DAQmx Start Trigger on the slave to source to PFI1 (This does seem to make the two task start at the same time), I have attempted to set the DAQmx timing ( Sample Clock) to source PFI0, but this creates an error (Requested Sample clock source is invalid).
I can get the test application to run by seting the slave sample clock source to "OnboardClock". When I use this setting, the two task seem to start at the same time, but I do not believe the slave chassis is using the master module sample clock and therefore could drift with time?
I would like to know how to properly sync the two analog tasks. I would also like to sync the digital tasks on the master chassis with the analog task.
Solved! Go to Solution.
12-10-2015 05:47 PM
Hello,
Which cDAQ modules are you using within both chasis?
Best Regards,
Rich
Applications Engineer
12-11-2015 06:44 AM
Hello,
If you want to synchronize the two tasks, you have to share sample clocks and triggers via PFI lines. The one exception is that it is not currently possible to synchronize tasks across chassis that use AI modules with delta-sigma ADCs,
Best Regards,
Lis Villanueva.