User`s manual
Application Hints 69
PCIS-DASK
Digital Output Programming Hints
Synchronous Continuous Digital Output
This section describes the function flow typical of synchronous
digital output operation. While performing continuous DO opera-
tion, the DO configuration function has to be called at the begin-
ning of the application. In addition, the SyncMode argument in
continuous DO functions for synchronous mode has to be set to
SYNCH_OP.
Example code fragment:
DO_XXXX_Config
(XXXX = card type)
DO_ContWritePort
With SyncMode = SYNCH_OP
card = Register_Card(PCI_7200, card_number);
…
DO_7200_Config(card, TRIG_INT_PACER, OREQ_DISABLE,
OTRIG_LOW);
DO_AsyncDblBufferMode (card, 0); //non-double-buffe
r
mode
DO_ContWritePort(card, 0, DoBuf, count, 1,
(F64)sample_rate, SYNCH_OP);
…
Release_Card(card);