DO_ReadPort | ![]() ![]() ![]() ![]() |
DO_ReadPort
@ Description
Read back the output digital data from the specified digital output port.
@ Cards Support
6208, 6308, 7200, 7250/51, 7252
@ Syntax
I16 DO_ReadPort (U16 CardNumber, U16 Port, U32 *Value)
@ Parameter
CardNumber : The
card id of the card that want to perform this operation.
Port : Digital output
port number. The valid value:
PCI-6208V/16V/08A: 0
PCI-6308V/08A: 0
PCI-7200/cPCI-7200: 0
PCI-7250/51: 0 through 3
cPCI-7252: 0
Value : Returns the digital
data read from the specified output port.
PCI-6208V/16V/08A: 4-bit data
PCI-6308V/08A: 4-bit data
PCI-7200/cPCI-7200: 32-bit data
PCI-7250/51: 8-bit data
cPCI-7252: 8-bit data
@ Return Code
NoError, ErrorInvalidCardNumber,
ErrorCardNotRegistered, ErrorFuncNotSupport, ErrorInvalidIoChannel