Function Write_AD_CalibrationGain
Description This function write 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 void Write_AD_CalibrationGain(int slot, int mode, float fGain);
void No function return
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 Write_AD_CalibrationGain(1,0, fAD_Gain)
Return no return
Description The example write fAD_Gain variable to 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
Read_AD_CalibraionOffset
Write_AD_CalibraionOffset
Modules I-8073



Back to Previous Page