Define
SCPI Command :
SYSTem:COMMunicate:RDEVice:PMETer<p>:DEFine
- class DefineCls[source]
Define commands group definition. 1 total commands, 0 Subgroups, 1 group commands
- class DefineStruct[source]
Response structure. Fields:
Placeholder: str: Currently not used
Type_Py: str: Detected power sensor type, e.g. ‘NRP-Z81’.
Interface: str: Interface the power sensor is connected to; always ‘USB’
Serial_No: str: Serial number of the power sensor assigned to the specified index
- get(powerMeter=PowerMeter.Default) DefineStruct [source]
# SCPI: SYSTem:COMMunicate:RDEVice:PMETer<p>:DEFine value: DefineStruct = driver.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.
- param powerMeter
optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Pmeter’)
- return
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]
# SCPI: SYSTem:COMMunicate:RDEVice:PMETer<p>:DEFine driver.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.
- param placeholder
Currently not used
- param type_py
Detected power sensor type, e.g. ‘NRP-Z81’.
- param interface
Interface the power sensor is connected to; always ‘USB’
- param serial_no
Serial number of the power sensor assigned to the specified index
- param powerMeter
optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Pmeter’)