02-12-2014 11:43 AM
Hey all,
I am trying to read the .txt file below into LabVIEW to then be plotted into either an XY graph or a Waveform Graph.
The first colum on the text file is "time" and the second colum is the "angles."
The .vi we have created thus far runs but does not plot. Any help is appreciated!
Solved! Go to Solution.
02-12-2014 12:01 PM
02-12-2014 12:20 PM - edited 02-12-2014 12:29 PM
Jim,
Thanks. That definitely made it plot. However, just by looking at the resulting graph I can tell something is still not quite right.. I'm esentially getting a straight line when it should not be.
If you look at the DATALOG file, you can see the highest angle achieved is around ~140. On the graph obtained after running that .vi, the max reading I see is around ~20. Additionally, the straight line is really sharp, as in, most readings seem to be getting plotted at 0.01-0.02 seconds and does not go any further... Any ideas as to what could be wrong? I really appreciate it!
Edit: Actually, it is only reading/plotting the very first row now that I've taken a close look at it. Would I need a While loop around all of it to make sure it iterates through all the data?
02-12-2014 01:54 PM
The data is stored in two columns. The VI you posted looks at the first row, twice. Connect the zero constant to the column input.
Lynn
02-13-2014 08:54 AM