User’s Manual
11
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
function, then saved to flash memory using the
anaSaveCalib
function.
Return Value
None.
See Also
anaSaveCalib, anaInCalib
Used to recalibrate the response of the A/D converter channel as a linear function using the two
conversion 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 corresponding to the first A/D converter value.
value2
is the second A/D converter value.
volt2
is the voltage corresponding to the first A/D converter value.
Return Value
0 if successful, -1, if not able to make calibration constants.
See Also
anaIn, anaInVolts
int anaLoadCalib();
void anaInCalib(int channel, int value1,
float volt1,int value2, float volt2);
Содержание SR9300
Страница 4: ...iv Smart Star A D Converter Cards SR9300 ...
Страница 20: ...16 Smart Star A D Converter Cards SR9300 ...
Страница 24: ...20 Smart Star A D Converter Cards SR9300 ...
Страница 28: ...24 Smart Star A D Converter Cards SR9300 ...
Страница 32: ...28 Smart Star A D Converter Cards SR9300 ...
Страница 34: ...30 Smart Star A D Converter Cards SR9300 ...
Страница 35: ...User s Manual 31 SCHEMATICS 090 0086 A D Converter Card SR9300 Schematic 090 0102 FWT18 Schematic ...
Страница 37: ...B NONE ...
Страница 39: ......