11-17-2024 09:02 AM
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
04-22-2025 07:28 AM
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
04-23-2025 06:19 AM
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.
04-24-2025 02:32 AM
Happy to help. Let me know if you need any further assistance.