04-02-2009 06:48 AM
Hi,
I am trying to use DAQmxCreateAICurrentChan(...) to create a analog input channel. But "shuntResistorLoc" parameter in the API is not accepting DAQmx_Val_Internal value. It says use DAQmx_Val_External instead.
Any suggestions on why we cannot go with internal shunt resistance location? I am using PXI-6229.
Thanks,
Priya.
04-02-2009 11:13 AM
Hi Priya,
The PXI-6229 hardware doesn't have an internal shunt resistor for converting current into voltage, but some other devices do (such as the PXI-6236/6238/6239 and NI 9203/9219). To measure current with the PXI-6229, you need to connect your own shunt resistor, set the shunt resistor location to DAQmx_Val_External, and specify the correct resistance.
Brad