LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Formatting the time stamp in "Write LabVIEW Measurement File"

When I use the "Write LabVIEW Measurement File" vi to write data
the files first column contains the number of seconds since the staart of the file

How can I get the computer date and time or at least the time HH:MM:SS???

Tom

PS, And how can I put some sensible label on each columns in the file?
0 Kudos
Message 1 of 2
(2,549 Views)
Tom,

The vi I'm attaching demonstrates how to use the computer system time for the timestamp on your LVM file. It takes a reading from the DAQ Assistant and applies a system time stamp. It's in version 7.1, but let me know if you need it in version 7.0.

As for inserting meaningful column headers, you won't be able to do that with the express vi, but you could use the regular file i/o vis to create a file like that is similar to a LVM file, but is a little more customizeable and can be formatted however you like. The express vi is meant to be a quick solution, but does not offer all the versatility of the vis on the palette. I hope this helps you out. Have a good one, Tom!

Tyler S
0 Kudos
Message 2 of 2
(2,543 Views)