Frequency Generation; Using The Frequency Generator - National Instruments PXI-6238 User Manual

Isolated current input/current output devices
Table of Contents

Advertisement

Chapter 7
Counters

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 M Series devices.
Figure 7-26 shows a block diagram of the frequency generator.
÷
20 MHz Timebase
100 kHz Timebase
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 7-27 shows the output waveform of the frequency generator when
the divider is set to 5.
Frequency
Output
Timebase
Freq Out
(Divisor = 5)
NI 6238/6239 User Manual
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Frequency
Output
2
Timebase
Figure 7-26. Frequency Generator Block Diagram
Figure 7-27. Frequency Generator Output Waveform
7-24
Frequency Generator
Divisor
(1–16)
Freq Out
ni.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ni 6238Ni 6239Daq m series

Table of Contents