LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Epsillon (electrochemistry) .DAT want to output plot of data

Solved!
Go to solution

I'm using Epsillon electrochemistry hardware.  The output is a .DAT file (which can be read as text in notepad).  I want to know if anyone can help me to have LabView read the desired .DAT, take the 2 columns of data and output a plot.  This would be extremely helpful.  I've searched for dat help in the forums, I don't need the file to be converted to excel then back out again since I have the two columns I need.  Any help would be greatly appreciated. 

 

 

Thank You

 

 

Since the file doesn't upload for the extension, I've uploaded it here.

http://www.qfpost.com/file/d?g=dagfbieV7

0 Kudos
Message 1 of 16
(2,399 Views)

If the file is indeed just ASCII (can be read in notepad) you can read it in with the normal Read Text File VIs.  The extension is just there to tell Windows what program to associate it with.  An text file is a text file whether the extension is *.txt, *.csv, *.dat, or *.lkjagfyglkfhhgy.

 

<EDIT> If you want to get numbers out in an array, you can use the Read Spreadsheet File function.  The same rules apply as above.

Chris
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 2 of 16
(2,395 Views)

I have the read spreadhsheet file function going on, I can see my values but i can't get it to the graph, I keep getting the source is 2-D sink is 1-D.  I have attached my file

0 Kudos
Message 3 of 16
(2,386 Views)

Try a waveform chart instead of an XY graph.

Chris
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 4 of 16
(2,379 Views)

Goodness, I really just can't get this going on.  I keep getting now that the sink is 4 elements for the waveform where the source is 2 elements. 

0 Kudos
Message 5 of 16
(2,373 Views)

So I've changed the output to a text file, its tab delimited but I'm still having trouble converting it to a graph x and y with column 1 and column 2 in the data.  can anyone help me out?

0 Kudos
Message 6 of 16
(2,355 Views)

First, go to Help and turn on Context Help. Move your mouse over the XY Graph. That will show you how to connect an X array and a Y array to it.