Function Read_AD_CalibrationOffset
Description This function read 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 float Read_AD_CalibrationOffset(int slot, int mode);
float Function return
0 : no error
10 : read error
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 read 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.
Example
Function Offset = Read_AD_CalibrationOffset(1,0)
Return Offset
Description The example read analog input calibration Offset of mode 0 of the EEPROM of I-8073 in slot 1 of I-8000 system , if read success will return Gain value.
Reference Initial8073
MMC_WRITE_BLOCK
MMC_READ_BLOCK
GetAngIn
GetDI
SetDO
EE_WriteEnable_8073
EE_WriteProtect_8073
EE_MultiRead_8073
EE_MultiWrite_8073
Read_AD_CalibraionGain
Write_AD_CalibraionGain
Write_AD_CalibraionOffset
Modules I-8073



Back to Previous Page