Sin

SCPI Commands :

SCAN:SIN:HEIGht
SCAN:SIN:INVersion
SCAN:SIN:RATE
SCAN:SIN:ROTation
SCAN:SIN:UNIDirection
SCAN:SIN:WIDTh
class SinCls[source]

Sin commands group definition. 6 total commands, 0 Subgroups, 6 group commands

get_height() float[source]
# SCPI: SCAN:SIN:HEIGht
value: float = driver.scan.sin.get_height()

Sets the amplitude of the sine wave.

return:

height: float Range: 1 to 90

get_inversion() bool[source]
# SCPI: SCAN:SIN:INVersion
value: bool = driver.scan.sin.get_inversion()

Sets whether the upper or the down (mirrored) sine wave is used first.

return:

inversion: ON| OFF| 1| 0 OFF Upper sine first ON Down sine first

get_rate() float[source]
# SCPI: SCAN:SIN:RATE
value: float = driver.scan.sin.get_rate()

Sets the turning speed.

return:

rate: float Range: 0.01 to 100000, Unit: degree/s

get_rotation() Rotation[source]
# SCPI: SCAN:SIN:ROTation
value: enums.Rotation = driver.scan.sin.get_rotation()

Sets the rotation direction of the antenna.

return:

rotation: CW| CCW

get_uni_direction() bool[source]
# SCPI: SCAN:SIN:UNIDirection
value: bool = driver.scan.sin.get_uni_direction()

Enables a unidirectional scan mode.

return:

uni_direction: ON| OFF| 1| 0

get_width() float[source]
# SCPI: SCAN:SIN:WIDTh
value: float = driver.scan.sin.get_width()

Sets the angle on the XY plane between the origin and the end of the scan.

return:

width: float Range: 1 to 180

set_height(height: float) None[source]
# SCPI: SCAN:SIN:HEIGht
driver.scan.sin.set_height(height = 1.0)

Sets the amplitude of the sine wave.

param height:

float Range: 1 to 90

set_inversion(inversion: bool) None[source]
# SCPI: SCAN:SIN:INVersion
driver.scan.sin.set_inversion(inversion = False)

Sets whether the upper or the down (mirrored) sine wave is used first.

param inversion:

ON| OFF| 1| 0 OFF Upper sine first ON Down sine first

set_rate(rate: float) None[source]
# SCPI: SCAN:SIN:RATE
driver.scan.sin.set_rate(rate = 1.0)

Sets the turning speed.

param rate:

float Range: 0.01 to 100000, Unit: degree/s

set_rotation(rotation: Rotation) None[source]
# SCPI: SCAN:SIN:ROTation
driver.scan.sin.set_rotation(rotation = enums.Rotation.CCW)

Sets the rotation direction of the antenna.

param rotation:

CW| CCW

set_uni_direction(uni_direction: bool) None[source]
# SCPI: SCAN:SIN:UNIDirection
driver.scan.sin.set_uni_direction(uni_direction = False)

Enables a unidirectional scan mode.

param uni_direction:

ON| OFF| 1| 0

set_width(width: float) None[source]
# SCPI: SCAN:SIN:WIDTh
driver.scan.sin.set_width(width = 1.0)

Sets the angle on the XY plane between the origin and the end of the scan.

param width:

float Range: 1 to 180