Error -201300: Compression Type with NI-DAQmx Logging VI in LabVIEW

Updated Jul 9, 2026

Reported In

Hardware

  • PXIe-6124
  • PXIe-6396
  • PXIe-6363

Software

  • LabVIEW

Driver

  • NI-DAQmx

Issue Details

I use the DAQmx Configure Logging VI to configure writing high-speed streaming data to a TDMS file. I apply a compression type by using AI.RawDataCompressionType property as described in Optional Data Compaction. When I start my VI, I receive the following error:

Error -201300 occurred at DAQmx Start Task.vi: 7220001
Possible reason(s):
Property specified is not supported when logging data.


Main_error_message
 

Solution

The compression property is not supported when using the built-in logging functionality with most NI-DAQmx hardware.

There are a few DSA devices that support hardware data compression to pack 24-bit samples together (rather than the default of sign-extending to 4 bytes each). This is supported by the built-in TDMS logging due to the fact that some devices can acquire at very high sample rates, and it is required to acquire all the samples.

Additional Information

The built-in TDMS logging connects the raw data stream into a TDMS file and then packs in the scaling information so that it can be read as the engineering units of the DAQmx task appropriately.