Ramp

SCPI Commands

SOURce:VOLTage:RAMP:STATe
SOURce:VOLTage:RAMP:DURation
class RampCls[source]

Ramp commands group definition. 2 total commands, 0 Subgroups, 2 group commands

get_duration() float[source]
# SCPI: [SOURce]:VOLTage:RAMP:DURation
value: float = driver.source.voltage.ramp.get_duration()

Sets or queries the duration of the voltage ramp.

return

voltage: No help available

get_state() bool[source]
# SCPI: [SOURce]:VOLTage:RAMP[:STATe]
value: bool = driver.source.voltage.ramp.get_state()

Sets or queries the state of ramp function for the previous selected channel.

return

arg_0: No help available

set_duration(voltage: float) None[source]
# SCPI: [SOURce]:VOLTage:RAMP:DURation
driver.source.voltage.ramp.set_duration(voltage = 1.0)

Sets or queries the duration of the voltage ramp.

param voltage
  • numeric value: Duration of the ramp function in seconds.

  • MIN | MINimum: Minimum duration of the ramp function at 0.00 s.

  • MAX | MAXimum: Maximum duration of the ramp function at 60.00 s.

  • DEF | DEFault: Default duration of the ramp function at 0.01 s.

set_state(arg_0: bool) None[source]
# SCPI: [SOURce]:VOLTage:RAMP[:STATe]
driver.source.voltage.ramp.set_state(arg_0 = False)

Sets or queries the state of ramp function for the previous selected channel.

param arg_0
  • 0: EasyRamp function is deactivated.

  • 1: EasyRamp function is activated.