i8014W_CalibrateDataHex
This function is used to calibrate the raw data read in Magic Scan process.
Prototype
For MiniOS7
void i8014W_CalibrateDataHex
(
int slot, short iGain, short dataFromFIFO, short* calibratedAI
);
For Windows (CE and WES)
void pac_i8014W_ CalibrateDataHex
(
int slot, short iGain, short dataFromFIFO, short* 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 :
Return
None
I-8014W API User Manual, v1.0.1, June 2011
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
[Output]
the calibrated hexadecimal value.
79