
5.3 d64h_do_readport
VC6
short d64h_do_readport(BYTE bCardID, U32* pValue)
VB6
d64h_do_readport(ByVal bCardID As Byte, ByRef pValue As Long) As Integer
Description:
This function reads all digital-output data, and stores in one 32-bit variable.
Parameters:
bCardID: The specific Card ID that is configured with the on-board Dip-Switch.
pValue: The pointer to the 32-bit variable that stores all digital-output data.
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_ACCESS_VIOLATION_DATA_COPY: Some system exception occurs while copying
memory, please check the pointer-type parameter you assign to this function.
ERROR_DO_PIO_READ: Cannot read the digital-output port, please call GetLastError() for further
system information.
PCI-D64HU Function Reference Version
30
Содержание 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...