Set#

SCPI Command :

[SENSe]:LIST:POWer:SET
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get ( ) → SetStruct
set ( structure: SetStruct ) → None
# [SENSe]:LIST:POWer:SET
# get:
value: SetStruct = driver.sense.listPy.power.set.get()

# set:
structure = driver.sense.listPy.power.set.SetStruct()
structure.State_Peak: bool = False
structure.State_Rms: bool = False
structure.State_Avg: bool = False
structure.Trigger_Source: enums.TriggerSourceListPower = enums.TriggerSourceListPower.EXT2
structure.Trigger_Slope: enums.SlopeType = enums.SlopeType.NEGative
structure.Trigger_Offset: float = 1.0
structure.Gate_Length: float = 1.0
driver.sense.listPy.power.set.set(structure)

No help available

Parameters:

structure – for set value, see the help for SetStruct structure arguments.

Returns:

structure: for return value, see the help for SetStruct structure arguments.

class SetStruct

Structure for setting input parameters. Fields:

  • 1 State_Peak: bool:

  • 2 State_Rms: bool:

  • 3 State_Avg: bool:

  • 4 Trigger_Source: enums.TriggerSourceListPower:

  • 5 Trigger_Slope: enums.SlopeType:

  • 6 Trigger_Offset: float:

  • 7 Gate_Length: float: