int anaInCalib(int channel, int value1,
float volt1, int value2, float volt2);
Used to recalibrate the response of the A/D converter channel as a linear function using the two conver-
sion points provided. Gain and offset constants are calculated and placed into the global table
_adcCalib .
PARAMETERS
channel is the A/D converter input channel (0–10). channel should be passed as
channel = (slotnumber * 128) + (channelnumber)
where slotnumber is 0–6, and channelnumber is 0–10
or
channel = ChanAddr(slotnumber, channelnumber)
where slotnumber is 0–6, and channelnumber is 0–10.
value1 is the first A/D converter value.
volt1 is the voltage/current corresponding to the first A/D converter value. Current values entered as
milliamps will produce milliamp values, and amp values entered will produce amp values.
value2 is the second A/D converter value.
volt2 is the voltage/current corresponding to the second A/D converter value. Current values entered
as milliamps will produce milliamp values, and amp values entered will produce amp values.
RETURN VALUE
0 if successful,
-1, if not able to make calibration constants.
SEE ALSO
anaIn, anaInVolts
int anaInEEWr(int channel);
Writes the calibration constants, gain, and offset to the upper half of the EEPROM on the A/D Converter
Card.
PARAMETERS
channel is the analog input channel. channel should be passed as
channel = (slotnumber * 128) + (channelnumber)
where slotnumber is 0–6, and channelnumber is 0–10
or
channel = ChanAddr(slotnumber, channelnumber)
where slotnumber is 0–6, and channelnumber is 0–10.
RETURN VALUE
0 if successful.
-1—control command unacceptable.
-2—EEPROM address unacceptable.
-3—data value unacceptable.
SEE ALSO
anaInEERd, _anaInEEWr
User ’s Manual
93
相关PDF资料
101-0545 PROTOTYPING BOARD FOR LP3500
101-0563 RCM3400 PROTO BOARD
101-0589 CLONING BOARD RABBIT
101-0688 CARD D/A EXPANSION RN1300
101-0954 KIT DEV RABBIT RCM3360/3370 INTL
101-1050-BE-00025 ADPT USB 2 A FEMALE-2 5PIN .25M
10112627-101LF MINI-SAS HD 1X2 EXT PCB
10112628-101LF MINI-SAS HD 1X4 EXT PCB
相关代理商/技术参数
101-0507 功能描述:模块化系统 - SOM RCM3000 RABBITCORE RoHS:否 制造商:Digi International 外观尺寸:ConnectCore 9P 处理器类型:ARM926EJ-S 频率:150 MHz 存储容量:8 MB, 16 MB 存储类型:NOR Flash, SDRAM 接口类型:I2C, SPI, UART 工作电源电压:3.3 V 最大工作温度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
101-0508 功能描述:模块化系统 - SOM RCM3010 RABBITCORE RoHS:否 制造商:Digi International 外观尺寸:ConnectCore 9P 处理器类型:ARM926EJ-S 频率:150 MHz 存储容量:8 MB, 16 MB 存储类型:NOR Flash, SDRAM 接口类型:I2C, SPI, UART 工作电源电压:3.3 V 最大工作温度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
101050-9 制造商:RUKO 功能描述:Bulk 制造商:RUKO 功能描述:STEP DRILL 4-12MMX1MM 制造商:RUKO 功能描述:STEP DRILL, 4-12MMX1MM 制造商:RUKO 功能描述:STEP DRILL, 4-12MMX1MM; Drill Bit Size Metric:4mm; Overall Length:65mm; SVHC:No SVHC (19-Dec-2012); Drill Bit Type:Step; Drill Point Diameter:4mm; Material:HSS; Range:4mm - 12mm; Shank Dia:6mm; Step:1mm ;RoHS Compliant: NA
101050BO 制造商:TE Connectivity 功能描述:
101051 制造商:RUKO 功能描述:STEP DRILL 4-20MMX2MM 制造商:RUKO 功能描述:STEP DRILL, 4-20MMX2MM 制造商:RUKO 功能描述:STEP DRILL, 4-20MMX2MM; Drill Bit Size Metric:4mm; Overall Length:75mm; SVHC:No SVHC (19-Dec-2012); Drill Bit Type:Step; Drill Point Diameter:4mm; Material:HSS; Range:4mm - 20mm; Shank Dia:8mm; Step:2mm ;RoHS Compliant: NA
10-105108-03G 制造商:Amphenol Aerospace 功能描述:10-105108-03G
10-105108-03P 制造商:Amphenol Aerospace 功能描述:10-105108-03P
10-105108-04P 制造商:Amphenol Aerospace 功能描述:10-105108-04P