Unit

SCPI Commands :

UNIT:ANGLe
UNIT:POWer
UNIT:VELocity
class UnitCls[source]

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

get_angle() RsSmw.enums.UnitAngle[source]
# SCPI: UNIT:ANGLe
value: enums.UnitAngle = driver.unit.get_angle()

Sets the default unit for phase modulation angle. The command affects no other parameters, such as RF phase, or the manual control or display.

return

angle: DEGree| DEGRee| RADian

get_power() RsSmw.enums.UnitPower[source]
# SCPI: UNIT:POWer
value: enums.UnitPower = driver.unit.get_power()

Sets the default unit for all power parameters. This setting affects the GUI, as well as all remote control commands that determine power values.

return

power: V| DBUV| DBM

get_velocity() RsSmw.enums.UnitSpeed[source]
# SCPI: UNIT:VELocity
value: enums.UnitSpeed = driver.unit.get_velocity()

Sets the default unit for the velocity of the wave.

return

velocity: MPS| KMH| MPH| NMPH

set_angle(angle: RsSmw.enums.UnitAngle) None[source]
# SCPI: UNIT:ANGLe
driver.unit.set_angle(angle = enums.UnitAngle.DEGree)

Sets the default unit for phase modulation angle. The command affects no other parameters, such as RF phase, or the manual control or display.

param angle

DEGree| DEGRee| RADian

set_power(power: RsSmw.enums.UnitPower) None[source]
# SCPI: UNIT:POWer
driver.unit.set_power(power = enums.UnitPower.DBM)

Sets the default unit for all power parameters. This setting affects the GUI, as well as all remote control commands that determine power values.

param power

V| DBUV| DBM

set_velocity(velocity: RsSmw.enums.UnitSpeed) None[source]
# SCPI: UNIT:VELocity
driver.unit.set_velocity(velocity = enums.UnitSpeed.KMH)

Sets the default unit for the velocity of the wave.

param velocity

MPS| KMH| MPH| NMPH