![background image](http://html.mh-extra.com/html/keithley/das-800-series/das-800-series_user-manual_3956419040.webp)
2-22
Functional Description
●
Square-wave generator (Mode 3) - This mode is useful for
square-wave generation. The output is initially high. A trigger loads
the initial count value into the counter. At the next clock pulse after
the trigger, the counter starts counting down. When half the initial
count has elapsed, the output goes low for the remainder of the count.
When the total count elapses, the counter is reloaded with the initial
count value, the output goes high again, and the process repeats. If the
initial count is odd, the output is high for (n + 1) / 2 counts and low
for (n
−
1) / 2 counts, where n indicates the loaded count.
A high gate input enables counting; a low gate input disables
counting. If the gate goes low while the output is low, the output is set
high immediately; this allows you to use the gate input to synchronize
the counter.
Figure 2-9 illustrates square-wave generator mode.
Figure 2-9. Square-Wave Generator Mode
Clock pulse
Output
Trigger loads initial
count value of 4
4
3
2
1
4
3
2
1