DO_ReadLine Previous topicNext topicFirst topicLast topic

DO_ReadLine

@ Description

Read back the digital logic state of the specified digital output line in the specified port.

@ Cards Support

6208V/16V/08A, 6308V/08A, 7200, 7250/51, 7252

@ Syntax

I16 DO_ReadLine (U16 CardNumber, U16 Port, U16 Line, U16 *State)

@ 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
Line : The digital line to be accessed. The valid value:
        PCI-6208V/16V/08A: 0 through 3
        PCI-6308V/08A: 0 through 3
        PCI-7200/cPCI-7200: 0 through 31
        PCI-7250/51: 0 through 7
        cPCI-7252: 0 through 7
State : Returns the digital logic state, 0 or 1, of the specified line.

@ Return Code

NoError, ErrorInvalidCardNumber, ErrorCardNotRegistered, ErrorFuncNotSupport, ErrorInvalidIoChannel