LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graphing Output from a datafile

Hello,

       I have a VI that basically reads data from a text file and displays the output on the screen...i was just hoping if the same data can be displayed a s agraph ? If yes ho..

Currently using Labview 8.2.

Vi attched
0 Kudos
Message 1 of 3
(2,689 Views)
Hi!
   Sorry, I was unable to open your VI (I have LV 7.1...).

   Of course you can plot data.  If you're new to graphs in LabView, just see some basic examples (in Ni example finder) or take a look at LV User Manual, Graph section.

    Sorry, for I can't be more precise, because I'm unable to open your VI. Maybe you can post it for LabView 7.1 compatibility...

   Have a nice day!

graziano
0 Kudos
Message 2 of 3
(2,682 Views)
Hi Evo...,

yes, you can display data in a graph Smiley Very Happy

It would be nice to provide some sample data either in text file or as default values in a string control. I also don't quite understand what you do after reading the text file...

To convert csv-data you can use "spreadsheet string to array". There are also plenty functions to convert strings to numbers...
To display data place a chart/graph (xy-graph if you have xy-data) on your front panel and look at the context help (terminal in the block diagram) to see which connections you have to make! Look at the examples coming with labview!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 3
(2,676 Views)