Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI v5.0.1 and PCI-6031E

I’m developing a program in Labwindows/CVI v5.0.1 and NiDaq 7.4.0 with the following hardware. Two PCI-6031E, one PCI-6503 and one PCI-6704 boards.  I get a DAQ error (-10007) when I try to access any analog input channel over 7 on the PCI-6031E boards.  Channels 0-7 seem to be working.   The digital io and analog out board seem to be working as well.

0 Kudos
Message 1 of 5
(3,050 Views)
Hello JConrad,
Thank you for contacting National Instruments.  In most cases the reason why you are getting this error is because the specified channel is unavailable.  If you are entering a number that is inside the allowed range of your hardware and are still receiving the error then the problem is the configuration you have set in your system.  This is responsible for the unavailability of this channel.  If you are connected differential then 7 is going to be the highest channel you can select due to the specifications of the 6031E.  However, if you are connected single ended then you should be able to select the channels above 7.  Here are some suggestions on how to fix this problem if you are using a single ended connection.

1. Make sure the property is set to single-ended mode instead of differential mode.

2. If the problem still exist, refer to this knowledge base that talks about using a different function call in your CVI program
    http://digital.ni.com/public.nsf/websearch/80CBDC559CAB611286256997007A6A7E?OpenDocument

If you continue to have problems please let us know.

Thanks,
Jason W
Application Engineer
National Instruments
0 Kudos
Message 2 of 5
(3,028 Views)
Jason,

Thanks for the reply. I have one more question. You stated that in differential mode the highest channel is 7 for the PCI-6031E.  The specs I found for the PCI-6031E call out 64 single-ended or 32 differential channels. Is the limit of 8 differential channels because I'm using NIdaq 7.4.0?

( I can't use the latest NIdaq version because my cvi version if v5.0.1.)

Thanks
0 Kudos
Message 3 of 5
(3,017 Views)

When you use differential mode, channel 0 is paired with channel 8, channel 1 with 7, etc. The next available channel you could use would be 16 which is paired with 24, etc, 17 which is paired with 25, etc. You have 32 differential pairs whether you use traditional DAQ or DAQmx.

0 Kudos
Message 4 of 5
(3,014 Views)
Dennis,

I get it! For differential mode the "8th" channel is assigned to analog input 16. Thanks for your help.

John
0 Kudos
Message 5 of 5
(2,991 Views)