Principles of Operation
39
shows an example of how to measure the pulse width of a signal. Ensure that the
signals are wired appropriately. Refer to the
DT9840 Series Getting Started Manual
for wiring
examples.
Figure 7: Example of Frequency Measurement
Continuous Measure
Use continuous measure mode to measure the interval between a selected start edge and the
next start edge of a signal connected to the external C/T input pin or external gate input pin of
the counter/timer. Refer to
for more information on edge types and how to use them
to measure frequency and period.
When it detects the specified start edge, the counter begins incrementing. The counter stops
incrementing when it detects the next start edge. The stop edge is ignored.
When the operation completes, the counter remains idle until it is read. On the next read, the
current value of the counter (from the previous measurement) is returned and the next
measurement is started automatically.
Note:
If you read the counter before the measurement is complete, 0 is returned.
For example, you might see results similar to the following if you read the counter/timer
channel as part of the data stream:
The interval is calculated and the
number of counts is returned.
Pulse width = Number of Counts
18 MHz
Signal
Connected to
External Gate
Input Pin
Rising edge of gate starts
the measure operation
Falling edge of gate stops
the measure operation
Содержание DT9840 Series
Страница 1: ...DT9840 Series UM 19197 T User s Manual Title Page ...
Страница 4: ......
Страница 44: ...Chapter 1 44 ...
Страница 76: ...Chapter 2 76 ...
Страница 98: ...Appendix A 98 ...
Страница 124: ...Appendix B 124 ...