bdeGetPortIOType

Returns the input/output type of a given port.

Syntax

portIOType = bdeGetPortIOType(port)

Inputs

port
The port to get the IO type of.
Type: hwdcConnectionPoint

Outputs

portIOType
The IO type of the given port.
Type: string

Examples

Get the IO type of a given port:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          portList = bdeGetPortsOnBlock(block);
          portX = portList{[1, 1]};
          portIOType = bdeGetPortType(portX);
        

          
            portIOType = input