Define
SCPI Command :
SYSTem:COMMunicate:RDEVice:PMETer<p>:DEFine
- Commands in total: 1Subgroups: 0Direct child commands: 1
- class DefineStruct[source]
Response structure. Fields:
1 Placeholder: str: Currently not used
2 Type_Py: str: Detected power sensor type, e.g. ‘NRP-Z81’.
3 Interface: str: Interface the power sensor is connected to; always ‘USB’
4 Serial_No: str: Serial number of the power sensor assigned to the specified index
- get(powerMeter=PowerMeter.Default) DefineStruct[source]
# SYSTem:COMMunicate:RDEVice:PMETer<p>:DEFine value: DefineStruct = driver.applications.k18AmplifierEt.system.communicate.rdevice.pmeter.define.get(powerMeter = repcap.PowerMeter.Default)
Assigns the power sensor with the specified serial number to the selected power sensor index (configuration) . The query returns the power sensor type and serial number of the sensor assigned to the specified index. For a list of supported power sensors, see the specifications document.
- Parameters:
powerMeter – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Pmeter’)
- Returns:
structure: for return value, see the help for DefineStruct structure arguments.
- set(placeholder: str, type_py: str, interface: str, serial_no: str, powerMeter=PowerMeter.Default) None[source]
# SYSTem:COMMunicate:RDEVice:PMETer<p>:DEFine driver.applications.k18AmplifierEt.system.communicate.rdevice.pmeter.define.set(placeholder = 'abc', type_py = 'abc', interface = 'abc', serial_no = 'abc', powerMeter = repcap.PowerMeter.Default)
Assigns the power sensor with the specified serial number to the selected power sensor index (configuration) . The query returns the power sensor type and serial number of the sensor assigned to the specified index. For a list of supported power sensors, see the specifications document.
- Parameters:
placeholder – Currently not used
type_py – Detected power sensor type, e.g. ‘NRP-Z81’.
interface – Interface the power sensor is connected to; always ‘USB’
serial_no – Serial number of the power sensor assigned to the specified index
powerMeter – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Pmeter’)