
FP-CTR-500 and cFP-CTR-500
14
ni.com
•
Remove the [c]FP-CTR-500 from the bank.
•
Power off the network module connected to the
[c]FP-CTR-500.
Normal operation can resume after you correct the short-circuit
condition.
Application Note:
Generating a Continuous Pulse Train
You can use two [c]FP-CTR-500 count-input channels and one
output channel to generate a continuous pulse train with a
controllable duty cycle and period. The first count-input channel
serves as a clock prescaler and divides the input clock by a fixed
value. This generates a slower clock for the second count-input
channel, which serves as the pulse counter. The pulse counter is the
output source for the output channel.
Figure 11 shows the components of a continuous pulse train.
Figure 11.
Continuous Pulse Train
Step 1. Set Up the Prescaler Counter
To set up the prescaler counter, complete the following steps:
1. If you do not need to scale the frequency of your clock input,
you can configure the pulse counter to use the clock input
directly instead of the prescaler counter. To set up the pulse
counter, skip to
Step 2. Set Up the Pulse Counter
2. Select two count-input channels and one output channel to use.
Select count-input channels that are numbered sequentially
(for example, Channels 1 and 2, 5 and 6, or 7 and 0). The
Clock
Input
Prescaler
Counter
n
Pulse
Counter
n
+ 1
Internal
Connection
Internal
Connection
Output
Pulse Output Terminal