Analog Input >> General Properties >> Advanced >> Data Transfer and Memory >> Compression >> Raw Data Compression Type

NI-DAQmx C Reference Help

Edition Date: January 2019

Part Number: 370471AM-01

»View Product Info
Download Help (Windows Only)
Data Type: int32
Description: Specifies the type of compression to apply to raw samples returned from the device.

Refer to the DAQmx Professional Tools Web site for more information and examples of raw data compression and streaming to disk.



Valid values

DAQmx_Val_None 10230 Do not compress samples.
DAQmx_Val_LosslessPacking 12555 Remove unused bits from samples. No resolution is lost.
DAQmx_Val_LossyLSBRemoval 12556 Remove unused bits from samples. Then, if necessary, remove bits from samples until the samples are the size specified with Compressed Sample Size. This compression type limits resolution to the specified sample size.



You can get/set/reset this property using:

  DAQmxGetAIRawDataCompressionType

  DAQmxSetAIRawDataCompressionType

  DAQmxResetAIRawDataCompressionType

WAS THIS ARTICLE HELPFUL?

Not Helpful