LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I have a application that I am looking to create a new output data file every hour continuously until manually stoped.

The labview 7 express Write Measurement File wizard allows me to save after x number of seconds which I have set to 1 hour. I would like to take it one step further where the data file is closed on the hour like 1:00 2:00 etc. Would you have any information on how to do that?
0 Kudos
Message 1 of 2
(2,592 Views)
Use the "Get Date/Time in Seconds" item on the Block Diagram.
Then use "Seconds to Date/Time" to convert it to a time cluster.
Then use "Unbundle by Name" to get the minutes of the hour.

By knowing the time now, it's simple math to know the number of seconds until your "on the hour" save.

Les.Hammer@CompleteTest.com
0 Kudos
Message 2 of 2
(2,592 Views)