![background image](http://html1.mh-extra.com/html/rabbit/bl2100/bl2100_user-manual_775873056.webp)
50
Smartcat (BL2100)
4.4.5 D/A Converter Outputs
The functions in this section apply only to the BL2100 and the BL2120 models.
Calibrates the response of the D/A converter channel desired as a linear function using the two conver-
sion points provided. Gain and offset constants are calculated and placed into global table
_dacCalib
.
PARAMETERS
channel
is the D/A converter output channel (0–3).
value1
is the first D/A converter value (0–4095).
volts1
is the voltage corresponding to the first D/A converter value (0 V to +10 V).
value2
is the second D/A converter value (0–4095).
volts2
is the voltage corresponding to the second D/A converter value (0 V to +10 V).
RETURN VALUE
0 if sucessful.
-1 if not able to make calibration constants.
SEE ALSO
anaOut, anaOutVolts, brdInit
int anaOutCalib(int channel, int value1,
float volts1, int value2, float volts2);
Содержание BL2100
Страница 6: ...Smartcat BL2100...
Страница 14: ...8 Smartcat BL2100...
Страница 60: ...54 Smartcat BL2100...
Страница 78: ...72 Smartcat BL2100...
Страница 84: ...78 Smartcat BL2100...
Страница 118: ...112 Smartcat BL2100...
Страница 124: ...118 Smartcat BL2100...
Страница 132: ...126 Smartcat BL2100...
Страница 134: ......