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

Programmer’s Manual
908594
Daq API Command Reference 4.6-5
Option Type and Value Definitions Continued--DaqOptionType
3000 Series Device Options
Option Type (optionType)
Option Value (optionValue)
Description
DcotCounterEnhDebounceTime
Sets debounce to:
DcovCounterEnhDebounce500ns =
0
500 ns
DcovCounterEnhDebounce1500ns =
1
1500 ns
DcovCounterEnhDebounce3500ns =
2
3500 ns
DcovCounterEnhDebounce7500ns
= 3
7500 ns
DcovCounterEnhDebounce15500ns
= 4
15500 ns
DcovCounterEnhDebounce31500ns
= 5
31500 ns
DcovCounterEnhDebounce63500ns =
6
63500 ns
DcovCounterEnhDebounce127500ns =
7
127500 ns
DcovCounterEnhDebounce100us =
8
100 µs
DcovCounterEnhDebounce300us =
9
300 µs
DcovCounterEnhDebounce700us =
10
700 µs
DcovCounterEnhDebounce1500us =
11
1500 µs
DcovCounterEnhDebounce3100us =
12
3100 µs
DcovCounterEnhDebounce6300us =
13
6300 µs
DcovCounterEnhDebounce12700us =
14
12700 µs
DcovCounterEnhDebounce25500us =
15
25500 µs
Used to bypass the debounce mode, or to set a
channel’s comparator output to one of 16
debounce times. Debounce is used to eliminate
switch-induced transients typically associated
with electro-mechanical devices including relays,
proximity switches, and encoders.
Note that there are two debounce modes, one for
“After Stable” and another for “Before Stable.”
See: DcotCounterEnhDebounceTrigger
DcovCounterEnhDebounceNone =
16
bypass
DcotCounterEnhEdge
Selects for detection:
DcovCounterEnhRisingEdge =
0
The “Rising Edge”
Determines whether the rising edge or falling
edge is to be detected.
DcovCounterEnhFallingEdge =
1
The “Falling Edge”
DcotCounterEnhTickSize
Sets ticksize to:
DcovCounterEnhTick20_83ns
= 0
20.83 ns
DcovCounterEnhTick208_3ns
= 1
208.3 ns
DcovCounterEnhTick2083_3ns
= 2
2 083.3 ns
Determines the ticksize; which is the fundamental
unit of time for period, pulsewidth, and timing
measurements.
DcovCounterEnhTick20833_3ns
= 3
20833.3 ns
DcotCounterEnhControl
DcovCounterEnhDisable =
0
Disables counter
DcovCounterEnhEnable
= 1
Enables counter
DcovCounterEnhClear
= 2
Clears counter
DmotCounterEnhControl
DcovCounterEnhDisable =
0
Disables all counters
DcovCounterEnhEnable =
1
Enables all counters
DcovCounterEnhClear =
2
Clears all counters
Usage Note: Combine the applicable mode with the desired mode-specific settings via option values.
The following three option values are available for all Option Types listed above.
DcovCounterEnhMode_Counter
DcovCounterEnh_ClearOnRead
DcovCounterEnhModeMask_32Bit