Unit
SCPI Commands :
[SOURce<HW>]:REGenerator:UNIT:ANGLe
[SOURce<HW>]:REGenerator:UNIT:LENGth
[SOURce<HW>]:REGenerator:UNIT:VELocity
- Commands in total: 3Subgroups: 0Direct child commands: 3
- get_angle() UnitAngle[source]
# [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.
- Returns:
unit: DEGree | DEGRee | RADian
- get_length() UnitLengthReg[source]
# [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.
- Returns:
unit: MI | NM | KM | M
- get_velocity() UnitSpeed[source]
# [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.
- Returns:
unit: MPS | KMH | MPH | NMPH
- set_angle(unit: UnitAngle) None[source]
# [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.
- Parameters:
unit – DEGree | DEGRee | RADian
- set_length(unit: UnitLengthReg) None[source]
# [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.
- Parameters:
unit – MI | NM | KM | M
- set_velocity(unit: UnitSpeed) None[source]
# [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.
- Parameters:
unit – MPS | KMH | MPH | NMPH