LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

offline plotting

Hey
i want to plot a already logged text file data to waveform chart.
Is there any way that  this can be done by selecting the file and running the vi to plot data.Is there any specific function??
0 Kudos
Message 1 of 3
(2,706 Views)

That depends the format in which you have written data to the file

1. If you have written data as a numeric spreadsheet file, just use the 'read spreadsheet file' found in File I/O functions and plot the read numeric data directly on a chart

2. If your file is saved in a custiomized format ( with a file header, channel names etc), you will have to read the text file>> from the text string, extract the numeric data section, convert it to a string array using a 'Spreadsheet string to array' found in Strings functions>> then use a suitable 'String to Number' conversion function, and then plot the numeric data on to your Chart

 

Take a look at these examples shipped with LabVIEW:  'Write to Text file.vi' and 'Read from text file.vi'

To find, go to:  LabVIEW>> FindExamples>>Fundamentals>>File input output Folder



Message Edited by devchander on 01-14-2008 01:36 AM

Message Edited by devchander on 01-14-2008 01:37 AM
0 Kudos
Message 2 of 3
(2,701 Views)
thanks 4 the comprehensive answer
0 Kudos
Message 3 of 3
(2,662 Views)