Write / Read
About Source Power Cal

Locator Property


Description

Specifies the location, address, or ID string of the power meter / sensor that is used during a source power calibration.

Use Path Property to specify the type of interface.

VB Syntax

pwrMtrInterface.Locator = value

Variable

(Type) - Description

pwrMtrInterface

(object) -  A PowerMeterInterface (object)

value

(string)  Location of the power meter / sensor, depending on the type of interface (Path Property)

  • For naGPIB, address of the power meter. Choose any integer between 0 and 30.

  • For naUSB, the ID string of the power sensor. Use USBPowerMeterCatalog Property to see a list of ID strings of connected power sensors.

  • For naLAN, the hostname or IP address of the power meter.

  • For naANY, any VISA resource string or a VISA alias.

Return Type

String

Default

Not applicable

Examples

pwrMeterInterface.Locator = "13"  'GPIB address

pwrMeterInterface.Locator = "Keysight Technologies,U2000A,MY12345678”  'USB ID string

pwrMeterInterface.Locator = "mymeter.Keysight.com"  'LAN

pwrMeterInterface.Locator = "TCPIP0::mymeter.Keysight.com::5025::SOCKET" ' Any

C++ Syntax

HRESULT put_Locator( BSTR pValue );

HRESULT get_Locator(BSTR* pValue );

Locator

IPowerMeterInterface