LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Logging on cRIO 9042: Error -201310

Solved!
Go to solution

Hi everyone,

 

I would like to use DAQmx logging on a cRIO 9042. Reading waveforms and logging those to TDMS "by hand" works fine. According to this page DAQmx logging should also be possible: Log TDMS Measurements in a Real-Time Application. Unfortunately, I get this error:

 

Error -201310 occurred at DAQmx Start Task.vi:7220001

Possible reason(s):

TDMS support is not installed or is too old. Use an NI-DAQmx runtime that includes TDMS support, or install a supported version of TDMS from a stand-alone installer.

 

I'm pretty certain the driver is not too old. I'm using LabVIEW 2020 and the cRIO has these versions installed (excerpt):

CompactRIO Support 21.0.0.49153-0+f1
LabVIEW Real-Time 20.0.1.49159-0+f7
Linux RT System Image 21.0
NI-DAQmx 21.0.0.49316-0+f164

 

Any ideas?

0 Kudos
Message 1 of 5
(2,012 Views)

Hi cordm,

 


@cordm wrote:

Possible reason(s):

TDMS support is not installed or is too old.

 

I'm using LabVIEW 2020 and the cRIO has these versions installed (excerpt):

CompactRIO Support 21.0.0.49153-0+f1
LabVIEW Real-Time 20.0.1.49159-0+f7
Linux RT System Image 21.0
NI-DAQmx 21.0.0.49316-0+f164

 

Any ideas?


Is there a separate "TDMS support" package to be installed?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(1,978 Views)

Did you find an answer to this? I encountered the same thing

0 Kudos
Message 3 of 5
(1,455 Views)

I did not find a cause for this. In the end, I installed a different system image version and that was the end of it. It might have been a mismatch between LabVIEW versions or something went wrong in the original installation. I used LabVIEW 2020 for development.

 

The system is gone now, but the last installed image was Linux RT System Image 20.7.0

0 Kudos
Message 4 of 5
(1,424 Views)
Solution
Accepted by cordm

Found, It is a bug #1839526 in DAQmx versions <21.8.

https://www.ni.com/en/support/documentation/bugs/22/ni-daqmx-21-8-bug-fixes.html

Message 5 of 5
(1,337 Views)