Fconfiguration#

SCPI Commands :

[SOURce<HW>]:BB:LORA:FCONfiguration:CRATe
[SOURce<HW>]:BB:LORA:FCONfiguration:DLENgth
[SOURce<HW>]:BB:LORA:FCONfiguration:SFACtor
[SOURce<HW>]:BB:LORA:FCONfiguration:SMODe
[SOURce<HW>]:BB:LORA:FCONfiguration:UPLength
Commands in total: 16
Subgroups: 9
Direct child commands: 5
get_crate ( ) → LoRaCodRate
set_crate ( crate: LoRaCodRate ) → None
# [SOURce<HW>]:BB:LORA:FCONfiguration:CRATe
# get:
value: enums.LoRaCodRate = driver.source.bb.lora.fconfiguration.get_crate()
# set:
driver.source.bb.lora.fconfiguration.set_crate(crate = enums.LoRaCodRate.CR0)

Sets the coding rate.

Parameters:

crate – CRx = 0 to 4 The coding rate RCoding is calculated as follows: RCoding = 4 / (4 + CRx) CR0 corresponds to no coding, i.e. RCoding = 1.

get_dlength ( ) → int
set_dlength ( dlength: int ) → None
# [SOURce<HW>]:BB:LORA:FCONfiguration:DLENgth
# get:
value: int = driver.source.bb.lora.fconfiguration.get_dlength()
# set:
driver.source.bb.lora.fconfiguration.set_dlength(dlength = 1)

Sets the data length of the payload in the frame.

Parameters:

dlength – integer

get_sfactor ( ) → LoRaSf
set_sfactor ( sf: LoRaSf ) → None
# [SOURce<HW>]:BB:LORA:FCONfiguration:SFACtor
# get:
value: enums.LoRaSf = driver.source.bb.lora.fconfiguration.get_sfactor()
# set:
driver.source.bb.lora.fconfiguration.set_sfactor(sf = enums.LoRaSf.SF10)

Sets the spreading factor for the modulation.

Parameters:

sf – SF6 | SF7 | SF8 | SF9 | SF10 | SF11 | SF12

get_smode ( ) → LoRaSyncMode
set_smode ( smode: LoRaSyncMode ) → None
# [SOURce<HW>]:BB:LORA:FCONfiguration:SMODe
# get:
value: enums.LoRaSyncMode = driver.source.bb.lora.fconfiguration.get_smode()
# set:
driver.source.bb.lora.fconfiguration.set_smode(smode = enums.LoRaSyncMode.PRIVate)

Sets the synchronization mode of the preamble.

Parameters:

smode – PRIVate | PUBLic

  • PRIVate: A preamble with a public sync word is generated.

  • PUBLic: A preamble with a private sync word is generated.

get_up_length ( ) → int
set_up_length ( plength: int ) → None
# [SOURce<HW>]:BB:LORA:FCONfiguration:UPLength
# get:
value: int = driver.source.bb.lora.fconfiguration.get_up_length()
# set:
driver.source.bb.lora.fconfiguration.set_up_length(plength = 1)

Sets the unmodulated preamble length.

Parameters:

plength – integer

Cloning the Group

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

Subgroups