12-21-2006 07:51 AM
12-21-2006 10:10 AM
| Data Type: | float64* |
| Description: | Indicates the coefficients of a polynomial equation that NI-DAQmx uses to scale values from the native format of the device to volts. Each element of the array corresponds to a term of the equation. For example, if index two of the array is 4, the third term of the equation is 4x^2. Scaling coefficients do not account for any custom scales or sensors contained by the channel. |
| Restrictions: | Not Settable |
You can get this property using:
DAQmxGetAIDevScalingCoeff
int32 __CFUNC DAQmxGetAIDevScalingCoeff(TaskHandle taskHandle, const char channel[], float64 *data, uInt32 arraySizeInSamples);
DAQmxGetAIDevScalingCoeff gets the Analog Input >> General Properties >> Advanced >> Device Scaling Coefficients >> Device Scaling Coef... property.
This should allow you to correctly scale your binary data.
Hope this helps,
Dan
12-22-2006 07:36 AM
Thanks a lot
Fv1234
04-18-2008 05:01 AM
04-18-2008 08:54 AM
04-21-2008 07:13 AM