Data

SCPI Commands :

[SOURce<HW>]:BB:LORA:FCONfiguration:DATA:DSELection
[SOURce<HW>]:BB:LORA:FCONfiguration:DATA
class DataCls[source]

Data commands group definition. 3 total commands, 1 Subgroups, 2 group commands

get_dselection() str[source]
# SCPI: [SOURce<HW>]:BB:LORA:FCONfiguration:DATA:DSELection
value: str = driver.source.bb.lora.fconfiguration.data.get_dselection()

Selects an existing data list file from the default directory or from the specific directory. The data list is only used, if the data source DLIS is selected.

return:

dselection: string Filename incl. file extension or complete file path

get_value() DataSourceA[source]
# SCPI: [SOURce<HW>]:BB:LORA:FCONfiguration:DATA
value: enums.DataSourceA = driver.source.bb.lora.fconfiguration.data.get_value()

Sets the data source for the payload data in a LoRa frame.

return:

data: ZERO| ONE| PATTern| PN9| PN11| PN15| PN16| PN20| PN21| PN23| DLISt PNxx The pseudo-random sequence generator is used as the data source. There is a choice of different lengths of random sequence. DLISt A data list is used. The data list is selected with the aid of command SOURce:BB:LORA:DATA DLISt. ALL0 | ALL1 Internal 0 or 1 data is used. PATTern Internal data is used. The bit pattern for the data is defined with the aid of command :SOURce:BB:LORA:DATA PATTern.

set_dselection(dselection: str) None[source]
# SCPI: [SOURce<HW>]:BB:LORA:FCONfiguration:DATA:DSELection
driver.source.bb.lora.fconfiguration.data.set_dselection(dselection = 'abc')

Selects an existing data list file from the default directory or from the specific directory. The data list is only used, if the data source DLIS is selected.

param dselection:

string Filename incl. file extension or complete file path

set_value(data: DataSourceA) None[source]
# SCPI: [SOURce<HW>]:BB:LORA:FCONfiguration:DATA
driver.source.bb.lora.fconfiguration.data.set_value(data = enums.DataSourceA.DLISt)

Sets the data source for the payload data in a LoRa frame.

param data:

ZERO| ONE| PATTern| PN9| PN11| PN15| PN16| PN20| PN21| PN23| DLISt PNxx The pseudo-random sequence generator is used as the data source. There is a choice of different lengths of random sequence. DLISt A data list is used. The data list is selected with the aid of command SOURce:BB:LORA:DATA DLISt. ALL0 | ALL1 Internal 0 or 1 data is used. PATTern Internal data is used. The bit pattern for the data is defined with the aid of command :SOURce:BB:LORA:DATA PATTern.

Cloning the Group

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

Subgroups