LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading a text file and plot it

Solved!
Go to solution

Hi Friends,

I have a file, the screen shot is being attached with this mail, what I need is, I want to read this file and plot it in a graph

(In the file in between both values there is a tap specifier)

 

Could you please provide a sample labview program for that?

 

 

Thank you,

 

 

Best Regards,

Rathan

0 Kudos
Message 1 of 11
(3,473 Views)

You can read the file using "read from spreadsheet file", select "transpose=true".

 

It is not clear how you want to graph the data.

 

Do you want to graph both columns vs. line number? ---> use a waveform graph.

 

Is one column X and the other Y? ---> Use an xy graph.

 

Please attach an actual datafile instead of a picture.

0 Kudos
Message 2 of 11
(3,464 Views)
See labVIEW examples
Message 3 of 11
(3,456 Views)

Dear altenbach

 

I need that as a XY graph, First coloumn in Y Axis and second coloumn in X axis. Sample file is being attached with this mail

 

 

Thank you,

 

Regards,

Rathan

0 Kudos
Message 4 of 11
(3,451 Views)
gfc.PNG
Message 5 of 11
(3,448 Views)

Your delimiter is "two consecutive tabs". Here's a quick way to graph the file.

 

Message Edited by altenbach on 07-31-2009 01:03 AM
Download All
Message 6 of 11
(3,442 Views)

Thanks, but it is not displaying the X axis values,

 

3.456479        62
3.496479        63
3.548417        64
3.600560        65
3.654539        66
3.710559        67
3.779641        68
3.847804        69
3.926171        70
4.003211        71
4.075558        72
4.150557        73
4.222394        74
4.296883        75

 

Such as this 62,63,64 and so on.Why is that?. I want these values should be displayed , How to display these values? or else do we need to use some other graph format for this?

 

 

Thanks,

 

 

Regards,

Rathan

0 Kudos
Message 7 of 11
(3,436 Views)

 


Your delimiter is "two consecutive tabs". Here's a quick way to graph the file.

 

 

Yup you are right. 

 

 

 

As always........ :smileywink:

Message 8 of 11
(3,431 Views)
Solution
Accepted by topic author Pahee

Thanks altenbach.

 

Problem Solved. Thanks Again

 

 

 

 

Regards,

Rathan

 

0 Kudos
Message 9 of 11
(3,424 Views)


Thanks altenbach.

 

Problem Solved. Thanks Again


Instead of providing those hyperlinks to altenbach's profile, You couldve marked his solution has the accepted solution. Isnt it?

Message 10 of 11
(3,400 Views)