DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Single Precision datatype for saving File Size

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

0 Kudos
Message 1 of 4
(3,298 Views)

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

0 Kudos
Message 2 of 4
(3,221 Views)

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

 

Niko NR
Systems Engineer, National Instruments
0 Kudos
Message 3 of 4
(3,209 Views)

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

 

 

 

0 Kudos
Message 4 of 4
(3,083 Views)