Data

SCPI Commands :

[SOURce<HW>]:BB:LORA:FCONfiguration:DATA:DSELection
[SOURce<HW>]:BB:LORA:FCONfiguration:DATA
Commands in total: 3
Subgroups: 1
Direct child commands: 2
get_dselection() str[source]
# [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.

Returns:

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

get_value() DataSourceA[source]
# [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.

Returns:

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]
# [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.

Parameters:

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

set_value(data: DataSourceA) None[source]
# [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.

Parameters:

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 copy of the original group, that exists independently
data_copy = driver.source.bb.lora.fconfiguration.data.clone()

Subgroups