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:SOURce
[SOURce<HW>]:BB:DM:SRATe
[SOURce<HW>]:BB:DM:STATe
class DmCls[source]

Dm commands group definition. 110 total commands, 19 Subgroups, 7 group commands

get_coding() RsSmw.enums.DmCod[source]
# SCPI: [SOURce<HW>]:BB:DM:CODing
value: enums.DmCod = driver.source.bb.dm.get_coding()

Selects the modulation coding.

return

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() RsSmw.enums.BbDmModType[source]
# SCPI: [SOURce<HW>]:BB:DM:FORMat
value: enums.BbDmModType = driver.source.bb.dm.get_format_py()

Sets the modulation type. When a standard is selected ([:SOURce<hw>]:BB:DM:STANdard) , the modulation type is set to the default value.

return

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]
# SCPI: [SOURce<HW>]:BB:DM:MDELay
value: float = driver.source.bb.dm.get_mdelay()

No command help available

return

mdelay: No help available

get_source() RsSmw.enums.DmDataSourW[source]
# SCPI: [SOURce<HW>]:BB:DM:SOURce
value: enums.DmDataSourW = driver.source.bb.dm.get_source()

Selects the data source.

return

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]
# SCPI: [SOURce<HW>]:BB:DM:STATe
value: bool = driver.source.bb.dm.get_state()

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

return

state: 1| ON| 0| OFF

get_symbol_rate() float[source]
# SCPI: [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.

return

srate: float Range: 50 to depends on the installed options, Unit: Hz or sym/s

preset() None[source]
# SCPI: [SOURce<HW>]:BB:DM:PRESet
driver.source.bb.dm.preset()

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

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

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

Same as preset, but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout_set() to set the timeout value.

param opc_timeout_ms

Maximum time to wait in milliseconds, valid only for this call.

set_coding(coding: RsSmw.enums.DmCod) None[source]
# SCPI: [SOURce<HW>]:BB:DM:CODing
driver.source.bb.dm.set_coding(coding = enums.DmCod.APCO25)

Selects the modulation coding.

param 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: RsSmw.enums.BbDmModType) None[source]
# SCPI: [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 ([:SOURce<hw>]:BB:DM:STANdard) , the modulation type is set to the default value.

param 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_source(source: RsSmw.enums.DmDataSourW) None[source]
# SCPI: [SOURce<HW>]:BB:DM:SOURce
driver.source.bb.dm.set_source(source = enums.DmDataSourW.DLISt)

Selects the data source.

param 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]
# SCPI: [SOURce<HW>]:BB:DM:STATe
driver.source.bb.dm.set_state(state = False)

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

param state

1| ON| 0| OFF

set_symbol_rate(srate: float) None[source]
# SCPI: [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.

param srate

float Range: 50 to depends on the installed options, Unit: Hz or sym/s

Cloning the Group

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

Subgroups