In pulse-width measurements, the counter measures the width of a pulse of a signal. You can configure the counter to measure the width of high pulses or low pulses on the signal-to-measure.

The pulse-width can be calculated based on the number of edges of the counter timebase that occur during the pulse on the signal-to-measure. This measurement begins when the signal-to-measure first enters the active state. You can calculate the pulse width by multiplying the period of the counter timebase by the number of edges returned by the counter.

A pulse-width measurement will be accurate even if the counter is armed while a pulse train is in progress. If a counter is armed while the pulse is in the active state, it will wait for the next transition to the active state to begin the measurement.

The pulse width measurement supports the following read options:

  • Single Pulse-Width Measurement
  • Implicit Buffered Pulse-Width Measurement
  • Sample Clocked Buffered Pulse-Width Measurement

Refer to the Counter Read topic for more information on reading the counter values.