50
Wildcat (BL2000)
4.4.6 D/A Converter Outputs
The functions in this section apply only to the BL2000 and the BL2020 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 or 1).
value1
is the first D/A converter value.
volts1
is the voltage corresponding to the first D/A converter value.
value2
is the second D/A converter value.
volts2
is the voltage corresponding to the second D/A converter value.
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);
Summary of Contents for BL2020
Page 38: ...34 Wildcat BL2000...
Page 84: ...80 Wildcat BL2000...
Page 88: ...84 Wildcat BL2000...
Page 92: ...88 Wildcat BL2000...
Page 94: ......