Function |
Write_AD_CalibrationGain |
Description |
This function writes analog input calibration Gain of EEPROM of I-8073
module in the specified slot of the I-8000 system.
This function is used for C/C++ compiler. |
Function Prototype |
int Write_AD_CalibrationGain(int slot, int mode,
float fGain);
int |
Function return 0 : no error 1,2 : write to EEPROM fail |
slot |
Specified slot of the I-8000 system
Range from 0 to 3 for 4 slot
Range from 0 to 7 for 8 slot
|
mode |
write mode 0 or mode 1 analog input calibration Offset value.
0 : analog input calibration Offset of mode 0 .
1 : analog input calibration Offset of mode 1. |
fGain |
write fGain variable to EEPROM. |
|
Example |
Function |
status = Write_AD_CalibrationGain(1,0, fAD_Gain) |
Return |
status |
Description |
The example writes fAD_Gain variable to mode 0 of the EEPROM of
I-8073 in slot 1 of I-8000 system.If success the status is 0. |
|
Modules |
I-8073 |
|
Reference |
|
|