Unit

SCPI Commands :

UNIT:ANGLe
UNIT:POWer
UNIT:VELocity
Commands in total: 3
Subgroups: 0
Direct child commands: 3
get_angle() UnitAngle[source]
# 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.

Returns:

angle: DEGree | DEGRee | RADian

get_power() UnitPower[source]
# 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.

Returns:

power: V | DBUV | DBM

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

Sets the default unit for the velocity of the wave.

Returns:

velocity: MPS | KMH | MPH | NMPH

set_angle(angle: UnitAngle) None[source]
# 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.

Parameters:

angle – DEGree | DEGRee | RADian

set_power(power: UnitPower) None[source]
# 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.

Parameters:

power – V | DBUV | DBM

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

Sets the default unit for the velocity of the wave.

Parameters:

velocity – MPS | KMH | MPH | NMPH