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
class LoraCls[source]

Lora commands group definition. 58 total commands, 7 Subgroups, 6 group commands

get_bandwidth() RsSmbv.enums.LoRaBw[source]
# SCPI: [SOURce<HW>]:BB:LORA:BWIDth
value: enums.LoRaBw = driver.source.bb.lora.get_bandwidth()

Sets the channel bandwidth.

return

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

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

Sets the time of the interval separating two frames.

return

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

get_osampling() int[source]
# SCPI: [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.

return

osampling: integer Range: 1 to 32

get_slength() int[source]
# SCPI: [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.

return

slength: integer Range: 1 to dynamic

get_state() bool[source]
# SCPI: [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.

return

state: 1| ON| 0| OFF

preset() None[source]
# SCPI: [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]
# SCPI: [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 RsSmbv.utilities.opc_timeout_set() to set the timeout value.

param opc_timeout_ms

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

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

Sets the channel bandwidth.

param bw

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

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

Sets the time of the interval separating two frames.

param iinterval

float Range: 0 to 1, Unit: s

set_osampling(osampling: int) None[source]
# SCPI: [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.

param osampling

integer Range: 1 to 32

set_slength(slength: int) None[source]
# SCPI: [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.

param slength

integer Range: 1 to dynamic

set_state(state: bool) None[source]
# SCPI: [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.

param state

1| ON| 0| OFF

Cloning the Group

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

Subgroups