Function |
Write_AD_CalibrationOffset |
Description |
This function writes analog input calibration Offset 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_CalibrationOffset(int slot, int
mode, float fOffset);
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. |
fOffset |
write fOffset variable to EEPROM. |
|
Example |
Function |
status = Write_AD_CalibrationOffset(1,0, fAD_Offset) |
Return |
status |
Description |
The example writes fAD_Offset 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 |
|
|