Issue Details
I'm using a cRIO-9056 controller to perform triggered data acquisition operations using NI-DAQmx. My code is based on the Voltage - Continuous Input.vi LabVIEW shipping example and I am using the DAQmx Trigger.vi to configure the trigger for my acquisition, which can come from the PFI0 port on the controller, a digital input module such as the NI-9411, or an absolute time trigger.
In some executions, the controller fails to recognize the external trigger even though I have verified that the signal is reaching the target correctly. When this occurs, I have noticed that my NI-DAQmx task fails with error -200560 or -209838, depending on the type of task:
Error -200560 occurred at DAQmx Wait Until Done.vi:3580001
Possible reason(s):
Wait Until done did not indicate that the task was done within the specified timeout. Increase the timeout, check the program, and make sure connections for external timing and triggering are in place
Error -209838 occurred at an unidentified location
Possible reason(s):
Synchronization lock was lost during operation. If the occasional loss of synchronization is acceptable, change the Synchronization Unlock Behavior property to ignore sync loss. Otherwise, go to ni.com for more information about sync loss management.