Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
LabVIEW-Measurements.pdf
Скачиваний:
61
Добавлен:
29.05.2015
Размер:
3.37 Mб
Скачать

Chapter 10 High-Precision Timing (Counters/Timers)

TIO-ASIC, DAQ-STC, Am9513

If you need more control over when period measurement begins and ends, use the Intermediate VIs instead of the Easy VIs. Figure 10-24 shows how to measure period and frequency.

Figure 10-24. Measuring Period Using Intermediate Counter VIs

The Intermediate VIs used in Figure 10-24 include Pulse Width or Period Meas Config, Counter Start, Counter Read, and Counter Stop. The Pulse Width or Period Meas Config VI configures the counter for period measurement. The Counter Start VI begins the counting operation. The Counter Read VI returns the count value from the counter, which is used to determine the period and frequency. The Counter Stop VI stops the counter operation.

8253/54

The 8253/54 chip does not support period measurement, but you can use frequency measurement for a pulse train and take the inverse to get the period. The Measure Lo Frequency (8253) VI, available in the examples\daq\counter\8253.llb, measures frequency

and calculates the period for you.

© National Instruments Corporation

10-29

LabVIEW Measurements Manual

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]