Error -209836 in DAQmx Start Task on TSN-Enabled cRIO or cDAQ

Updated Apr 18, 2024



  • CompactRIO Controller
  • CompactDAQ Controller


  • NI-DAQmx

I am using a TSN-enabled CompactRIO or CompactDAQ. When booting a start-up application, I receive DAQmx error 209836 with a message similar to the below :
The devices in your task cannot be synchronized. This may be because there are no available synchronization mechanisms between the devices.

Some synchronization paths are not available in interactive tools like the DAQ Assistant. To determine whether synchronization between these devices is possible, try deploying and executing your task in your application environment. 
Device: cRIO1 
Task Name: ai_9202s 
Status Code: -209836 

  1. This error appears due to DAQmx attempting to start a task before the synchronization domain is complete, or where poor networking performance results in TSN not being found when the task begins. When DAQmx is started, it requires a synchronization domain, even if it is only one device connected, and the TSN processes boot in parallel to a startup executable.
  2. This error may appear due to corruption of the NI MAX Database, so resetting the NI MAX Database may work.
  3. To solve this error, create a loop to call "DAQmx Start Task" until the error -209836 is not called before continuing on with the rest of the execution. 
  4. Ensure that we only poll for error -209836 and add a maximum number of iterations so the device does not lock up if a different error occurs.
  5. If the error is seen after doing the above changes then call DAQmx Reset Device (VI)

Example Snippet of how to call DAQmx Start Task until the error does not occur.