Write/Read |
About External Testset Control |
Description |
Sets or gets the display label for a given channel/testset combination. The label appears in a status bar at the bottom of the PNA display when the ShowProperties property is set to TRUE. |
VB Syntax |
tset.Label(chNum) = value |
Variable |
(Type) - Description |
tset |
A TestsetControl object. Obtained from the ExternalTestsets collection. |
chNum |
(Integer) Channel number of the measurement. |
value |
(String) The text of the label. |
Return Type |
String |
Default |
None |
Examples |
'The following sets the label for channel 5 corresponding to a given testset object. testset1.label(5) = 'High-power output' |
C++ Syntax |
HRESULT get_Label(long channelNum, BSTR *pLabel); |
Interface |
ITestsetControl |