LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I insert the Date in time into my file?

0 Kudos
Message 1 of 6
(3,100 Views)
Use Get Date/Time String from the Time & Dialog palette. Concatenate it with your data string (however and wherever you want) that gets written to the file.
0 Kudos
Message 2 of 6
(3,100 Views)
How owuld I save this file in different Intervals? ie; save data every 30 min. or 60 min whateve the user chooses.
0 Kudos
Message 3 of 6
(3,100 Views)
Give the operator a front panel control to enter the Save Interval. Use a shift register on your While loop (initialized to a Double = 0) to hold the Last Time Saved. In your loop, call the Get Date/Time in Seconds function (from the Time & Dialog palette). If the current time - Save Interval > Last Time Saved, save the data and update the Last Time Saved.

See the attached LabView 6.1 example.
0 Kudos
Message 4 of 6
(3,100 Views)
Could you put it in labview 6i please
0 Kudos
Message 5 of 6
(3,100 Views)
0 Kudos
Message 6 of 6
(3,100 Views)