04-04-2012 10:12 AM
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.
Since the file doesn't upload for the extension, I've uploaded it here.
Solved! Go to Solution.
04-04-2012 09:05 PM - edited 04-04-2012 09:05 PM
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.
04-05-2012 04:00 PM
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
04-05-2012 04:54 PM
Try a waveform chart instead of an XY graph.
04-05-2012 05:14 PM
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.
04-10-2012 10:03 AM
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?
04-10-2012 10:18 AM
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.