Function Write_AD_CalibrationOffset
Description This function write 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 void Write_AD_CalibrationOffset(int slot, int mode, float fOffset);
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.
fOffset Write fOffset variable to EEPROM.
Example
Function Write_AD_CalibrationOffset(1,0, fAD_Offset)
Return no return
Description The example write fAD_Offset 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_CalibraionGain
Modules I-8073



Back to Previous Page