Z-World Wolf BL2600 User Manual page 64

C-programmable single-board computer with ethernet
Table of Contents

Advertisement

void anaOutPwr(int control);
Enables or disables the BL2600 power supply used to drive the D/A converter output voltage or current
circuits.
NOTE: Call this function only after you have configured all the D/A converter output channels to
the desired voltage or current. Unconfigured D/A converter channels, both voltage and 4–20 mA,
will be set to approx. 0 V or 4 mA respectively.
PARAMETER
control sets whether the power supply is on or off:
0 = off
1 = on
RETURN VALUE
None.
SEE ALSO
anaOutDisable, anaOut, anaOutVolts, anaOutmAmps
void anaOut(int ch, int rawdata);
Sets the voltage of a D/A converter output channel.
PARAMETERS
ch is the D/A converter output channel (0–3).
rawdata is a data value corresponding to the voltage desired on the output channel (0–4095).
RETURN VALUE
0 if sucessful.
-1 if rawcount is more than 4095.
SEE ALSO
anaOutDriver, anaOutVolts, anaOutCalib
void anaOutVolts(int ch, float voltage);
Sets the voltage of a D/A converter output channel by using the previously set calibration constants to
calculate the correct data values.
PARAMETERS
ch is the D/A converter output channel (0–3).
voltage is the voltage desired on the output channel.
RETURN VALUE
None.
SEE ALSO
brdInit, anaOut, anaOutStrobe, anaOutConfig, anaOutCalib
60
Wolf (BL2600)

Advertisement

Table of Contents
loading

Related Products for Z-World Wolf BL2600

Table of Contents