Returns the name of a source block of a given link.

## Inputs

The link to get the source block name of.
Type: hwdcConnection

## Outputs

srcBlockName
The name of the source block of the link.
Type: string

## Examples

Get the name of the source block of a given link:

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