FlexLogger

cancel
Showing results for 
Search instead for 
Did you mean: 

Storing raw 16bits binary data in FlexLogger with NI9215 modules?

Hi,

 

I am using for the first time a full version of FlexLogger for a long run on a remote site (months of data logging, no easy access). I have a fair amount of data to be recorded  (about 4 x NI9215 16 bits fast ADC modules running at 20kHz continuously ) and I calculated my storage means consequently (16TB) based on the fact that each sample could be stored on 2 bytes on TDMS files, meaning in raw binary format. The first tests showed that the actual record for the simplest format I could find on the sensor input  is on 8 bytes not 2. So is there a way to force the record of each channel on raw 2 bytes data?

 

Thanks in advance

0 Kudos
Message 1 of 4
(705 Views)

Hi,

 

There is currently no setting in the FlexLogger 'Logging specification' section that would allow you to force the data logging in 2-byte format. Since the TDMS format prioritizes data compatibilty and accuracy, it stores the numeric channels as 8-byte data by default.

You can consider automating your data logging session using  FlexLogger Python APIs to include a script section that exports the TDMS files periodically and converting the 'double' data type into int16 bit data. You can find the classes and methods to be used to create the python data logging script in this link.

 

Thank you

0 Kudos
Message 2 of 4
(371 Views)

Thanks for the link! I had the feeling that somehow we had to pay the "no-code" simplicity of Flexlogger. But any ways it has been on site datalogging for a few monthe and even the datastorage has to be periodically cleaned due to its size calculated for 2bytes data.

0 Kudos
Message 3 of 4
(355 Views)

Happy to help. Let me know if you need any further assistance.

0 Kudos
Message 4 of 4
(339 Views)