Duration

SCPI Commands :

SCENario:OUTPut:DURation:AUTO
SCENario:OUTPut:DURation:MODE
SCENario:OUTPut:DURation:TIME
class DurationCls[source]

Duration commands group definition. 3 total commands, 0 Subgroups, 3 group commands

get_auto() float[source]
# SCPI: SCENario:OUTPut:DURation:AUTO
value: float = driver.scenario.output.duration.get_auto()

Requires SCENario:OUTPut:DURation:MODE AUTO. Queries the value of the automatically determined signal duration.

return:

auto: float Range: 1e-06 to 1.8432e+06

get_mode() AutoManualMode[source]
# SCPI: SCENario:OUTPut:DURation:MODE
value: enums.AutoManualMode = driver.scenario.output.duration.get_mode()

Sets how the waveform duration is defined.

return:

mode: AUTO| MANual AUTO Sets the simulation time to maximum of sequence, scan or movement duration. MANual Sets the simulation time to a fixed value.

get_time() float[source]
# SCPI: SCENario:OUTPut:DURation:TIME
value: float = driver.scenario.output.duration.get_time()

Sets the duration of the generated waveform.

return:

time: float Range: 1e-06 to 1.8432e+06 Simulation time longer than 7200s requires R&S SMW with firmware version 5.xx.xxx and higher. To query the installed firmware version of the selected instrument, use the command method RsPulseSeq.Instrument.firmware.

set_mode(mode: AutoManualMode) None[source]
# SCPI: SCENario:OUTPut:DURation:MODE
driver.scenario.output.duration.set_mode(mode = enums.AutoManualMode.AUTO)

Sets how the waveform duration is defined.

param mode:

AUTO| MANual AUTO Sets the simulation time to maximum of sequence, scan or movement duration. MANual Sets the simulation time to a fixed value.

set_time(time: float) None[source]
# SCPI: SCENario:OUTPut:DURation:TIME
driver.scenario.output.duration.set_time(time = 1.0)

Sets the duration of the generated waveform.

param time:

float Range: 1e-06 to 1.8432e+06 Simulation time longer than 7200s requires R&S SMW with firmware version 5.xx.xxx and higher. To query the installed firmware version of the selected instrument, use the command method RsPulseSeq.Instrument.firmware.