bdeGetActivationLink

Returns an activation link in the diagram that is part of block. Can only link to other ports that are activation ports.

Syntax

activationLink = bdeGetActivationLink(diagram, block, sourcePortNum, sourceIOType)

Inputs

diagram
The diagram that the components are in.
Type: diagram
block
The source block that the link is connected to.
Type: block
sourcePortNum
The number of the source port that the link is connected to.
Type: integer
sourceIOType
The IO type of the port that the link is connected to.
Type: string

Outputs

activationLink
The link that is returned. Works with activation links.
Type: hwdcConnection

Examples

Get an activation link:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          activationLink = bdeGetActivationLink(diagram, block, 1, 'output');
        

          
            activationLink = hwdcConnection