Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I enter the device numbers/channels in my vi?

(also posted this in PXI forum)

I have a PXI 1010 chassis with a 6040E in the #8 slot controlling an SCXI-1100 in the first slot of the SCXI section. This system ran flawlessly for 3 years. I recently upgraded the controller module to a 8176 running Windows 2000. All of the components show up in MAX, I can verify them, and I can run the test panels for the 6040E and look at the SCXI channels using the SXCI channel string sc1!md1!0, etc. In MAX, the 6040E is listed as device 9.

However, when I run my vi program, the same one I've been using for years, I am getting the error -10401. This error is occuring in AIConfig. I've narrowed the problem down to either the channel string or the device number. If I change
the device number in the VI to 9, like it is stated in MAX, I get error -10403. Any other device number gives error-10401. I am also using the traditional SCXI channel string sc1!md1!X:Y in the VI, same as I always have.

Can anyone provide some insight on what my device number and channel string should be for the VI, or a troubleshooting strategy? I am stumped.

-Sue K.
0 Kudos
Message 1 of 2
(3,301 Views)
I do not know if the following suggestion will work. I can only try to help you troubleshoot this "unknown" device error. I had a similar (not identical) problem with AI config after I swapped out a DAQ card in the 1010 chassis - though MAX indicated (and verified) the new device, I could not run the new Device ID.
So here goes my best guess...

1) Get into MAX, choose the 6040E, and change the Device ID to some other number. Select apply.
2) Exit MAX
3) Now try the VI with the new Device ID.

For some reason, when I changed the Device ID to some other number, everything seemed to work fine. I can not explain why. Perhaps changes to MAX are only applied after MAX is closed and LabVIEW is launched. I try not to have labVIEW and MAX operating at the same time.
0 Kudos
Message 2 of 2
(3,301 Views)