Write/Read |
About Meas Class |
Description |
This command replaces AssignSourceToRole Method and GetSourceByRole Method. Set and return the source to be used in the specified role. For example, use this command to set a source name to be used as the RF2 tone for a Swept IMD channel. |
VB Syntax |
chan.RoleDevice(role) = source |
Variable |
(Type) - Description |
chan |
A Channel (object) |
role |
(String) Role of the source. Not context-sensitive. Use DefinedRoles to read the valid roles for the channel. |
source |
(String) Source name to be used in the specified role. Use extDevices.Items to read a list of configured sources. |
Return Type |
String |
Default |
Not Applicable |
Examples |
chan.RoleDevice("RF2") = "MyEsg" 'Write |
source = chan.RoleDevice("RF2") 'Read |
|
C++ Syntax |
HRESULT get_RoleDevice(BSTR role BSTR *source); HRESULT put_RoleDevice(BSTR role BSTR source); |
Interface |
IChannel22 |
Last modified:
7-Nov-2013 |
New topic |