User`s guide

PCIS-DASK Application Hints ? 23
4.2 Analog Output Programming Hints
This section described the function flow typical of single-point analog output conversion. While
performing the following operation, the AO configuration function has to be called at the beginning of
your application:
a. Use PCI-6208A, PCI-6308A to perform current output
b. Use the analog output function that can convert a voltage value to a binary value and then write it to
device, the AO configuration function has to be called at the beginning of your application.
[Example Code Fragment]
card = Register_Card(PCI_6208A, card_number);
AO_6208A_Config(card, P6208_CURRENT_4_20MA);
AO_WriteChannel(card, chan, out_value);
Release_Card(card);
AO_6208A_Config /
AO_9112_Config
Output voltage?
Yes No
AO_VWriteChannel AO_WriteChannel
Another outputting?
Yes
No