Lsw

SCPI Commands :

SCAN:LSW:DIRection
SCAN:LSW:DWELl
SCAN:LSW:LOBes
SCAN:LSW:ROTation
SCAN:LSW:SQUint
class LswCls[source]

Lsw commands group definition. 5 total commands, 0 Subgroups, 5 group commands

get_direction() LswDirection[source]
# SCPI: SCAN:LSW:DIRection
value: enums.LswDirection = driver.scan.lsw.get_direction()

Sets the horizontal or vertical switching direction.

return:

direction: H| V

get_dwell() float[source]
# SCPI: SCAN:LSW:DWELl
value: float = driver.scan.lsw.get_dwell()

Sets the speed with that the antenna switches between the lobes.

return:

dwell: float Range: 1e-06 to 1

get_lobes() LobesCount[source]
# SCPI: SCAN:LSW:LOBes
value: enums.LobesCount = driver.scan.lsw.get_lobes()

Set the number of lobes.

return:

lobes: 2| 4

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

Sets the rotation direction of the antenna.

return:

rotation: CW| CCW

get_squint() float[source]
# SCPI: SCAN:LSW:SQUint
value: float = driver.scan.lsw.get_squint()

Sets the offset angle of the antenna beam, that means for the conical antenna the parameter sets the radius of the scanned circle.

return:

squint: float Range: 0.05 to 15, Unit: degree

set_direction(direction: LswDirection) None[source]
# SCPI: SCAN:LSW:DIRection
driver.scan.lsw.set_direction(direction = enums.LswDirection.H)

Sets the horizontal or vertical switching direction.

param direction:

H| V

set_dwell(dwell: float) None[source]
# SCPI: SCAN:LSW:DWELl
driver.scan.lsw.set_dwell(dwell = 1.0)

Sets the speed with that the antenna switches between the lobes.

param dwell:

float Range: 1e-06 to 1

set_lobes(lobes: LobesCount) None[source]
# SCPI: SCAN:LSW:LOBes
driver.scan.lsw.set_lobes(lobes = enums.LobesCount._2)

Set the number of lobes.

param lobes:

2| 4

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

Sets the rotation direction of the antenna.

param rotation:

CW| CCW

set_squint(squint: float) None[source]
# SCPI: SCAN:LSW:SQUint
driver.scan.lsw.set_squint(squint = 1.0)

Sets the offset angle of the antenna beam, that means for the conical antenna the parameter sets the radius of the scanned circle.

param squint:

float Range: 0.05 to 15, Unit: degree