Function Read_AD_CalibrationGain
Description This function reads 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 float Read_AD_CalibrationGain(int slot, int mode);
float Function return
AD calibration gain
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 Gain value.
0 : analog input calibration Gain of mode 0 .
1 : analog input calibration Gain of mode 1.
Example
Function Gain = Read_AD_CalibrationGain(1,0)
Return Gain
Description The example reads analog input calibration Gain of mode 0 of the EEPROM of I-8073 in slot 1 of I-8000 system.
Modules I-8073

Reference
Initial8073
Initial8073_MMC
MMC_WRITE_BLOCK
MMC_READ_BLOCK
EE_WriteEnable_8073
EE_WriteProtect_8073
EE_MultiRead_8073
EE_MultiWrite_8073
EE_RandomRead_8073
EE_RandomWrite_8073
EE_ReadNext_8073
SetDO
GetDI
AnalogIn
GetAngIn
Read_AD_CalibraionGain
Read_AD_CalibraionOffset
Write_AD_CalibraionGain
Write_AD_CalibraionOffset



Back to Previous Page