beautypg.com

Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 285

background image

Programmer’s Manual

908594

Daq API Command Reference 4.6-7


Option Type and Value Definitions Continued--DaqOptionType

3000 Series Device Options

(continued)

Option Type

(optionType)

Option Value

(optionValue)

Description

DcotCounterEnhMeasurementMode

DcovCounterEnhMode_Counter

Counter Mode

DcovCounterEnhCounter_Totalize

Totalize Mode – The counter counts up and rolls over on
the 16-bit or 32-bit boundary.

DcovCounterEnhCounter_ClearOnRead

Clear On Read Mode - The counter is cleared at the
beginning of every scan; and the final value of the counter
[the value just before it was cleared] is latched and
returned to the Wavebook/516.

DcovCounterEnhCounter_RollOver

Rollover Mode - The counter continues to count upward,
rolling over on the 16-bit or 32-bit boundary.

DcovCounterEnhCounter_StopOnTop

Stop at the Top Mode - The counter will stop at the top
of its count. The top of the count is FFFF for the
16-bit option and FFFFFFFF for the 32-bit option.

DcovCounterEnhCounter_LatchOnSOS

Selects start of scan. Latches the counter outputs at the
beginning of every scan.

DcovCounterEnhCounter_LatchOnMap

Selects the mapped signal to latch the counter outputs.
This allows the user to know the exact counter value
when an edge is present on another channel.

DcovCounterEnhCounter_DecrementOff

Sets the counter decrement option to “off.”

DcovCounterEnhCounter_DecrementOn

Sets the counter decrement option to “on.”

DcovCounterEnhCounter_CountChan

Selects channel for count.

DcovCounterEnhCounter_CountMap

Selects mapped channel for count.

DcovCounterEnhModeMask_16Bit

Selects 16-Bit counter.

DcovCounterEnhModeMask_32Bit

Selects 32-Bit counter.

DcovCounterEnhModeMaskGatingOff

Selects gating “off.”

DcovCounterEnhModeMaskGatingOn

Selects gating “on.” When “On”, the counter is enabled
when the mapped channel to gate the counter is high.
When the mapped channel is low, the counter is disabled
(but holds the count value).

DcovCounterEnhMode_OFF

Turns the Enhanced Counter Mode “off.”


Enumeration with

Bit-Masking.


The options can be

combined.

DcovCounterEnhMode_Counter

Turns the Enhanced Counter Mode “on.”


DcotCounterEnhMeasurementMode (continued)