03-14-2012 04:18 AM
Hi!
Just a very simple question: I have a txt file with the following structure:
2012.03.13 19:13 6.93E-05
2012.03.13 19:14 6.29E-05
2012.03.13 19:15 5.66E-05
2012.03.13 19:16 5.21E-05
. ..
So tab delimited time stamps and values.
I would like to send these to a waveform chart. Can someone show me an "elegant" way to do this, I think I could do this only in a quite ugly way...?
Sample data attached, and my VI what I wrote so far...
Thanks in advance,
Solved! Go to Solution.
03-14-2012 07:37 AM - edited 03-14-2012 07:38 AM
You were very close. I have attached your VI with parsing for the timestamp. You can find timestamp format codes in the LabVIEW help under Format Codes for the Time Format String.
Note that I only used the first two timestamps, assuming the data was equally spaced. You could also use an XY graph and use all the timestamps, if you wanted to. Also, to get the timestamps to show up on the graph, you need to right click the graph and deselect Ignore timestamp.
03-14-2012 07:40 AM
thanks! I 've got the point 🙂
03-14-2012 07:55 AM
there was only a tiny "mistypo" in the block diagram -> the inputs of the subtract icon had to be swapped, so the output dt is positive. So the graph is okey now 🙂
Thanks again!