8.5.3 Smart Star A/D Converter Card Function Calls
int anaInEERd(int channel);
The A/D Converter Card calibration constants, gain, and offset are stored in the factory in the upper half
of the EEPROM on the A/D Converter Card. Use this function to read the A/D Converter Card calibra-
tion constants, gain, and offset from 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.
SEE ALSO
anaInEEWr
int anaSaveCalib();
The calibration constants may also be saved in the flash memory on the Smart Star CPU Card. Doing so
will speed up A/D conversions since a memory access from flash memory will be faster than from
EEPROM. Use anaSaveCalib to save the current set of calibration constants for the analog input and
output channels in the Smart Star flash memory. The calibration constants stored in flash memory can
then be accessed at any time with the anaLoadCalib function.
If the factory-set calibration are not used, customer-measured calibration constants should first be estab-
lished using the anaInCalib function.
RETURN VALUE
None.
SEE ALSO
anaLoadCalib, anaInCalib
void anaLoadCalib();
Reads a complete set of calibration constants for the analog input and output channels from the Smart
Star flash memory on the CPU Card. These should be set using the anaInCalib or anaInEERd func-
tion, then saved to flash memory using the anaSaveCalib function.
RETURN VALUE
None.
SEE ALSO
anaSaveCalib, anaInCalib
92
Smart Star A/D Converter Cards (SR9300)
相关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