From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Check when AO current is not in compliance

I have an NI-9265, which is an AO current device with a compliance voltage of 12V. Is there a way (apart from measuring the output voltage/current with a separate channel) to interrogate the device to determine if the output is below the compliance voltage?

0 Kudos
Message 1 of 6
(3,610 Views)

Hello ebutler,

 

 

If you are using DAQmx, you can specify maximum voltage to 12V in the initial DAQmx Create Virtual Channel VI. If output voltage exceeds this, you will receive an error.

 

Or are you using cRIO?

 

Your suggested approach of measuring will also work of course.

 

0 Kudos
Message 2 of 6
(3,576 Views)

I am using DAQmx.

 

Thanks for your answer, but, there isn't a terminal on Create Virtual Channel for the maximum/minimum output voltage, only for the output current.

 

 

0 Kudos
Message 3 of 6
(3,564 Views)

Sorry, my bad. I was looking at AO Voltage, not current.

 

Unfortunately, I can not find a way for you to internally check the voltage output of the 9265.

 

However, the maximum current output of the module is 20mA, so could you please explain why the compliance voltage matters?

 

If you set maximum current output to 20mA, you will receive an error that you can handle if you try to source more current.

 

Otherwise, you will probably need to compare actual current to set current, and manually find any difference.

0 Kudos
Message 4 of 6
(3,542 Views)

I'm driving a load that can vary, sometimes to the extent that driving 20mA of current would require more than 12V. It would be useful to know when this is the case.

It seems that there is no other solution but to measure with a separate AI channel, then.

0 Kudos
Message 5 of 6
(3,538 Views)

If I understand your application correctly, then yes unfortunately you will need to measure separately.

 

Keep in mind that the module is specified to 20mA, 12VDC, 600Ohm maximum limits.

 

I would try to see if I can figure out the load somehow. Or limit it to 600Ohm. Do not know which options you have related to this.

 

Anyway, good luck!

 

 

0 Kudos
Message 6 of 6
(3,510 Views)