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: 58
Subgroups: 7
Direct child commands: 6
get_bandwidth ( ) → LoRaBw
set_bandwidth ( bw: LoRaBw ) → None
# [SOURce<HW>]:BB:LORA:BWIDth
# get:
value: enums.LoRaBw = driver.source.bb.lora.get_bandwidth()
# set:
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

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

Sets the time of the interval separating two frames.

Parameters:

iinterval – float

get_osampling ( ) → int
set_osampling ( osampling: int ) → None
# [SOURce<HW>]:BB:LORA:OSAMpling
# get:
value: int = driver.source.bb.lora.get_osampling()
# set:
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

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

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() does the same as preset(), but waits for the operation to complete before continuing further. Use the RsSmbv.utilities.opc_timeout to set the timeout value.

Parameters:

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

get_slength ( ) → int
set_slength ( slength: int ) → None
# [SOURce<HW>]:BB:LORA:SLENgth
# get:
value: int = driver.source.bb.lora.get_slength()
# set:
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

get_state ( ) → bool
set_state ( state: bool ) → None
# [SOURce<HW>]:BB:LORA:STATe
# get:
value: bool = driver.source.bb.lora.get_state()
# set:
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