I-8014W API User Manual, v1.0.1, June 2011
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
77
i8014W_CalibrateData
This function is used to calibrate the raw data read in Magic Scan process and
convert to floating point value.
Prototype
For MiniOS7
void i8014W_CalibrateData
(
int slot, short iGain, short dataFromFIFO, float* calibratedAI
);
For Windows (CE and WES)
void pac_i8014W_CalibrateData
(
int slot, short iGain, short dataFromFIFO, float* calibratedAI
);
Parameter
Slot: 0 ~ 7
iGain: 0 ~ 4, sets the input type:
0:
+/-10 V,
1:
+/-5 V,
2:
+/-2.5 V,
3:
+/-1.25 V,
4:
+/-20 mA
dataFromFIFO: the raw data read from FIFO
* calibratedAI :
[Output]
the floating point value.
Return
None