
5.2 d64h_do_writeline
VC6
short d64h_do_writeline (BYTE bCardID, U16 wLine, U16 wValue)
VB6
d64h_do_writeline (ByVal bCardID As Byte, ByVal wLine As Integer, ByVal wValue As Integer)
As Integer
Description:
This function writes specific digital-input line.
Parameters:
bCardID: The specific Card ID that is configured with the on-board Dip-Switch.
wLine: The parameter indicates the specific line to be input.
wValue: The data to be written to specific line of digital-output port.
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_PORT_LINE: Indicates the invalid setting is assigned to parameter
wLine
.
ERROR_DO_PIO_LINE_WRITE: Cannot read the specific digital-input line, please call
GetLastError() for further system information.
PCI-D64HU Function Reference Version
29
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...