07-28-2013 09:56 AM
Hi
I have control as time string formate time1 = 11:15:32.890 and time2 = 11:15:35.960
I want to subtract time2 from time1 and get total time , in this case it will 3 sec
how can I do that using labview
thanks
07-28-2013 11:13 AM
Look at the String and Timing palettes. The Date/Time to Seconds functions will convert separate numerical components into a timestamp. Spreadsheet String to Array (with : as separator) and Index Array gets you the components.
There are several other ways as well. Scan from String can probably be used.
Lynn
07-28-2013 12:05 PM - edited 07-28-2013 12:07 PM
Assuming ur using period (.) instead comma (,) to separate fractional seconds... Use scan string function and change the DBL display format :]