EasyManuals Logo
Home>National Instruments>Computer Hardware>NI 6612

National Instruments NI 6612 User Manual

National Instruments NI 6612
98 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #50 background imageLoading...
Page #50 background image
3-14 | ni.com
Chapter 3 Counters
CI.CtrTimebase.Src—To change the signal used as the counter timebase, set this property
to a different terminal.
Sample Clock (without Averaging)
With this method, for each sample clock the counter detects the last full period of the
signal-to-measure that occurs before the sample clock. The counter measures the duration of this
one period by counting the number of cycles (T2) of the timebase.
At each sample clock, the device stores T2 in a buffer. DAQmx reads this value, and uses the
known frequency of the timebase (f
k
), to calculate the frequency of the input signal (f
x
) as:
Figure 3-16. Frequency Measurement: Sample Clock without Averaging
To use the Sample Clock (without Averaging) method, configure the following:
DAQmx Create channel (CI-Frequency)—Use this VI or function to create the channel.
DAQmx Timing (Sample Clock)—Use this VI or function to set the number of samples,
samples clock source, and other properties.
CI.Freq.EnableAveraging—Set this property to False.
By default, the counter measures the frequency on a default PFI terminal (refer to Chapter 5,
Counter Signal Routing and Clock Generation, for more information) and use an onboard
100 MHz clock as the timebase. To change the signals used for this measurement, configure the
following:
CI.Freq.TermThe signal-to-measure comes from an input terminal. To change the
signal-to-measure, set this property to a different terminal.
CI.CtrTimebase.Src—To change the signals used as the counter timebase, set this
property to a different terminal.
f
x
f
k
1
T2
------×=
Sample
Clock
DAQmx
Start Task
Buffer
6
646
4
6
4
6
6
Sample 1 Sample 2 Sample 3
Signal to
Measure (f )
Counter
Timebase (f )
x
k

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the National Instruments NI 6612 and is the answer not in the manual?

National Instruments NI 6612 Specifications

General IconGeneral
BrandNational Instruments
ModelNI 6612
CategoryComputer Hardware
LanguageEnglish

Related product manuals