07-06-2012 11:51 AM - edited 07-06-2012 11:52 AM
Hello,
When I use the VI "Cont Acq&Graph Voltage - Write Data to File (TDMS).vi" to show the voltage from NI PCI6251, the voltage is around -5V. However, the voltage I measured by voltmeter from the chanels on PCI 6251 is around 0.3. Also, when I use other VI to show the voltage, it is around -5V too. I don't know what is the problem. Thanks a lot.
Solved! Go to Solution.
07-06-2012 12:12 PM
There can be a number of things at play here, including scaling, how the DAQ device is connected, what the "signal" looks like. Do you have the Measurement and Automation Explorer (MAX) installed. If you are using National Instruments DAQ hardware that is almost a certainty. If so, click on it and look for your device. There will be screens that allow you to run the device to make measurements without a LabVIEW program. Running this can reveal a lot of interesting "stuff" like whether the connection method is allowing a large amount of "noise", which the meter, with a slow response wouldn't display. Is the signal supposed to be a DC level? Give MAX a try and report back the results. A screen capture of the MAX, saved as a ".png" file might be helpful too.
07-06-2012 12:16 PM
07-06-2012 01:35 PM - edited 07-06-2012 01:39 PM
I ran PCI6251 in MAX. When input configration is RSE, the voltage showed is around 0.3 v similar with the voltmeter. But when input configration is Differential, it is -10v, this is neither labview value nor voltmeter value.
When I use labview VI, the voltage is around -5v.
What can I do now? Can I change the input configration in Labview?
Thanks a lot.
07-06-2012 01:55 PM
Of course you can change the configuration. Don't you have Context Help turned on? Have you even looked at the inputs for the DAQmx Create Channel function.
07-06-2012 01:56 PM
07-06-2012 02:07 PM
Sorry. This is the RSE. I not good at programing. Could you tell where should I change in program? Or if there is an example? Thanks.
07-06-2012 02:16 PM
Hi Jshen,
configure a DAQ assistent with the same settings as those in MAX. It should give the same outputs.
When the DAQ assistent runs fine you can open it's front panel to convert it in a "standard" VI. Then you can look at the block diagram to see the internals...
07-06-2012 02:28 PM
I changed the input channel configration into RSE. But it said two terminals are not match. Where else can I change?
07-06-2012 02:32 PM - edited 07-06-2012 02:34 PM