LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to convert a list of string of time (HH:MM:SS)to a numeric list for plotting

my question is: How to transform a list of characters of values of time that have format HH:MM:SS to a list or adjustment of numerical values, to be able to use them in a code of LabVIEW?
The numeric data are going to be used to plot them in a graph XY and to manipulate them.
0 Kudos
Message 1 of 2
(3,055 Views)
If it's 24-hour format than a Scan From String function with %d:%d:%d as the format string will give you hours, minutes, seconds as numerics. You could then convert to seconds as shown in the attachment.
Message 2 of 2
(3,055 Views)