Справочник Пользователя для National Instruments 321645c-01
Chapter 2
Function Reference — GPCTR_Change_Parameter
©
National Instruments Corporation
2-203
NI-DAQ FRM for PC Compatibles
Output counterValue
}
GPCTR_Control (deviceNumber, gpctrNum, ND_RESET)
paramID =
ND_GATE
This signal controls the operation of the general-purpose counter in some applications. The
default values of paramValue for paramID =
default values of paramValue for paramID =
ND_GATE
are shown in Table 2-24.
Note
If you have configured an analog hardware trigger using the
Config_HW_Analog_Trigger
function, the resulting analog trigger circuitry
output signal is available as
ND_PFI_0
.
Table 2-24. Legal Values for paramValue when paramID =
ND_GATE
E Series and 445X Devices
6602 Devices
455X Devices
ND_PFI_0
through
ND_PFI_9
—the 10 I/O
connector pins.*
ND_RTSI_0
through
ND_RTSI_6
—the seven
RTSI lines.
ND_IN_START_TRIGGER
and
ND_IN_STOP_TRIGGER
—
the input section triggers.
ND_OTHER_GPCTR_OUTPUT
—the output of the other
general-purpose counter
(See Table 2-22 for
definition of other counter).
general-purpose counter
(See Table 2-22 for
definition of other counter).
ND_PFI_38
,
ND_PFI_34
,
ND_PFI_30
,
ND_PFI_26
,
ND_PFI_22
,
ND_PFI_18
,
ND_PFI_14
, and
ND_PFI_10
.
ND_RTSI_0
through
ND_RTSI_6
—the seven
RTSI lines.
ND_OTHER_GPCTR_OUTPUT
(See Table 2-22 for
definition of other counter).
definition of other counter).
ND_OTHER_GPCTR_SOURCE
—the source of the other
general-purpose counter
(See Table 2-22 for
definition of other counter).
general-purpose counter
(See Table 2-22 for
definition of other counter).
ND_PFI_30
,
ND_PFI_26
,
ND_PFI_22
,
ND_PFI_18
,
ND_PFI_14
, and
ND_PFI_10
.
ND_RTSI_0
through
ND_RTSI_6
—the seven
RTSI lines.
ND_OTHER_GPCTR_OUTPUT
(See Table 2-22 for
definition of other counter).
definition of other counter).
ND_OTHER_GPCTR_SOURCE
—the source of the other
general-purpose counter
(See Table 2-22 for
definition of other counter)
general-purpose counter
(See Table 2-22 for
definition of other counter)
*
ND_PFI_2
and
ND_PFI_5
not valid for 445X devices.