© National Instruments
|
3-29
Trigger Settings
By default, the counter begins counting when you call DAQmx Start Task. To have the counter
begin counting in response to a hardware trigger, use an Arm Start Trigger.
1.
Set ArmStart.TrigType to Digital Edge.
2.
Set ArmStart.DigEdge.Src to select what signal to use as the Arm Start Trigger.
3.
Set ArmStart.DigEdge.Edge to select the rising or falling edge of the signal.
Other Settings
You can filter noise on any PFI signal that is an input to the counter by enabling a filter. Refer
to the
section in Chapter 4,
, for more information.
If you route the same PFI signal to multiple destinations, you should enable the Synchronization
feature. Refer to Chapter 4,
, for more information.
Linear Position Measurement
In a linear position measurement task, the counter measures position using a quadrature encoder
or two-pulse encoder.
Linear position measurements are similar to Angular position measurements. The main
difference is that DAQmx can return the measurement in units of meters or inches instead of
degrees or radians.
To make an angular measurement, first call the DAQ Create Channel (CI-Position-Linear
Encoder) VI or function.
The settings for linear position measurements are the same as for angular position
measurements.
Counter Output Applications
The NI 6612 can generate a wide variety of digital output signals. Counter output applications
include:
•
Generating a series of one or more pulses.
•
Generating a periodic waveform with constant frequency and duty cycle.
•
Generating a periodic waveform with variable frequency and duty cycle.
•
Generating a complex digital waveform or timing pattern.
Содержание NI 6612
Страница 1: ...PCIe 6612...
Страница 2: ...NI 6612 User Manual NI 6612 User Manual November 2013 374008B 01...
Страница 11: ...NI 6612 User Manual National Instruments xi Appendix B Technical Support and Professional Services...
Страница 94: ...National Instruments 7 1 7 Calibration For the NI 6612 calibration is not required...