07-03-2012 03:56 PM
Hi,
How to acquire and save the voltage values from DAQmx?
I tried several example code, but they can only get the graph. I don't want graph. I want to measure the exact values of analog voltage and save those values -- like an excel chart, which contains the selected channels and the voltage values.
Which example code can I use?
My hardware is NI PCI 6251.
Thanks a lot.
Solved! Go to Solution.
07-03-2012 04:40 PM
07-04-2012 11:40 PM
Yes. I want to a table to display the data instead of graph and save the data. Is there any example code for that?
07-04-2012 11:42 PM
07-04-2012 11:43 PM
Yes. I mean I want to use a table to display the data on the screen (I found some examples which can acquire data in graph, but I want a table) and save the data. Is there any example code? Thanks a lot.
@Dennis_Knutson wrote:
You say you want a chart. Do you really mean you want a table? There are several examples of saving data in the DAQmx examples. Simplest perhaps is to use the Write to Measurement File function.
07-04-2012 11:47 PM
But the examples I found, which can acquire data, is in a graph not in a table. I need to do some further calibration about the data. I need exactly values so that I can convert voltages from DAQmx card into water content. So I want the data collected in a table like excel.
07-05-2012 12:13 AM
07-05-2012 01:11 AM
Hi
Refer this attached vi and modify as per your requirement.
Regards,
Bijay
07-05-2012 10:59 AM
Thank you so much!
But my Labview version is 8.5.1. Your version is newer than me, so I can't open the file. How can I convert it into my version. Sorry I am new to Labview.
Thanks a lot.
Bijay wrote:
Hi
Refer this attached vi and modify as per your requirement.
Regards,
Bijay
07-05-2012 11:31 PM
Hi,
Try this vi.
Regards,
Bijay