Sequence

SCPI Command :

[SENSe]:MPOWer[:SEQuence]
class SequenceCls[source]

Sequence commands group definition. 1 total commands, 0 Subgroups, 1 group commands

class SetStruct[source]

Structure for setting input parameters. Fields:

  • Frequency: float: Defines the pulse frequency. Range: 0 to Fmax, Unit: Hz

  • Rbw: float: Defines the resolution bandwidth. Unit: HZ

  • Meas_Time: float: Defines the measurement time. Range: 1 us to 30 s, Unit: S

  • Trigger_Source: enums.TriggerSourceMpower: EXTernal | EXT2 | EXT3 | VIDeo | IFPower Selects a trigger source. For more information see ‘Configuring triggered and gated measurements’.

  • Trigger_Level: float: Defines a trigger level. The trigger level is available for the video trigger or IF power trigger. For a video trigger, the level is a percentage (0 to 100) of the diagram height. For an IF power trigger, the level is a dBm value. See the specifications document for available trigger levels and trigger bandwidths. For an external trigger, the FSW uses a fixed TTL level.

  • Trigger_Offset: float: Defines the trigger delay. Range: 0 s to 30 s, Unit: s

  • Detector: enums.MpowerDetector: Selects the detector and therefore the way the measurement is evaluated. MEAN Calculates the RMS pulse power. PEAK Calculates the peak pulse power.

  • Of_Pulses: float: Defines the number of pulses included in the measurement. Range: 1 to 32001

get() List[float][source]
# SCPI: [SENSe]:MPOWer[:SEQuence]
value: List[float] = driver.sense.mpower.sequence.get()

Configures and initiates the pulse power measurement. The FSW caches all measurement parameters that you can set with this command. If you use the command repeatedly, the FSW only changes those settings that you have actually changed before initiating the measurement. Thus, measurement times are kept as low as possible. If you synchronize the measurement with *OPC, the FSW produces a service request when all frequencies have been measured and the number of individual measurements has been performed. Note that using the command as a query initiates the measurement and returns the results if all frequencies have been measured. For more information on querying the results see [SENSe:]LIST:POWer:RESult?.

return

power_levels: No help available

set(structure: RsFsw.Implementations.Sense.Mpower.Sequence.SequenceCls.SetStruct) None[source]
# SCPI: [SENSe]:MPOWer[:SEQuence]
structure = driver.sense.mpower.sequence.SetStruct()
structure.Frequency: float = 1.0
structure.Rbw: float = 1.0
structure.Meas_Time: float = 1.0
structure.Trigger_Source: enums.TriggerSourceMpower = enums.TriggerSourceMpower.EXT2
structure.Trigger_Level: float = 1.0
structure.Trigger_Offset: float = 1.0
structure.Detector: enums.MpowerDetector = enums.MpowerDetector.MEAN
structure.Of_Pulses: float = 1.0
driver.sense.mpower.sequence.set(structure)

Configures and initiates the pulse power measurement. The FSW caches all measurement parameters that you can set with this command. If you use the command repeatedly, the FSW only changes those settings that you have actually changed before initiating the measurement. Thus, measurement times are kept as low as possible. If you synchronize the measurement with *OPC, the FSW produces a service request when all frequencies have been measured and the number of individual measurements has been performed. Note that using the command as a query initiates the measurement and returns the results if all frequencies have been measured. For more information on querying the results see [SENSe:]LIST:POWer:RESult?.

param structure

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