User`s guide

56
PCIS-DASK Application Hints
5.4.2 Synchronous Continuous Digital output programming
Scheme
This section described the function flow typical of synchronous 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
synchronous DO operation, the SyncMode argument in continuous DO
functions for synchronous mode has to be set as SYNCH_OP.
DO_xxxx_Config
(xxxx means the card type,
e.g. DO_7200_Config)
DO_Cont WritePort
With SyncMode=SYNCH_OP
[Example Code Fragment]
card = Register_Card(PCI_7200, card_number);
DO_7200_Config(card, TRIG_INT_PACER, OREQ_DISABLE,
OTRIG_LOW);
DO_AsyncDblBufferMode (card, 0); //non-double-buffered mode
DO_ContWritePort(card, 0, DoBuf, count, 1, (F64)sample_rate,
SYNCH_OP);
Release_Card(card);