Enabling Duplicate Count Prevention In Ni-Daqmx; When To Use Duplicate Count Prevention; When Not To Use Duplicate Count Prevention - National Instruments PCI-6601 User Manual

Hide thumbs Also See for PCI-6601:
Table of Contents

Advertisement

Enabling Duplicate Count Prevention in NI-DAQmx

When to Use Duplicate Count Prevention

When Not to Use Duplicate Count Prevention

© National Instruments
Even if the Source pulses are long, the counter increments only once for
each source pulse.
Normally, the counter and Counter n Internal Output signals change
synchronously to the Source signal. With duplicate count prevention, the
counter value and Counter n Internal Output signals change synchronously
to the maximum onboard timebase.
Notice that duplicate count prevention should only be used if the frequency
of the Source signal is one-fourth of the maximum onboard timebase.
You can enable duplicate count prevention in NI-DAQmx by setting the
Enable Duplicate Count Prevention attribute/property. For specific
information on finding the Enable Duplicate Count Prevention
attribute/property, refer to the help file for the API you are using. Refer to
the NI-DAQmx Help for more information.
Use duplicate count prevention for buffered measurements that use an
external CtrnSource signal and the frequency of the signal is less than or
equal to one-fourth of the maximum onboard timebase. Use this mode if
you are using a low frequency or you expect zero CtrnSource edges
between successive edges of the CtrnGate signal.
You should use duplicate count prevention if the following conditions are
true:
You are making a buffered counter input measurement.
You are using an external signal (such as PFI x) as the counter Source.
The frequency of the external source is one-fourth of the maximum
onboard timebase.
You can have the counter value and output to change synchronously
with the maximum onboard timebase.
In all other cases, you should not enable duplicate count prevention.
Use duplicate counter prevention only for buffered measurements with an
external CtrnSource signal. Do not use it when the CtrnSource signal is
greater than one-fourth of the maximum timebase.
2-7
Chapter 2
Device Overview
NI 660x User Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ni 6602Ni 6608Ni 6601

Table of Contents