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

4.6-4 Daq API Command Reference
908594
Programmer’s
Manual
Option Type and Value Definitions Continued--DaqOptionType
Digital I/O, Counter and Timer Options
Option Type
(optionType)
Description
Option Value
(optionValue)
Description
DcovDigitalInput
Set the 8-bit local P2 port channel to be
an input channel
DcotP2Local8Mode
Set Input/Output mode for 8-
bit Local P2 port channel
DcovDigitalOutput
Set the 8-bit local P2 port channel to be
an output channel
DcovDigitalInput
Set the 8-bit expansion P2 port channel
to be an input channel
DcotP2Exp8Mode
Set Input/Output mode for 8-
bit Expansion P2 port channel
DcovDigitalOutput
Set the 8-bit expansion P2 port channel
to be an output channel
DcovDigitalInput
Set the 16-bit local P3 port to be an
input channel
DcotP3Local16Mode
Set Input/Output mode for
16-bit Local P3 port
DcovDigitalOutput
Set the 16-bit local P3 port to be an
output channel
DcovCounterCascade
Enable cascading of 16-bit counters
into 32-bit counters
DcotCounterCascade
Enables/Disables cascading
counter channels on
DaqBook/2000 Series,
DaqBoard/2000 Series, and
cPCI DaqBoard/2000c Series.
DcovCounterSingle
Use single 16-bit counters – do not
cascade counters.
DcovCounterClearOnRead
Enable clear on read of the selected
counter(s). When counter channels are
included in the acquisition scanning and
pulse counting is required this mode
must be set
DcotCounterMode
Enables/Disables Clear on
Read of counter channel on
DaqBook/2000 Series,
DaqBoard/2000 Series and
cPCI DaqBoard/2000c Series.
DcovCounterTotalize
Disables clear on read of the selected
counter(s). This mode allows counters
to free-run in a totalizing mode of
operation.
DcovCounterOn
Enable counting by turning the counter
channel On
DcovCounterOff
Disable counting by turning the
counter channel Off
DcotCounterControl
Turn Counter Channel On/Off
or manually clear counter w/
DaqBook/2000 Series,
DaqBoard/2000 Series [and
/2000c Series] products. This
mode should only be used
when reading counters
asynchronously
DcovCounterManualClear
Manually clear the counter channel.
Counter will continue to count if still
enabled.
DcovCounterOn
Enable counting for ALL counter
channels by turning the counter
channels On
DcovCounterOff
Disable counting for ALL counter
channels by turning the counter
channels Off
DmotCounterControl
Turn ALL Counter Channels
On/Off or manually clear
ALL Counter Channels w/
DaqBook/2000 Series,
DaqBoard/2000 Series
[and /2000c Series] product.
This mode should only be
used when reading counters
asynchronously
DcovCounterManualClear
Manually clear the ALL counter
channels. Counters will continue to
count if still enabled.
D
botOverSampleAmount
Used to enable and set the
sample value for, or disable,
oversampling (averaging) of
data before data is delivered
to the buffer.
0 thru 13
(for 14 sample settings
2, 4, 8, 16, 32, 64,
128, etc. up to 16384)
0,1 disables oversampling. Number of
samples 2, 4, 8, 16, 32, 64 … 16384;
where 0 sets 2, 1 sets 4, 2 sets 8 . . .
13 sets 16,384 samples.
TRUE
Increment Counter on Rising Edge of
input signal
DcotCounterEdge
Selects Counter Edge
Detection (Rising/Falling)
for DaqBook/2000 Series,
DaqBoard/2000 Series [and
/2000c Series] products
FALSE
Increment Counter on Falling Edge of
input signal
DcotTimerDivisor
16-bit Number (freq = 1MHz
/ (Divisor + 1))
0-65,535
16-bit value divides the 1MHz clock by
1 to 65535
DcovTimerOn
Enables Timer Channel Output by
turning the Timer Channel On.
DcotTimerControl
Turn Timer Channel On/Off
w/ DaqBook/2000 Series,
DaqBoard/2000 Series
[and /2000c Series] products.
DcovTimerOff
Disables Timer Channel Output by
turning the Timer Channel Off.
DcovTimerOn
Enables ALL Timer Channel Outputs
by turning all the Timer Channels On.
DmotTimerControl
Turn ALL Timer Channel(s)
On/Off w/ DaqBook/2000
Series, DaqBoard/2000 Series
[and /2000c Series] products.
DcovTimerOff
Disables ALL Timer Channel Outputs
by turning all the Timer Channels Off.