Read only

GetSourceByRole Method


Description

Returns the name of a source that is assigned to the specified role.

Note: For non-converter channels, use chan.RoleDevice

 VB Syntax

source = conv.GetSourceByRole (role)

Variable

(Type) - Description

source

(String) Source name, from Source Configuration dialog, that is assigned to the specified role.

conv

A Converter Object

role

(String) Role for which the source name will be returned. Use GetSourceRoles for a list of valid roles.

Return Type

Not Applicable

Default

Not Applicable

Examples

RF2Source = conv.GetSourceByRole ("RF2")

C++ Syntax

HRESULT GetSourceByRole(BSTR roleID,  BSTR deviceName);

Interface

IConverter