
2.4 d64h_close
VC6
short d64h_close(BYTE bCardID)
VB6
d64h_close(ByVal bCardID As Byte) As Integer
Description:
This function closes the device node of PCI-D64HU based on the specific Card ID. After calling this
function, the PCI-D64HU card will be released, and other process can open it.
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 opened PCI-D64HU card with assigned Card ID, 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_DI_EVENT_DETACH: Fail to detach the digital-input related event.
ERROR_DO_EVENT_DETACH: Fail to detach the digital-output related event.
ERROR_DEVICE_CLOSE: Fail to close the device-node of PCI-D64HU.
ERROR_MEMORY_UNMAP: Indicates the Memory-Un-mapping is failed, please check the event
longs in Event Viewer.
PCI-D64HU Function Reference Version
10
Summary of Contents for PCI-D64HU
Page 5: ...PCI D64HU User s Manual Ver 1 0 Dec 2009 5 1 4 Block Diagram...
Page 17: ...PCI D64HU Function Reference Version 1 0 PCI D64HU Function Reference Version 1...
Page 69: ...PCI D64HU Function Reference Version 53...
Page 73: ...PCI D64HU Function Reference Version 1 0 PCI D64HU Function Reference Version 1...