09-12-2016 07:31 AM
hi guys,
My Test will go for weeks. Hence have the need to save Data optimally.
I would prefer Single Precision in spite of Double while saving Analog measurement Info eg Voltage graphs etc.
I tried changing it at the point where write data to my TDMS File but Invain.
This way I could save the amount of Data written and limit the File size. also double precision could be an Overkill.
regards,
Akshay
09-18-2016 08:34 PM
Hi Akshay,
If you're saving the TDMS file from DIAdem, then you should look into the ChnQuantize() function. If you're saving the TDMS file from LabVIEW, then you just need to type convert from DBL to SGL before wiring to the TDMS Write.vi.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
09-19-2016 06:51 AM
Hi Akshay,
did you have a look at the overview of which data type takes how much space:
Numeric Data Types Table - LabVIEW 2012 Help - National Instruments
https://zone.ni.com/reference/en-XX/help/371361J-01/lvhowto/numeric_data_types_table/
Could you post the code that you are using?
Best, Niko
09-28-2016 04:37 AM
thanks Nico and others,
Its just the datatype I used, makes the difference.
If I use Single precision its better.
I save 30% of space compared toa DBL.
regards,
Akshay