LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulated hardware in NIMAX, getting an error I shouldn't be getting in basic code (attached)

Hi all,

 

I'm using NIMAX with the following simulated hardware:

cDaq2.PNG

 

I'm trying to run a very very basic code that still captures the problem (attached), but i get the following error when I press the "stop" button on the front panel.

 

This doesn't seem to make any sense, as each 9205 module should be able to handle 16 differential measurements for a total of 32 differential measurement. I even tried switching the simulated module positions around, wondering if it was a limitation with the cDaq9174. Nope, still present. Also, it seems that only the "voltage2" is afffected. It does not throw an error if I set the ai range from 0 to 7. It starts happening when i set the ai range from 0 to 8.

 

I do not yet have the hardware on hand to test this out without simulated hardware, but I would very much like to get to the bottom of this.

 

Thanks in advance!

 

 

Error.PNG

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

Update: Still no go, but it seems to resolve itself when I set it as "RSE" or "NSRE." Unfortunately, I need differential inputs, but it's interesting that it resolves itself when I change that setting. Does this spark any ideas in anyone?

 

Any/all help would be greatly appreciated!

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

ARGH Bloody hell. It took me a while, but I found the answer.... So stupid!

 

I'm writing down what happened just in case anyone else was as stupid as I was. Unlikely, but who knows?

 

The Differential channels are not paired continuously and cannot be called as such. In other words, you cannot simply call ai0:15. It is actually split into ai0:7, and ai16:23.

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