Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 9220 wide channel range causes error

My current setup I'm using cDAQ-9178 with NI 9220. I've noticed that when I'm configuring NI 9220 for reads across multiple channels, if the channels are spread far enough apart I receive an error. 

 

Example: Read AI0,AI1,AI2 will work no problem and run as expected. However if I change the task to Read AI0,AI1,AI13 I receive the following error:

<B>Property: </B>RelativeTo
<B>Corresponding Value: </B>Current Read Position
<B>Property: </B>Offset
<B>Corresponding Value: </B>0

<B>Task Name: </B>test

 

This will only happen when I select channel 13 or above while also reading channels 0 and 1. There is no issue if I try to read AI 0,1,12. I've repeated this issue on multiple different machines and different cDAQ hardware as well. Attached is a snippet of code which would receive an error.

0 Kudos
Message 1 of 3
(2,379 Views)

Hi Dan_OD,

 

The behaviour that you're seeing is related to a known hardware bug.

 

When there are 2 active channels on the NI 9220, then a string of 11 inactive channels, followed by another active channel, the module throws this error.

 

This was documented on our website here when using the info code "9220scanlist". Unfortunately, this link is currently broken. I've reported this to our site maintenance team so that we can get it back up and running as soon as possible.

 

For now, we can confirm that this issue is limited to 23 channel combinations that match the description above.

 

Thanks for bringing this to our attention!

 

Ellin A.

NI Technical Support Engineer.

0 Kudos
Message 2 of 3
(2,175 Views)

Hi Dan_OD,

 

I've since found that the information that we're looking for has been redirected to one of our KnowledgeBase articles. You can find it here.

 

It lists all of the different configurations that will result in this error.

 

Ellin A.

NI Technical Support Engineer.

0 Kudos
Message 3 of 3
(2,163 Views)