Using the following:
LabVIEW 7.1 FDS
PXI-6052E (multifunction DAQ), in a PXI-1042 chassis
NI-MAX 3.1
I am currently having some problems with my DAQ application.
I have ten different inputs into my 6052 DAQ card. Five of them are differential signals, and five of them are Referenced Single Ended (RSE). I have used NI-MAX 3.1 to create 2 NI-DAQmx tasks. One task for the differential inputs, and the other for the RSE inputs.They are connected as thus:
Task: Analog Input AC
ai0 & ai8 - Differential Input 1
ai1 & ai9 - Differential Input 1
ai2 & ai10 - Differential Input 1
ai3 & ai11 - Differential Input 1
ai4 & ai12 - Differential Input 1
Note: N sample task
Task: Analog Input DC
ai5
- RSE Input 1
ai6 - RSE Input 1
ai7 - RSE Input 1
ai13 - RSE Input 1
ai14 - RSE Input 1
Note: Single sample task (On demand)
1) Firstly, is the DAQ card able to handle both Diff and RSE at the same time?
2) When I run the tasks in NI-MAX, they appear to work fine. However when I call the tasks in LabVIEW 7.1, the RSE task does not return the same values. So I am not sure as to whether I have called the tasks in the correct manner, or if it is even possible to do this. I get a 0 for the ai5, ai6, and ai7 inputs, and fine values for ai13 and ai14, which leads me to think that the DAQ card thinks it is in differential mode, and is therefore giving me dud data on ai5,6,7. I have attached the VI in question.
Can anyone shed some light on what I might be doing wrong? This is my first go at a DAQ application.
Best Regards
Chris Farmer
Electronic Systems Engineer
CPE Systems (NI Alliance Member)
Christopher Farmer
Certified LabVIEW Architect and LabVIEW Champion
DQMH Trusted Advisor
https://wiredinsoftware.com.au