Performing Event Counting Operations

Use can use event counting (counter) mode to count the number of rising edges that occur on the counter’s clock input when the counter’s gate signal is active (low-level or high-level). You can count a maximum of 4,294,967,296 events before the counter rolls over to 0 and starts counting again.

When you choose Counter mode from the Counter/Timer page of the web server, the following options are available:

WebServer_Counter.png

To perform a rate generation operation, perform the following steps:

  1. For Mode, select Counter.

  2. For Gate, select one of the following:

If you select this gate type, specify which general-purpose input pin (1 to 8) of the Digital connector to use for the gate input signal to the counter using the Gate input drop-down box, and ensure that you wire the gate input signal to this pin.

If you select this gate type, specify which general-purpose input pin (1 to 8) of the Digital connector to use for the gate input signal to the counter using the Gate input drop-down box, and ensure that you wire the gate input signal to this pin.

  1. For Clock, select either the Internal 48 MHz clock or External if you connected an external clock input to the counter. An external clock source is typically more useful for event counting applications. Note that you can output pulses using a maximum frequency of 24 MHz (if using the internal C/T clock) or 5 MHz (if using the external C/T clock).

If you select External, specify which general-purpose input pin (1 to 8 of the Digital connector) to use for the clock input signal to the counter using the Clock input drop-down box, and ensure that you wire the gate input signal to this pin.

  1. Click Save configuration.

  2. Ensure that you wire signals appropriately for an event counting operation.

  3. Click Start to start the operation.
     If you selected a software gate (none), the counter operation starts immediately. If you selected an external hi or external lo gate, the counter operation starts when the specified gate is active.

  4. When you are finished with the operation, click Stop.

Refer to the DT7837 User's Manual for more information on event counting operations.