User`s manual

54 Application Hints
PCIS-DASK
Analog Output Programming Hints
4.2 Analog Output Programming Hints
This section describes the function flow typical of single-point ana-
log output conversion. While performing the following operation,
the AO configuration function has to be called at the beginning of
your application:
1. Use PCI-6208A or PCI-6308A to perform current output
2. Use the analog output function that can convert a volt-
age value to a binary value, then write it to the device.
The AO configuration function has to be called at the
beginning of your application
Example code fragment
NO
AO_VWriteChannelAO_WriteChannel
Output voltage?
AO_6208A_Config or
AO_9112_Config
NO YES
YES
Another output?
card = Register_Card(PCI_6208A, card_number);
AO_6208A_Config(card, P6208_CURRENT_4_20MA);
AO_WriteChannel(card, chan, out_value);
Release_Card(card);