Measurement Computing Data Acquisition Systems rev.10.4 User Manual
Page 284

4.6-6 Daq API Command Reference
908594
Programmer’s
Manual
Option Type and Value Definitions Continued--DaqOptionType
3000 Series Device Options
(continued)
Option Type (optionType)
DcotCounterEnhDebounceTrigger
Sets the mode of the debounce module to Trigger After Stable, or to Trigger Before Stable.
Option Value (optionValue)
DcovCounterEnhTriggerAfterStable = 0
DcovCounterEnhTriggerAfterStable
selects the “Trigger After Stable” mode. This mode
rejects glitches and only passes state transitions after a specified period of stability (the debounce time).
This mode is used with electro-mechanical devices like encoders and mechanical switches to reject switch
bounce and disturbances due to a vibrating encoder that is not otherwise moving. The debounce time
should be set short enough to accept the desired input pulse but longer than the period of the undesired
disturbance.
Option Value (optionValue)
DcovCounterEnhTriggerBeforeStable = 1
DcovCounterEnhTriggerBeforeStable
selects the Trigger Before Stable mode. Use this mode
when the input signal has groups of glitches and each group is to be counted as one. The trigger before
stable mode will recognize and count the first glitch within a group but reject the subsequent glitches within
the group if the debounce time is set accordingly. In this case the debounce time should be set to
encompass one entire group of glitches.
3000 Series Device Options
Option Type (optionType)
Option Value (optionValue)
Description
DcotCounterEnhMapChannel
DcovCounterEnhMap_Channel_0
= 0
DcovCounterEnhMap_Channel_1 =
1
DcovCounterEnhMap_Channel_2 =
2
DcovCounterEnhMap_Channel_3 =
3
Used to select the mapped channel.
For the 3000 Series devices, a mapped
channel is one of 4 signals that can get
multiplexed into a channel’s counter
module.
The mapped channel can participate
with the channel’s input signal by
gating the counter, clearing the
counter, etc.
Selects the mapped channel to
be one of the counter input
channels.
There are 4 post-debounce
channel input signals that can
be individually selected as
mapped channels.
These are:
Channel_0
Channel_1
Channel_2
Channel_3