User`s guide
PCIS-DASK Application Hints
•
57
5.4.3 Asynchronous Continuous Digital output programming
Scheme
This section described the function flow typical of asynchronous digital output
operation. While performing continuous DO operation, the DO configuration
function has to be called at the beginning of your application. In addition, for
asynchronous DO operation, the SyncMode argument in continuous DO
functions for asynchronous mode has to be set as ASYNCH_OP.
DO_xxxx_Config
(xxxx means the card type,
e.g. DO_7200_Config)
DO_ContWritePort
DO_AsyncCheck
Operation complete?
Yes
No
With SyncMode=ASYNCH_OP
DO_AsyncClear
[Example Code Fragment]
card = Register_Card(PCI_7200, card_number);
…
DO_7200_Config(card, TRIG_INT_PACER, OREQ_DISABLE,
OTRIG_LOW);
DO_ContWritePort(card, 0, DoBuf, count, 1, (F64)sample_rate,
ASYNCH_OP);
do {