ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to plot a graph from text file?

This is driving me nuts!

I would like to plot a list of numbers in a text file to a graph. Each munber is on a new line, like this -

345
356
378
379
345
etc.

I managed to import the file and split it with the 'Spreadsheet to array' function but can't get much further than that.

Help would be much appriciated.

Ben H
0 Kudos
Message 1 of 5
(2,919 Views)
If you've split the string the way I'm assuming, this should do the trick!

If not, let us know and we'll get it fixed.




Message Edited by Will.D on 10-20-2006 02:35 PM

0 Kudos
Message 2 of 5
(2,902 Views)

You just need to use the Read From Spreadsheet function and wire a 'True' to the transpose input. Wire the 1D array output to a graph.

Message Edited by Dennis Knutson on 10-20-2006 12:40 PM

Message 3 of 5
(2,900 Views)
Trumped by Dennis once more!

His was is much easier...
0 Kudos
Message 4 of 5
(2,891 Views)
Many thanks....it works now!
0 Kudos
Message 5 of 5
(2,884 Views)