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: 112Subgroups: 20Direct child commands: 8
- get_coding() DmCod[source]
# [SOURce<HW>]:BB:DM:CODing value: enums.DmCod = driver.source.bb.dm.get_coding()
Selects the modulation coding.
- Returns:
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[source]
# [SOURce<HW>]:BB:DM:FORMat value: enums.BbDmModType = driver.source.bb.dm.get_format_py()
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.- Returns:
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]
# [SOURce<HW>]:BB:DM:MDELay value: float = driver.source.bb.dm.get_mdelay()
No help available
- get_slength() int[source]
# [SOURce<HW>]:BB:DM:SLENgth value: int = driver.source.bb.dm.get_slength()
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.
- Returns:
slength: integer Range: 1 to depends on options
- get_source() DmDataSourW[source]
# [SOURce<HW>]:BB:DM:SOURce value: enums.DmDataSourW = driver.source.bb.dm.get_source()
Selects the data source.
- Returns:
source: ZERO | ONE | PRBS | PATTern | DLISt | SERial 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[source]
# [SOURce<HW>]:BB:DM:STATe value: bool = driver.source.bb.dm.get_state()
Enables digital modulation. Switching on digital modulation turns off all the other digital standards in the same signal path.
- Returns:
state: 1 | ON | 0| OFF
- get_symbol_rate() float[source]
# [SOURce<HW>]:BB:DM:SRATe value: float = driver.source.bb.dm.get_symbol_rate()
Sets the symbol rate in Hz/kHz/MHz or sym/s, ksym/s and Msym/s.
- Returns:
srate: float Range: 50 to depends on options, Unit: Hz or dym/s
- preset() None[source]
# [SOURce<HW>]:BB:DM:PRESet driver.source.bb.dm.preset()
Sets the default settings for digital modulation (
*RSTvalues specified for the commands) . Not affected is the state set with the following command: SOURce<hw>:BB:DM:STATe
- preset_with_opc(opc_timeout_ms: int = -1) None[source]
# [SOURce<HW>]:BB:DM:PRESet driver.source.bb.dm.preset_with_opc()
Sets the default settings for digital modulation (
*RSTvalues specified for the commands) . Not affected is the state set with the following command: SOURce<hw>:BB:DM:STATeSame as preset, but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout_set() to set the timeout value.
- Parameters:
opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.
- set_coding(coding: DmCod) None[source]
# [SOURce<HW>]:BB:DM:CODing 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
- set_format_py(format_py: BbDmModType) None[source]
# [SOURce<HW>]:BB:DM:FORMat 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
- set_slength(slength: int) None[source]
# [SOURce<HW>]:BB:DM:SLENgth 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 Range: 1 to depends on options
- set_source(source: DmDataSourW) None[source]
# [SOURce<HW>]:BB:DM:SOURce driver.source.bb.dm.set_source(source = enums.DmDataSourW.DLISt)
Selects the data source.
- Parameters:
source – ZERO | ONE | PRBS | PATTern | DLISt | SERial A sequence of 0 or 1, a pseudo-random sequence with different length, a pattern, a data list, or external serial data.
- set_state(state: bool) None[source]
# [SOURce<HW>]:BB:DM:STATe 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
- set_symbol_rate(srate: float) None[source]
# [SOURce<HW>]:BB:DM:SRATe 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 Range: 50 to depends on options, Unit: Hz or dym/s
Cloning the Group
# Create a copy of the original group, that exists independently
dm_copy = driver.source.bb.dm.clone()
Subgroups