LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Logging date/time with measurements put into a spreadsheet

I have a VI set up to receive temperature readings and log them to a spreadsheet. I also want to log the time and date with each reading. How do I do that since the temperature readings are numbers and time/date is a string.
0 Kudos
Message 1 of 2
(2,584 Views)
Try using the waveform datatype. This will have the value and a timestamp with each value you take. This can be broken apart to get to each element by using the get waveform components function under the waveform palette. You can convert the timestamp function using the format date/time string function. You also can convert the number to a string. There is a variety of functions under the strings palette. Hope this helps.
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
0 Kudos
Message 2 of 2
(2,584 Views)