Archived:Error -209836 When Setting First Sampleclock Property on FieldDAQ Using TSN

Updated Dec 28, 2023

NI does not actively maintain this document.

This content provides support for older products and technology, so you may notice outdated links or obsolete information about operating systems or other relevant products.

Reported In

Driver

  • NI-DAQmx
  • NI CompactRIO

Issue Details

I have my FieldDAQ in a daisy-chain with a TSN-enabled CompactRIO. I need to set the FirstSampClk.When property because I'm running DSA tasks on both targets, and I want to synchronize them. When I try to set this property, the property node produces error -209836.

Solution

This is a known issue with DAQmx on TSN-sync'ed FieldDAQ targets. This bug was fixed in DAQmx 19.1 (CAR ID 734612).
  • To resolve this behavior, you can upgrade to the latest version of DAQmx
  • If it is not possible to upgrade the software for your system, follow the workaround steps below:
 

Workaround

  1. Explicitly set the timescale of all devices to I/O Device Time by specifying the FirstSampClk.Timescale property to I/O Device Time and setting the Sample and Timebase Rates to match the settings below.
  1. Explicitly set the FirstSampTimestamp.Timescale property to I/O Device Time
This will prevent the FirstSampClk.When property node from producing error -209836, and will restore full functionality of the property.