101-0392 Rabbit Semiconductor, 101-0392 Datasheet - Page 92

no-image

101-0392

Manufacturer Part Number
101-0392
Description
CARD A/D 0-10V SR9300 SMARTSTAR
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0392

Accessory Type
Smart Star A/D Card
For Use With/related Products
SR9300
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
8.5.3 Smart Star A/D Converter Card Function Calls
PARAMETERS
RETURN VALUE
SEE ALSO
RETURN VALUE
SEE ALSO
RETURN VALUE
SEE ALSO
92
int anaInEERd(int channel);
int anaSaveCalib();
void anaLoadCalib();
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.
channel
where
or
where
0 if successful.
-1—control command unacceptable.
-2—EEPROM address unacceptable.
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.
None.
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.
None.
channel = (slotnumber * 128) + (channelnumber)
channel = ChanAddr(slotnumber, channelnumber)
anaInEEWr
anaLoadCalib, anaInCalib
anaSaveCalib, anaInCalib
slotnumber
slotnumber
is the analog input channel.
is 0–6, and
is 0–6, and
channelnumber
channelnumber
channel
should be passed as
is 0–10
is 0–10.
Smart Star A/D Converter Cards (SR9300)

Related parts for 101-0392