SCPI.SYSTem.COMMunicate.PSENsor

Object type

Property (Read-Write)

Syntax

SCPI.SYSTem.COMMunicate.PSENsor = <char>,<string>

Param = SCPI.SYSTem.COMMunicate.PSENsor

Description

This command specifies the type and location of the power meter to be used in a source power calibration

Variable

Parameter

char

Description

Power Meter Type

Data type

Character string type (String)

Range

Select from either of the following:

  • "GPIB": GPIB Power Meter.

  • "USB": USB Power Meter.

 

Parameter

string

Description

Address/ID string of Power Meter

Data type

Character string type (String)

Range

For char=GPIB, address of the power meter. Choose any integer between 0 and 30.

For char=USB, the ID string of the power meter or power sensor. Use SYST:COMM:USB:PMET:CAT? to see a list of ID strings of connected power meters and sensors.

Examples

Dim PsenModel As String
PsenModel = SCPI.SYSTem.COMMunicate.USB.PMETer.CATalog
SCPI.SYSTem.COMMunicate.PSENsor = Array("USB", PsenModel)

Related objects

SYSTem.COMMunicate.USB.PMETer.CATalog

Equivalent key

System > Misc Setup > Power Meter Setup > Select Type > GPIB|USB

Equivalent SCPI command

Syntax

:SYSTem:COMMunicate:PSENsor {GPIB|USB},{string (address/ID string)}

:SYSTem:COMMunicate:PSENsor?

Query response

{GPIB|USB},{string (address/ID string)}<newline><^END>

Example of use

10 OUTPUT 717;":SYST:COMM:USB:PMET:CAT?"
20 ENTER 717;A$
30 OUTPUT 717;":SYST:COMM:PSEN USB,"&A$