beautypg.com

Pulsed cyclic waveform generation, Pulsed cyclic waveform generation -30 – National Instruments AT-MIO-16X User Manual

Page 199

background image

Chapter 5

Programming

AT-MIO-16X User Manual

5-30

© National Instruments Corporation

One disadvantage of the programmed cycle waveform generation is that
it uses yet another counter to perform the cycle counting. For this mode,
the SRC3SEL bit in Command Register 4 must be set so that the
programmed counter can count the buffer retransmit signals from the
source line of Counter 3. Counter 1, 2, or 5 can be used to count buffer
cycles in this mode. If Counter 5 is being used for the update signal,
then only Counters 1 and 2 are available for cycle counting. Once the
cycle counter reaches the end of its count, DAC updating is halted
irrespective of the update signal.

Pulsed Cyclic Waveform Generation

An extension of the programmed cycle mode is the pulsed cyclic
waveform generation mode in which a programmed number of cycles is
generated between a programmed cycle interval. The instructions in the
blocks of the following flow chart are enumerated in the Waveform
Generation Programming Functions
section later in this chapter.