11-08-2013 01:47 PM
I'm working on a VI that will read from a NI 9219 in a cDAQ-9171 chassis to read a 4-20 mA transducer. To be consistent with what the end user will want, I'm using DAQmx custom scales (which I haven't used much) to do the scaling from current to pressure. I have the device simulated in MAX, but the scaled outputs are making no sense. I've tried several scales at this point:
y = 1 * x + 0, a sine wave with amplitude of +/- 0.025, as expected
y = 2 * x + 0, a sine wave with amplitude of +/- 0.050, as expected
y = 12500 * x - 50, a flat line at 262.5 (this is my desired scale)
y = 12500 * x + 0, a sine wave with amplitude of +/- 0.200, which makes no sense
y = 1 * x - 1, Error -200077, Requested value is not a supported value for this property
I've only recently upgraded to 2013, so I don't know if that has something to do with this or not. Anyone have any suggestions?
11-08-2013 02:14 PM
This looks to be a problem with your channel setup. When you state the Max and Min range for the channel, it needs to be the values AFTER the scale is applied. Try changing those to fit your desired scale.
11-11-2013 08:35 AM
That was it, thanks!