LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does my vi assign the same serial number to all channels. I think is creating an NaN in my output data

For reasons I can't figure out, my vi assigns the same serial number to all my DAQ devices. Even the ones that are not selected. As a result of this I am getting NaN displays in my data output (I think). I have posted a picture of the issue and a copy of my program. Hopefully someone can help.

 

Thanks, Rud

Download All
0 Kudos
Message 1 of 8
(2,969 Views)

In my system with three different devices, I get three different serial numbers. What version of DAQmx are you using? What DAQ cards?

0 Kudos
Message 2 of 8
(2,937 Views)

I just upgraded to DAQmx 9.2.2 and my DAQ cards are USB 6210.

0 Kudos
Message 3 of 8
(2,915 Views)

Can you try acquiring data in MAX? Also, try to reset your DAQmx configuration if the problem persists.

National Instruments
Applications Engineer
0 Kudos
Message 4 of 8
(2,887 Views)

The USB DAQ runs appropriately in MAX. I reset the DAQmx configurations and the problem still persists. I really think it has something to do with the fact that the same device serial number is being applied to multiple channels (even the ones that are not being used), but I can't seem to understand why that happens. I can't  see the flaw in the way that I assign the serial number to the device that causes this issue. I have attached a new pic shows evidence the same serial number being applied to multiple channels and also the NaN readings that seem to come in go in my current readings from the DAQ. I also have a copy of my code pasted above. Hopefully someone can help.

0 Kudos
Message 5 of 8
(2,880 Views)

How many of these DAQ cards are you using and can you confirm the serial numbers in MAX and in the back of the hardware? 

National Instruments
Applications Engineer
0 Kudos
Message 6 of 8
(2,873 Views)

right know I'm running 1 DAQ card to trouble shoot, but I run as much as three when I test. The Serial number from MAX is )x1544AAE and the serial number in the back of the device is 1544AAE.

0 Kudos
Message 7 of 8
(2,866 Views)

In your picture, you have an array of I/O devices in the cluster.  The 2nd element (with the label Current" is set for Dev5.  But the 1st and 3rd elements are blank.

 

Why is that?  What serial number do you expect to get if you don't wire a valid I/O device into the DAQmx property node?  You are probably just getting the last valid serial number which is why all show up the same.

 

 

0 Kudos
Message 8 of 8
(2,850 Views)