08-24-2016 07:02 AM
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?
08-25-2016 06:31 AM
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.
08-25-2016 08:28 AM
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.
08-26-2016 06:45 AM
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.
08-26-2016 08:37 AM
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.
08-29-2016 08:03 AM
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!