D64H_Do_Config - ICP DAS USA PCI-D64HU User Manual

Hide thumbs Also See for PCI-D64HU:
Table of Contents

Advertisement

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
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
ERROR_INVALID_MAPPED_ADDRESS: Indicates the mapped address is invalid.
ERROR_INVALID_TRIGGER_SOURCE: Neither TRIG_SOURCE_INT_PACER nor
ERROR_INVALID_OREG_ENABLE: Neither OREQ_ENABLE nor OREQ_DISABLE is assigned to
ERROR_INVALID_OTRIG_LEVEL: Neither DI_TRIG_RISING nor DI_TRIG_FALLING is assigned to
ERROR_INVALID_IREQ_POLARITY: Neither OTRIG_HIGH nor OTRIG_LOW is assigned to
ERROR_DO_CONFIG: Cannot configure the digital-input operation, please call GetLastError() for
PCI-D64HU Function Reference Version
wO_REQ_Enable is set as OREQ_ENABLE.
given Card ID is invalid (for instance, Card ID is assigned to 254).
TRIG_SOURCE_HANDSHAKE is assigned to parameter wTrigSource.
parameter wO_REG_Enable.
parameter wTigPolarity.
parameter wOutTrigHigh.
further system information.
17

Advertisement

Table of Contents
loading

Table of Contents