bdeGetBusLink
Returns a bus link in the diagram that is part of block.
Syntax
busLink = bdeGetBusLink(diagram, block, sourcePortNum, sourceIOType)
Inputs
- diagram
- The diagram that the components are in.
- block
- The source block that the link is connected to.
- sourcePortNum
- The number of the source port that the link is connected to.
- sourceIOType
- The IO type of the port that the link is connected to.
Outputs
- busLink
- The link that is returned. Works with bus links.
Examples
Get a bus link:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
busLink = bdeGetBusLink(diagram, block, 1, 'output');
busLink = hwdcConnection