LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to write a timestring from a .txt-spreadsheet-file into a LV-array

Hello,

I have the problem to get the timestring from an .txt-sreadsheet-file in a correct format into a labview array. The first coulmn ist a time value, the other coulmns are unimportant. The target is to get an xy-graph which shows the time at the x-axis and another value from the .txt file in the y-axis. At the moment I get in the first coulmn the value "10" instead of "10:36:17". Can anybody help?

Win XP
LV 7.1


Regards
ThomasD

Message Edited by ThomasD on 06-16-2005 04:39 AM

Download All
0 Kudos
Message 1 of 4
(2,203 Views)
I can't look at your VI, but have a look at the attached (7.0) as an example.
It's not finished, and could still have some bugs, but it shows the basic idea.
It uses the same tokens as the regular LV functions, so in your case the format string should be %H:%M:%s.
I really think LV should have this as a built in function (the opposite of Format Date/Time String) and it would be nice if you would make a product suggestion for it.

Message Edited by tst on 06-16-2005 12:57 PM


___________________
Try to take over the world!
0 Kudos
Message 2 of 4
(2,190 Views)
Hello,

Check it now.
Hope it helps,
Paulo
Message 3 of 4
(2,186 Views)
Thanks, problem is solved!

Regards
ThomasD
0 Kudos
Message 4 of 4
(2,174 Views)