Frequency generation, Using the frequency generator, Figure 8-25. frequency generator block diagram – National Instruments Data Acquisition Device NI USB-621x User Manual
Page 116: Figure 8-26. frequency generator output waveform, Frequency generation -23, Using the frequency generator -23

Chapter 8
Counters
© National Instruments Corporation
8-23
Frequency Generation
You can generate a frequency by using a counter in pulse train generation
mode or by using the frequency generator circuit.
Using the Frequency Generator
The frequency generator can output a square wave at many different
frequencies. The frequency generator is independent of the two
general-purpose 32-bit counter/timer modules on USB-621x devices.
Figure 8-25 shows a block diagram of the frequency generator.
Figure 8-25. Frequency Generator Block Diagram
The frequency generator generates the Frequency Output signal. The
Frequency Output signal is the Frequency Output Timebase divided by a
number you select from 1 to 16. The Frequency Output Timebase can be
either the 20 MHz Timebase divided by 2 or the 100 kHz Timebase.
The duty cycle of Frequency Output is 50% if the divider is either 1 or
an even number. For an odd divider, suppose the divider is set to D. In
this case, Frequency Output is low for (D + 1)/2 cycles and high for
(D – 1)/2 cycles of the Frequency Output Timebase.
Figure 8-26 shows the frequency generator output waveform when the
divider is set to 5.
Figure 8-26. Frequency Generator Output Waveform
100 kHz Timebase
20 MHz Timebase
Frequency
Output
Timebase
FREQ OUT
Divisor
(1–16)
Frequency Generator
÷
2
Frequency
Output
Timebase
FREQ OUT
(Divisor = 5)