LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to store binary files into ascii files

Hi!

The idea to use the “export waveforms to spreadsheet” VI is working. The voltage values can be correctly exported, but the timedomain counldn´t (most proably this is due to the fact, that this VI does not use absolut time values). To conclude, it is a solution but not very elegant.

 

Aditionally I´ve tried to programm it by myself (see the attached VI). The VI is running but the produced values a very strange. From file I have attached I would expect values like 4000 (10 V rationed in 16 bits and the actuall value is something like 600 mV), but the values I can find in the txt 1E-320?!?

Can anyone check this?

 

Thanks a lot

Tituriel

Download All
0 Kudos
Message 11 of 12
(564 Views)
Hi Tituriel,

you have to change the constant defining the datatype to I16 when reading the data using "read from binary file". At the moment you have set DBL which is completely wrong for the example datafile...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 12
(561 Views)