EasyManua.ls Logo

National Instruments NI 6225 - Enabling Duplicate Count Prevention in NI-Daqmx; Synchronization Modes

National Instruments NI 6225
411 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
Loading...
Chapter 7 Counters
M Series User Manual 7-38 ni.com
Enabling Duplicate Count Prevention in NI-DAQmx
You can enable duplicate count prevention in NI-DAQmx by setting the
Enable Duplicate Count Prevention attribute/property. For specific
information about finding the Enable Duplicate Count Prevention
attribute/property, refer to the help file for the API you are using.
Synchronization Modes
The 32-bit counter counts up or down synchronously with the Source
signal. The Gate signal and other counter inputs are asynchronous to the
Source signal. So M Series devices synchronize these signals before
presenting them to the internal counter.
M Series devices use one of three synchronization methods:
80 MHz source mode
Other internal source mode
External source mode
In DAQmx, the device uses 80 MHz source mode if you perform the
following:
Perform a position measurement
Select duplicate count prevention
Otherwise, the mode depends on the signal that drives Counter n Source.
Table 7-6 describes the conditions for each mode.
Table 7-6. Synchronization Mode Conditions
Duplicate Count
Prevention Enabled
Type of
Measurement
Signal Driving
Counter n Source
Synchronization
Mode
Yes Any Any 80 MHz Source
No Position Measurement Any 80 MHz Source
No Any 80 MHz Timebase 80 MHz Source
No All Except Position
Measurement
20 MHz Timebase,
100 kHz Timebase,
or PXI_CLK10
Other Internal Source
No All Except Position
Measurement
Any Other Signal
(such as PFI or RTSI)
External Source

Table of Contents

Related product manuals