Drm
SCPI Commands :
[SOURce<HW>]:BB:DRM:BANDwidth
[SOURce<HW>]:BB:DRM:FILename
[SOURce<HW>]:BB:DRM:INTerleaver
[SOURce<HW>]:BB:DRM:LABel
[SOURce<HW>]:BB:DRM:MODE
[SOURce<HW>]:BB:DRM:NUMData
[SOURce<HW>]:BB:DRM:NUMaudio
[SOURce<HW>]:BB:DRM:PORT
[SOURce<HW>]:BB:DRM:PRESet
[SOURce<HW>]:BB:DRM:SOURce
[SOURce<HW>]:BB:DRM:STATe
[SOURce<HW>]:BB:DRM:TYPE
- class DrmCls[source]
Drm commands group definition. 24 total commands, 3 Subgroups, 12 group commands
- get_bandwidth() DrmCodingChannelBw [source]
# SCPI: [SOURce<HW>]:BB:DRM:BANDwidth value: enums.DrmCodingChannelBw = driver.source.bb.drm.get_bandwidth()
Queries the channel bandwidth.
- return:
drm_bandwidth: K045| K05| K09| K10| K18| K20| K100| INV K045 4.5 kHz K05 5 kHz K09 9 kHz K10 10 kHz K18 18 kHz K20 20 kHz K100 100 kHz INV Invalid channel bandwidth
- get_filename() str [source]
# SCPI: [SOURce<HW>]:BB:DRM:FILename value: str = driver.source.bb.drm.get_filename()
Loads the specified file. Refer to ‘Accessing Files in the Default or Specified Directory’ for general information on file handling in the default and in a specific directory.
- return:
drm_dcp_file: string Filename or complete file path; file extension (*.dcp) can be omitted.
- get_interleaver() DrmCodingInterleaver [source]
# SCPI: [SOURce<HW>]:BB:DRM:INTerleaver value: enums.DrmCodingInterleaver = driver.source.bb.drm.get_interleaver()
Queries the interleaver depth.
- return:
drm_interleaver: MS4| MS6| S2| INV MS4 400 ms MS6 600 ms S2 2 s INV Invalid interleaver depth
- get_label() str [source]
# SCPI: [SOURce<HW>]:BB:DRM:LABel value: str = driver.source.bb.drm.get_label()
Queries the label of the transmitted service.
- return:
drm_label: string Each service has a maximum length of 16 characters separated by br.
- get_mode() DrmCodingRobustness [source]
# SCPI: [SOURce<HW>]:BB:DRM:MODE value: enums.DrmCodingRobustness = driver.source.bb.drm.get_mode()
Queries the robustness mode of the signal.
- return:
drm_mode: A| B| C| D| E| INV A|B|C|D|E Available robustness modes. INV Invalid mode.
- get_num_audio() DrmInputSignalServices [source]
# SCPI: [SOURce<HW>]:BB:DRM:NUMaudio value: enums.DrmInputSignalServices = driver.source.bb.drm.get_num_audio()
Queries the number of audio services contained in the input stream.
- return:
drm_num_audio: 0| 1| 2| 3| 4| INV 0|1|2|3|4 Available number of audio services INV Invalid number of audio services
- get_num_data() DrmInputSignalServices [source]
# SCPI: [SOURce<HW>]:BB:DRM:NUMData value: enums.DrmInputSignalServices = driver.source.bb.drm.get_num_data()
Queries the number of data services contained in the input stream.
- return:
drm_num_data: 0| 1| 2| 3| 4| INV 0|1|2|3|4 Available number of data services INV Invalid number of data services
- get_port() int [source]
# SCPI: [SOURce<HW>]:BB:DRM:PORT value: int = driver.source.bb.drm.get_port()
Sets the port. Enter the port number on that the UDP/ receiver listens for UDP datagrams.
- return:
drm_port: integer Range: 0 to 65535
- get_source() DrmInputSignalSource [source]
# SCPI: [SOURce<HW>]:BB:DRM:SOURce value: enums.DrmInputSignalSource = driver.source.bb.drm.get_source()
Sets the modulation source for the input signal.
- return:
drm_source: EXTernal| FILE EXTernal Uses a / stream input at the ‘LAN’ connector of the host PC of the R&S SMCV100B. FILE Reads the input stream from a *.dcp file. The binary file contains the MDI data encapsulated in packets.
- get_state() bool [source]
# SCPI: [SOURce<HW>]:BB:DRM:STATe value: bool = driver.source.bb.drm.get_state()
Activates the standard and deactivates all the other digital standards and digital modulation modes in the same path.
- return:
state: 1| ON| 0| OFF
- get_type_py() DrmInputSignalLayerType [source]
# SCPI: [SOURce<HW>]:BB:DRM:TYPE value: enums.DrmInputSignalLayerType = driver.source.bb.drm.get_type_py()
Queries the type of audio in the transmission.
- return:
drm_layer_type: BASE| ENHancement| INV BASE Decodable by all DRM receivers. ENHancement Only decodable by receivers with appropriate capabilities. INV Invalid type
- preset() None [source]
# SCPI: [SOURce<HW>]:BB:DRM:PRESet driver.source.bb.drm.preset()
Sets the parameters of the digital standard to their default values (*RST values specified for the commands) . Not affected is the state set with the command SOURce<hw>:BB:DRM:STATe.
- preset_with_opc(opc_timeout_ms: int = -1) None [source]
# SCPI: [SOURce<HW>]:BB:DRM:PRESet driver.source.bb.drm.preset_with_opc()
Sets the parameters of the digital standard to their default values (*RST values specified for the commands) . Not affected is the state set with the command SOURce<hw>:BB:DRM:STATe.
Same as preset, but waits for the operation to complete before continuing further. Use the RsSmcv.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_filename(drm_dcp_file: str) None [source]
# SCPI: [SOURce<HW>]:BB:DRM:FILename driver.source.bb.drm.set_filename(drm_dcp_file = 'abc')
Loads the specified file. Refer to ‘Accessing Files in the Default or Specified Directory’ for general information on file handling in the default and in a specific directory.
- param drm_dcp_file:
string Filename or complete file path; file extension (*.dcp) can be omitted.
- set_port(drm_port: int) None [source]
# SCPI: [SOURce<HW>]:BB:DRM:PORT driver.source.bb.drm.set_port(drm_port = 1)
Sets the port. Enter the port number on that the UDP/ receiver listens for UDP datagrams.
- param drm_port:
integer Range: 0 to 65535
- set_source(drm_source: DrmInputSignalSource) None [source]
# SCPI: [SOURce<HW>]:BB:DRM:SOURce driver.source.bb.drm.set_source(drm_source = enums.DrmInputSignalSource.EXTernal)
Sets the modulation source for the input signal.
- param drm_source:
EXTernal| FILE EXTernal Uses a / stream input at the ‘LAN’ connector of the host PC of the R&S SMCV100B. FILE Reads the input stream from a *.dcp file. The binary file contains the MDI data encapsulated in packets.
- set_state(state: bool) None [source]
# SCPI: [SOURce<HW>]:BB:DRM:STATe driver.source.bb.drm.set_state(state = False)
Activates the standard and deactivates all the other digital standards and digital modulation modes in the same path.
- param state:
1| ON| 0| OFF
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.source.bb.drm.clone()
Subgroups