‎06-14-2005 07:23 PM
‎06-15-2005 03:28 PM
‎06-15-2005 03:52 PM
‎06-16-2005 04:58 PM
‎12-28-2006 04:42 PM
Certain linear scaling values on analog input in NI-DAQmx result in static (unchanging) data.
I'm using LabVIEW 8.2 with the latest version of DAQmx. The hardware is a PCIe-6251 multifunctional DAQ board with SCC-68 connector block.
I'm connecting four 0-5 V signals to the board and reading continuously at 1 Hz from each of the 4 analog input channels.
I want to apply 3 different sets of linear scaling factors to the analog input data (in the DAQmx linear scale function) to obtain relevant values (I'm reading off 2 4-20 mA current loop signaling transducers for k-type thermocouples (Omega STCTX-K1) and 2 4-20 mA current loop signaling transducers for RTDs (Omega SPRTX-M1) with analog input for each sensor hooked into the top of a 250 Ohm resistor in the current loop). I believe this information may be irrelevant, because the error seems to be in the software.
For example, I'm reading good data when I apply linear scaling factors
m = 77.39 (slope)
b = -175.73 (Y int)
to any of the channels (and even getting relevant values when I apply these scaling factors to the RTD output).
However, when I apply
m = 35.13
b = - 52.75
There is a single reading that holds throughout the data acquisition, even though the voltage at the analog input is changing (I confirmed this with a digital multimeter).
I tried some different values. For example
m = 35.13
b = -175.73
works, but
m = 77.39
b = -175.73
doesn't. There seems to be an error when the y intercept (b) is not negative enough. Doesn't this sound like a software error? I don't think that changing the linear scaling is changing anything in the hardware, or is it? If so, can you recommend a way to split the dynamic data (containing analog input values from four channels) in the LabVIEW VI so that I can scale each stream of values independantly and rejoin the values to display in a single waveform chart?
Thanks, Ben
‎12-29-2006 02:26 PM