
2.3 d64h_open
VC6
short d64h_open(BYTE bCardID)
VB6
d64h_open(ByVal bCardID As Byte) As Integer
Description:
This function opens the device node of PCI-D64HU based on the specific Card ID. If this function
returns successfully, the process that calls this function will own that specific device until d64h_close()
is called. The device node of PCI-D64HU is ought to be owned before calling other functions. It’s
recommended to call d64h_scan() and d64h_get_cardinfo() to get the Card ID.
Parameters:
bCardID: The specific Card ID that is configured with the on-board Dip-Switch.
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_DEVICE_OPEN: Fail to open the device-node of PCI-D64HU. Please make sure no other
process owns that PCI-D64HU card.
ERROR_EVENT_CREATE_FAILED: Fail to create the related events for digital input/output
operations.
ERROR_MEMORY_MAP: Indicates the Memory-Mapping is failed, please check the event logs in
Event Viewer.
PCI-D64HU Function Reference Version
9
Содержание 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...