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.
Thank You
Since the file doesn't upload for the extension, I've uploaded it here.
http://www.qfpost.com/file/d?g=dagfbieV7
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.
04-10-2012 10:33 AM
This is what I see and I already reported seeing. I see the values are read in the front panel though.
04-10-2012 02:53 PM
Tried hooking this up to a graph, but was unsucessful. I have an index array to get both values out, and then go into a bundle, but now the only thing i think i need is the plot function but that wasn't working either.
04-10-2012 02:59 PM
What kind of plot function are you using and why?
You should be able to send that output directly to a waveform graph.