Dm#

SCPI Commands :

[SOURce<HW>]:BB:DM:CODing
[SOURce<HW>]:BB:DM:FORMat
[SOURce<HW>]:BB:DM:MDELay
[SOURce<HW>]:BB:DM:PRESet
[SOURce<HW>]:BB:DM:SLENgth
[SOURce<HW>]:BB:DM:SOURce
[SOURce<HW>]:BB:DM:SRATe
[SOURce<HW>]:BB:DM:STATe
Commands in total: 112
Subgroups: 20
Direct child commands: 8
get_coding ( ) → DmCod
set_coding ( coding: DmCod ) → None
# [SOURce<HW>]:BB:DM:CODing
# get:
value: enums.DmCod = driver.source.bb.dm.get_coding()
# set:
driver.source.bb.dm.set_coding(coding = enums.DmCod.APCO25)

Selects the modulation coding.

Parameters:

coding – OFF | DIFF | DPHS | DGRay | GRAY | GSM | NADC | PDC | PHS | TETRa | APCO25 | PWT | TFTS | INMarsat | VDL | EDGE | APCO25FSK | ICO | CDMA2000 | WCDMA | APCO258PSK

  • OFF: The coding is automatically disabled if the selected modulation type is not possible with the coding that has been set.

  • DPHS: Phase Difference

  • DGRay: Difference + Gray

get_format_py ( ) → BbDmModType
set_format_py ( format_py: BbDmModType ) → None
# [SOURce<HW>]:BB:DM:FORMat
# get:
value: enums.BbDmModType = driver.source.bb.dm.get_format_py()
# set:
driver.source.bb.dm.set_format_py(format_py = enums.BbDmModType.APSK16)

Sets the modulation type. When a standard is selected (method RsSmw.source.bb.dm.standard.value() ) , the modulation type is set to the default value.

Parameters:

format_py – ASK | BPSK | P2DBpsk | QPSK | QPSK45 | OQPSk | P4QPsk | P4DQpsk | PSK8 | P8D8psk | P8EDge | QAM16 | QAM32 | QAM64 | QAM256 | QAM1024 | MSK | FSK2 | FSK4 | USER | FSKVar | QAM128 | QEDGe | QAM16EDge | QAM32EDge | AQPSk | QAM4096 | APSK16 | APSK32 | FSK32 | FSK64 | FSK8 | FSK16 | QAM512 | QAM2048

get_mdelay ( ) → float
# [SOURce<HW>]:BB:DM:MDELay
value: float = driver.source.bb.dm.get_mdelay()

No help available

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

Sets the default settings for digital modulation (*RST values specified for the commands) . Not affected is the state set with the following command: SOURce<hw>:BB:DM:STATe

preset_with_opc() does the same as preset(), but waits for the operation to complete before continuing further. Use the RsSmw.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:DM:SLENgth
# get:
value: int = driver.source.bb.dm.get_slength()
# set:
driver.source.bb.dm.set_slength(slength = 1)

Sets the sequence length of the waveform signal in symbols. The maximum number of symbols depends on the ARB memory and its installed option. The R&S SMW200A creates an ARB file with this length. The length equals the input sequence in symbols. It is not the length of the I/Q sequence after an upsampling. The product of the ‘Sequence Length’ * ‘Oversampling’ is limited by the maximum number of samples of the selected ARB.

Parameters:

slength – integer

get_source ( ) → DmDataSourW
set_source ( source: DmDataSourW ) → None
# [SOURce<HW>]:BB:DM:SOURce
# get:
value: enums.DmDataSourW = driver.source.bb.dm.get_source()
# set:
driver.source.bb.dm.set_source(source = enums.DmDataSourW.DLISt)

Selects the data source.

Parameters:

source – A sequence of 0 or 1, a pseudo-random sequence with different length, a pattern, a data list, or external serial data.

get_state ( ) → bool
set_state ( state: bool ) → None
# [SOURce<HW>]:BB:DM:STATe
# get:
value: bool = driver.source.bb.dm.get_state()
# set:
driver.source.bb.dm.set_state(state = False)

Enables digital modulation. Switching on digital modulation turns off all the other digital standards in the same signal path.

Parameters:

state – 1 | ON | 0| OFF

get_symbol_rate ( ) → float
set_symbol_rate ( srate: float ) → None
# [SOURce<HW>]:BB:DM:SRATe
# get:
value: float = driver.source.bb.dm.get_symbol_rate()
# set:
driver.source.bb.dm.set_symbol_rate(srate = 1.0)

Sets the symbol rate in Hz/kHz/MHz or sym/s, ksym/s and Msym/s.

Parameters:

srate – float

Cloning the Group

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

Subgroups