10-21-2016 11:11 AM
Thanks for the feedback. Ultimately I want all 3x DAQs to be sync'ed, which is why I have them all in the same loop, I just don't yet know how to sync them. Using the "Start Digital Edge (falling)" daqmx command, a physical electrical connection between the PFI0 pins on all of the DAQs, a physical electrical connection between these pins and one digital output on one of the daqs, and of course a pin toggle low, the only response I get is a "NI-488 Command requires GPIB Controller to be Controller-In-Charge" error at the Dequeue Element. Any ideas? Based off of the drop down options, it sure seems like I should be able to trigger based off of a toggle at PFI0
10-21-2016 12:47 PM
That error on a Dequeue function likely means that the Queue ref has gone invalid. Tracing the code, that probably means 1 or more of your AI tasks had a loop-ending error, causing the Queue ref to be released. The order in which you merge your errors makes you see the Dequeue error instead of the DAQmx one. That's my best guess.
Try merging the Dequeue error to be last and/or put probes on the DAQmx error wires. The thing that changed would be the triggering, so it's likely the error relates to the way that's being configured.
-Kevin P