From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting the digits of precision for TDMS logging

Solved!
Go to solution
I can't seem to figure out a way to set the digits of precision when logging data to a TDMS file. I'm hopping to be able to reduce the file size by doing this. Any suggestions? Thanks, Cosimo
0 Kudos
Message 1 of 3
(2,447 Views)
Solution
Accepted by topic author cos29

The data in a TDMS file is binary.  So you can't set the digits of precision.  If you want to make smaller files, then cast your data to Singles instead of Doubles.  You will have 1/2 the resolution, but use 1/2 the bits on disk.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(2,439 Views)

Perfect.  Thank you for the quick response.

0 Kudos
Message 3 of 3
(2,428 Views)