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[source]
# [SOURce<HW>]:BB:LORA:FCONfiguration:CRATe
value: enums.LoRaCodRate = driver.source.bb.lora.fconfiguration.get_crate()

Sets the coding rate.

Returns:

crate: CR0 | CR1 | CR2 | CR3 | CR4 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[source]
# [SOURce<HW>]:BB:LORA:FCONfiguration:DLENgth
value: int = driver.source.bb.lora.fconfiguration.get_dlength()

Sets the data length of the payload in the frame.

Returns:

dlength: integer Range: 1 to 255

get_sfactor() LoRaSf[source]
# [SOURce<HW>]:BB:LORA:FCONfiguration:SFACtor
value: enums.LoRaSf = driver.source.bb.lora.fconfiguration.get_sfactor()

Sets the spreading factor for the modulation.

Returns:

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

get_smode() LoRaSyncMode[source]
# [SOURce<HW>]:BB:LORA:FCONfiguration:SMODe
value: enums.LoRaSyncMode = driver.source.bb.lora.fconfiguration.get_smode()

Sets the synchronization mode of the preamble.

Returns:

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[source]
# [SOURce<HW>]:BB:LORA:FCONfiguration:UPLength
value: int = driver.source.bb.lora.fconfiguration.get_up_length()

Sets the unmodulated preamble length.

Returns:

plength: integer Range: 6 to 8

set_crate(crate: LoRaCodRate) None[source]
# [SOURce<HW>]:BB:LORA:FCONfiguration:CRATe
driver.source.bb.lora.fconfiguration.set_crate(crate = enums.LoRaCodRate.CR0)

Sets the coding rate.

Parameters:

crate – CR0 | CR1 | CR2 | CR3 | CR4 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.

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

Sets the data length of the payload in the frame.

Parameters:

dlength – integer Range: 1 to 255

set_sfactor(sf: LoRaSf) None[source]
# [SOURce<HW>]:BB:LORA:FCONfiguration:SFACtor
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

set_smode(smode: LoRaSyncMode) None[source]
# [SOURce<HW>]:BB:LORA:FCONfiguration:SMODe
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.

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

Sets the unmodulated preamble length.

Parameters:

plength – integer Range: 6 to 8

Cloning the Group

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

Subgroups