LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problem with lvm file

hi all, i have connect temperature sensor and record the data in lvm file.

in my lvm file:
0.000000 27.374516 3:19:28 PM
0.953125 27.374516 3:19:29 PM
1.937500 27.374516 3:19:30 PM
2.953125 27.374516 3:19:31 PM
i want to ask what is the value 0.000000, 0.953125, 1.937500, 2.953125 stand for? can it be disable? the value in the middle is my temperature sensor value. how to change it to save only in two decimal place?
0 Kudos
Message 1 of 6
(2,833 Views)

Hi mic_k86,

the values in the first column is the dt in sec between your values. You have to work on the temperature value before storing it, to get only two decimal places. Where are your values from? To make your own fileformat, you can store your values in an array, work on it and store it with "Write to Spreadsheet File.vi".

 

Mike

Message 2 of 6
(2,828 Views)
dt? what is dt? my value is from a I/O called go assistant. the hardware is a usb temperature sensor. how to work using on array, Write to Spreadsheet File.vi as u suggested?
0 Kudos
Message 3 of 6
(2,806 Views)

Hi mic_k86,

dt (delta t) is the time difference between your temperatures. If you don't need the timestamp, then you can store your values in a numeric array. Use a shift register on your acquisition loop. Initialize it and overwrite the initialized array with your new values, to store them. Use from time to time the "Write to Spreadsheet File" function to store your values to the file.

 

Mike

Message 4 of 6
(2,802 Views)

If you don't need the timestamp, then you can store your values in a numeric array. Use a shift register on your acquisition loop. Initialize it and overwrite the initialized array with your new values, to store them. Use from time to time the "Write to Spreadsheet File" function to store your values to the file.

i not sure how to do this part? any example for reference?

0 Kudos
Message 5 of 6
(2,780 Views)

Hi MIC,

  I attached 2 examples for you ,one is how to wirte to spread sheet file and another one is write to text fiel without dt shown in the file.refer to attached file.

You can learn from the examples how to do it.

 

 

 

Regards.

S.Ahamad

AE

 

 

 

Download All
0 Kudos
Message 6 of 6
(2,751 Views)