Unit

SCPI Commands :

[SOURce<HW>]:REGenerator:UNIT:ANGLe
[SOURce<HW>]:REGenerator:UNIT:LENGth
[SOURce<HW>]:REGenerator:UNIT:VELocity
class UnitCls[source]

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

get_angle() RsSmw.enums.UnitAngle[source]
# SCPI: [SOURce<HW>]:REGenerator:UNIT:ANGLe
value: enums.UnitAngle = driver.source.regenerator.unit.get_angle()

Sets the default unit for the parameter as displayed in the dialog. Note: This command changes only the units displayed in the graphical user interface. While configuring the angle via remote control, the angle units must be specified.

return

unit: DEGree| DEGRee| RADian

get_length() RsSmw.enums.UnitLengthReg[source]
# SCPI: [SOURce<HW>]:REGenerator:UNIT:LENGth
value: enums.UnitLengthReg = driver.source.regenerator.unit.get_length()

Sets the default unit for the parameter as displayed in the dialog. Note: This command changes only the units displayed in the graphical user interface. While configuring the range or the distance via remote control, the units must be specified.

return

unit: MI| NM| KM| M

get_velocity() RsSmw.enums.UnitSpeed[source]
# SCPI: [SOURce<HW>]:REGenerator:UNIT:VELocity
value: enums.UnitSpeed = driver.source.regenerator.unit.get_velocity()

Sets the default unit for the parameter as displayed in the dialog. Note: This command changes only the units displayed in the graphical user interface. While configuring the velocity via remote control, the velocity units must be specified.

return

unit: MPS| KMH| MPH| NMPH

set_angle(unit: RsSmw.enums.UnitAngle) None[source]
# SCPI: [SOURce<HW>]:REGenerator:UNIT:ANGLe
driver.source.regenerator.unit.set_angle(unit = enums.UnitAngle.DEGree)

Sets the default unit for the parameter as displayed in the dialog. Note: This command changes only the units displayed in the graphical user interface. While configuring the angle via remote control, the angle units must be specified.

param unit

DEGree| DEGRee| RADian

set_length(unit: RsSmw.enums.UnitLengthReg) None[source]
# SCPI: [SOURce<HW>]:REGenerator:UNIT:LENGth
driver.source.regenerator.unit.set_length(unit = enums.UnitLengthReg.KM)

Sets the default unit for the parameter as displayed in the dialog. Note: This command changes only the units displayed in the graphical user interface. While configuring the range or the distance via remote control, the units must be specified.

param unit

MI| NM| KM| M

set_velocity(unit: RsSmw.enums.UnitSpeed) None[source]
# SCPI: [SOURce<HW>]:REGenerator:UNIT:VELocity
driver.source.regenerator.unit.set_velocity(unit = enums.UnitSpeed.KMH)

Sets the default unit for the parameter as displayed in the dialog. Note: This command changes only the units displayed in the graphical user interface. While configuring the velocity via remote control, the velocity units must be specified.

param unit

MPS| KMH| MPH| NMPH