Buffered Pulse Train Generation; Finite Implicit Buffered Pulse Train Generation - National Instruments cRIO-904 Series User Manual

Embedded compactrio controller with real-time processor and reconfigurable fpga
Table of Contents

Advertisement

The figure below shows a continuous pulse train generation (using the rising edge of Source).
Continuous pulse train generation is sometimes called frequency division. If the high and low
pulse widths of the output signal are M and N periods, then the frequency of the Counter n
Internal Output signal is equal to the frequency of the Source input divided by M + N.
For information about connecting counter signals, refer to the
section.

Buffered Pulse Train Generation

The cRIO controller counters can use the FIFO to perform a buffered pulse train generation.
This pulse train can use implicit timing or sample clock timing. When using implicit timing,
the pulse idle time and active time changes with each sample you write. With sample clocked
timing, each sample you write updates the idle time and active time of your generation on each
sample clock edge. Idle time and active time can also be defined in terms of frequency and
duty cycle or idle ticks and active ticks.
Note
On buffered implicit pulse trains, the pulse specifications in the DAQmx
Create Counter Output Channel are ignored so that you generate the number of
pulses defined in the multipoint write. On buffered sample clock pulse trains, the
pulse specifications in the DAQmx Create Counter Output Channel are generated
after the counters starts and before the first sample clock so that you generate the
number of updates defined in the multipoint write.

Finite Implicit Buffered Pulse Train Generation

This function generates a predetermined number of pulses with variable idle and active times.
Each point you write generates a single pulse. The number of pairs of idle and active times
(pulse specifications) you write determines the number of pulses generated. All points are
generated back to back to create a user defined pulse train.
The following table and figure detail a finite implicit generation of three samples.
Figure 79. Continuous Pulse Train Generation
SOURCE
OUT
Counter Armed
Default Counter/Timer Routing
cRIO-904x User Manual | © National Instruments | 101

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents