
3.2 d64h_do_config
VC6
short d64h_do_config(BYTE bCardID, U16 wTrigSource, U16 wO_REQ_Enable, U16
wOutTrigHigh)
VB6
d64h_do_config(ByVal bCardID As Byte, ByVal wTrigSource As Integer, ByVal
wO_REQ_Enable As Integer, ByVal wOutTrigHigh As Integer) As Integer
Description:
This function configures the functionality of the following continuous digital-output.
Parameters:
bCardID: The specific Card ID that is configured with the on-board Dip-Switch.
wTrigSource: TRIG_SOURCE_INT_PACER or TRIG_SOURCE_HANDSHAKE.
wO_REQ_Enable: OREQ_ENABLE or OREQ_DISABLE.
wOutTrigHigh: OTRIG_HIGH or OTRIG_LOW. This parameter is required only when
wO_REQ_Enable is set as OREQ_ENABLE.
Return Code:
SUCCESS_NO_ERROR: The function returns successfully.
ERROR_INVALID_CARD_ID: There is no active PCI-D64HU card configured with bCardID, or the
given Card ID is invalid (for instance, Card ID is assigned to 254).
ERROR_INVALID_MAPPED_ADDRESS: Indicates the mapped address is invalid.
ERROR_INVALID_TRIGGER_SOURCE: Neither TRIG_SOURCE_INT_PACER nor
TRIG_SOURCE_HANDSHAKE is assigned to parameter
wTrigSource
.
ERROR_INVALID_OREG_ENABLE: Neither OREQ_ENABLE nor OREQ_DISABLE is assigned to
parameter
wO_REG_Enable
.
ERROR_INVALID_OTRIG_LEVEL: Neither DI_TRIG_RISING nor DI_TRIG_FALLING is assigned to
parameter
wTigPolarity
.
ERROR_INVALID_IREQ_POLARITY: Neither OTRIG_HIGH nor OTRIG_LOW is assigned to
parameter
wOutTrigHigh
.
ERROR_DO_CONFIG: Cannot configure the digital-input operation, please call GetLastError() for
further system information.
PCI-D64HU Function Reference Version
17
Содержание PCI-D64HU
Страница 5: ...PCI D64HU User s Manual Ver 1 0 Dec 2009 5 1 4 Block Diagram...
Страница 17: ...PCI D64HU Function Reference Version 1 0 PCI D64HU Function Reference Version 1...
Страница 69: ...PCI D64HU Function Reference Version 53...
Страница 73: ...PCI D64HU Function Reference Version 1 0 PCI D64HU Function Reference Version 1...
Страница 125: ...PCI D64HU Function Reference Version 53...