Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

how to adapt representation of the measurement to the resolution in scan mode Labview RT

Hello,

I am using CRio 9073 with cRio9205 (AI channel) in scan mode with shared variables

When I import the shared variables corresponding to the AI channels on the diagramm, they are represented in DBL (8bytes). I cannot arrive to change the type.

I would like to recover the data measurements in raw format on 2 bytes (I16) since the resolution of the ADC is 16 bits to reduce the size of data on target.  I store data on target, then transfer the data on host pc and  convert the raw value (integer value between 0 and 2^16 - 1) regarding the range selected (10V, 200mV...). Is it possible?

On CRio 9073, there is only 128 MB of memory and I have checked only about 80 MB are available to store data measurements after installing the driver NICrio on the target.

To store data, I have use tdms and remarks the size grows much after a large number of writing. I think to set the NI_MinimumBufferSize and use defrag during acquisition. When the size of file is large, does defrag take a long time?

Thanks. 

0 Kudos
Message 1 of 2
(3,027 Views)
Duplicate

Romain D.
National Instruments France

0 Kudos
Message 2 of 2
(2,966 Views)