LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

real time comparison with given times (24 hr clock) in tab delimited txt file

The ultimate goal is to continuously read in the built-in time function as to what time of day it is and compare this with a spreadsheet/tab delimited text file that contains a row with 8 columns of times (24 hour clock). i.e.:

0600   0800   1000   1300   1400   1600   1700    1900


For example, when the time of day turns to be 1300 (or 1 pm), the program will output a logical true.  Whereas, if it is 1303, it will output a false.  If a true comes, then this will hook up to run a motor, whereas if false outputs, nothing will happen. 

I'm having great difficulties understanding the clock function in LabView, much less how to take this and compare it to given times of day.  This must run continuously all day and all night.  It will be providing alerts as to when the real time matches the times in the file.
Thanks.
0 Kudos
Message 1 of 3
(2,343 Views)

Try this in 7.0 format.

 

0 Kudos
Message 2 of 3
(2,341 Views)
Here is a way to text search an array of text values and compare to current time.
0 Kudos
Message 3 of 3
(2,337 Views)