Returns the source port IO type of a given link.

Inputs

The link to get the source port's type.
Type: hwdcConnection

Outputs

srcPortType
The type of the source port for the link.
Type: string

Examples

Get the type of source port for a given link:

diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);