Lora

SCPI Commands :

[SOURce<HW>]:BB:LORA:BWIDth
[SOURce<HW>]:BB:LORA:IINTerval
[SOURce<HW>]:BB:LORA:OSAMpling
[SOURce<HW>]:BB:LORA:PRESet
[SOURce<HW>]:BB:LORA:SLENgth
[SOURce<HW>]:BB:LORA:STATe
Commands in total: 60
Subgroups: 7
Direct child commands: 6
get_bandwidth() LoRaBw[source]
# [SOURce<HW>]:BB:LORA:BWIDth
value: enums.LoRaBw = driver.source.bb.lora.get_bandwidth()

Sets the channel bandwidth.

Returns:

bw: BW7 | BW10 | BW15 | BW20 | BW31 | BW41 | BW62 | BW125 | BW250 | BW500

get_iinterval() float[source]
# [SOURce<HW>]:BB:LORA:IINTerval
value: float = driver.source.bb.lora.get_iinterval()

Sets the time of the interval separating two frames.

Returns:

iinterval: float Range: 0 to 1, Unit: s

get_osampling() int[source]
# [SOURce<HW>]:BB:LORA:OSAMpling
value: int = driver.source.bb.lora.get_osampling()

Sets the oversampling factor of the generated waveform. A reduced sample rate saves significantly the amount of memory or allows an increased signal cycle time, and vice versa.

Returns:

osampling: integer Range: 1 to 32

get_slength() int[source]
# [SOURce<HW>]:BB:LORA:SLENgth
value: int = driver.source.bb.lora.get_slength()

Sets the sequence length of the signal in number of frames. The signal is calculated in advance and output in the arbitrary waveform generator.

Returns:

slength: integer Range: 1 to dynamic

get_state() bool[source]
# [SOURce<HW>]:BB:LORA:STATe
value: bool = driver.source.bb.lora.get_state()

Activates the standard and deactivates all the other digital standards and digital modulation modes in the same path.

Returns:

state: 1 | ON | 0| OFF

preset() None[source]
# [SOURce<HW>]:BB:LORA:PRESet
driver.source.bb.lora.preset()

Sets the parameters of the digital standard to their default values (*RST values specified for the commands) . Not affected is the state set with the command SOURce<hw>:BB:LORA:STATe.

preset_with_opc(opc_timeout_ms: int = -1) None[source]
# [SOURce<HW>]:BB:LORA:PRESet
driver.source.bb.lora.preset_with_opc()

Sets the parameters of the digital standard to their default values (*RST values specified for the commands) . Not affected is the state set with the command SOURce<hw>:BB:LORA:STATe.

Same as preset, but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout_set() to set the timeout value.

Parameters:

opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.

set_bandwidth(bw: LoRaBw) None[source]
# [SOURce<HW>]:BB:LORA:BWIDth
driver.source.bb.lora.set_bandwidth(bw = enums.LoRaBw.BW10)

Sets the channel bandwidth.

Parameters:

bw – BW7 | BW10 | BW15 | BW20 | BW31 | BW41 | BW62 | BW125 | BW250 | BW500

set_iinterval(iinterval: float) None[source]
# [SOURce<HW>]:BB:LORA:IINTerval
driver.source.bb.lora.set_iinterval(iinterval = 1.0)

Sets the time of the interval separating two frames.

Parameters:

iinterval – float Range: 0 to 1, Unit: s

set_osampling(osampling: int) None[source]
# [SOURce<HW>]:BB:LORA:OSAMpling
driver.source.bb.lora.set_osampling(osampling = 1)

Sets the oversampling factor of the generated waveform. A reduced sample rate saves significantly the amount of memory or allows an increased signal cycle time, and vice versa.

Parameters:

osampling – integer Range: 1 to 32

set_slength(slength: int) None[source]
# [SOURce<HW>]:BB:LORA:SLENgth
driver.source.bb.lora.set_slength(slength = 1)

Sets the sequence length of the signal in number of frames. The signal is calculated in advance and output in the arbitrary waveform generator.

Parameters:

slength – integer Range: 1 to dynamic

set_state(state: bool) None[source]
# [SOURce<HW>]:BB:LORA:STATe
driver.source.bb.lora.set_state(state = False)

Activates the standard and deactivates all the other digital standards and digital modulation modes in the same path.

Parameters:

state – 1 | ON | 0| OFF

Cloning the Group

# Create a copy of the original group, that exists independently
lora_copy = driver.source.bb.lora.clone()

Subgroups