OnOff

SCPI Commands :

POWer:ONOFf:TYPE
POWer:ONOFf:INPut
POWer:ONOFf:ATON
POWer:ONOFf:ATOFf
POWer:ONOFf:DTON
POWer:ONOFf:DTOFf
POWer:ONOFf:DSON
POWer:ONOFf:DSOFf
POWer:ONOFf:TIME
Commands in total: 13
Subgroups: 3
Direct child commands: 9
get_at_off() float[source]
# POWer:ONOFf:ATOFf
value: float = driver.power.onOff.get_at_off()

Triggers the beginning of the measurements at the moment the AC input voltage reaches the set value.

get_at_on() float[source]
# POWer:ONOFf:ATON
value: float = driver.power.onOff.get_at_on()

Triggers the beginning of the measurements at the moment the AC input voltage reaches the set value.

Returns:

act_rig_lev_on: -1E+6 to 1E+6

get_ds_off() float[source]
# POWer:ONOFf:DSOFf
value: float = driver.power.onOff.get_ds_off()

Sets the percentage of the steady state level of the DC output that has to be reached.

get_dson() float[source]
# POWer:ONOFf:DSON
value: float = driver.power.onOff.get_dson()

Sets the percentage of the steady state level of the DC output that has to be reached.

get_dt_off() float[source]
# POWer:ONOFf:DTOFf
value: float = driver.power.onOff.get_dt_off()

Sets the percentage of the steady state level of the DC output that has to be reached.

get_dt_on() float[source]
# POWer:ONOFf:DTON
value: float = driver.power.onOff.get_dt_on()

Sets the percentage of the steady state level of the DC output that has to be reached.

get_input_py() PwrOnOffInputType[source]
# POWer:ONOFf:INPut
value: enums.PwrOnOffInputType = driver.power.onOff.get_input_py()

Sets the input type.

Returns:

input_type: AC | DC

get_time() float[source]
# POWer:ONOFf:TIME
value: float = driver.power.onOff.get_time()

Sets the time, the start of the measurement of the turn off time is delay with, after the trigger point.

Returns:

time: 100E-12 to 10000

get_type_py() PwrOnOffMeasType[source]
# POWer:ONOFf:TYPE
value: enums.PwrOnOffMeasType = driver.power.onOff.get_type_py()

Selects the measurement type.

Returns:

meas_type: TON - Turn on measurement TOFF - Turn off measurement

set_at_off(act_rig_lev_off: float) None[source]
# POWer:ONOFf:ATOFf
driver.power.onOff.set_at_off(act_rig_lev_off = 1.0)

Triggers the beginning of the measurements at the moment the AC input voltage reaches the set value.

Parameters:

act_rig_lev_off – -1E+6 to 1E+6

set_at_on(act_rig_lev_on: float) None[source]
# POWer:ONOFf:ATON
driver.power.onOff.set_at_on(act_rig_lev_on = 1.0)

Triggers the beginning of the measurements at the moment the AC input voltage reaches the set value.

Parameters:

act_rig_lev_on – -1E+6 to 1E+6

set_ds_off(dc_steady_st_lev_off: float) None[source]
# POWer:ONOFf:DSOFf
driver.power.onOff.set_ds_off(dc_steady_st_lev_off = 1.0)

Sets the percentage of the steady state level of the DC output that has to be reached.

Parameters:

dc_steady_st_lev_off – 0 to 100

set_dson(dc_steady_st_lev_on: float) None[source]
# POWer:ONOFf:DSON
driver.power.onOff.set_dson(dc_steady_st_lev_on = 1.0)

Sets the percentage of the steady state level of the DC output that has to be reached.

Parameters:

dc_steady_st_lev_on – 0 to 100

set_dt_off(act_rig_lev_off: float) None[source]
# POWer:ONOFf:DTOFf
driver.power.onOff.set_dt_off(act_rig_lev_off = 1.0)

Sets the percentage of the steady state level of the DC output that has to be reached.

Parameters:

act_rig_lev_off – 0 to 100

set_dt_on(act_rig_lev_on: float) None[source]
# POWer:ONOFf:DTON
driver.power.onOff.set_dt_on(act_rig_lev_on = 1.0)

Sets the percentage of the steady state level of the DC output that has to be reached.

Parameters:

act_rig_lev_on – 0 to 100

set_input_py(input_type: PwrOnOffInputType) None[source]
# POWer:ONOFf:INPut
driver.power.onOff.set_input_py(input_type = enums.PwrOnOffInputType.AC)

Sets the input type.

Parameters:

input_type – AC | DC

set_time(time: float) None[source]
# POWer:ONOFf:TIME
driver.power.onOff.set_time(time = 1.0)

Sets the time, the start of the measurement of the turn off time is delay with, after the trigger point.

Parameters:

time – 100E-12 to 10000

set_type_py(meas_type: PwrOnOffMeasType) None[source]
# POWer:ONOFf:TYPE
driver.power.onOff.set_type_py(meas_type = enums.PwrOnOffMeasType.TOFF)

Selects the measurement type.

Parameters:

meas_type – TON - Turn on measurement TOFF - Turn off measurement

Cloning the Group

# Create a copy of the original group, that exists independently
onOff_copy = driver.power.onOff.clone()

Subgroups