Dtmb

SCPI Commands :

[SOURce<HW>]:BB:DTMB:CONStel
[SOURce<HW>]:BB:DTMB:FRAMes
[SOURce<HW>]:BB:DTMB:GIC
[SOURce<HW>]:BB:DTMB:GUARd
[SOURce<HW>]:BB:DTMB:PACKetlength
[SOURce<HW>]:BB:DTMB:PAYLoad
[SOURce<HW>]:BB:DTMB:PID
[SOURce<HW>]:BB:DTMB:PIDTestpack
[SOURce<HW>]:BB:DTMB:PRESet
[SOURce<HW>]:BB:DTMB:RATE
[SOURce<HW>]:BB:DTMB:SINGle
[SOURce<HW>]:BB:DTMB:SOURce
[SOURce<HW>]:BB:DTMB:STATe
[SOURce<HW>]:BB:DTMB:STUFfing
[SOURce<HW>]:BB:DTMB:TESTsignal
[SOURce<HW>]:BB:DTMB:TSPacket
class DtmbCls[source]

Dtmb commands group definition. 32 total commands, 8 Subgroups, 16 group commands

get_constel() DtmbCodingConstel[source]
# SCPI: [SOURce<HW>]:BB:DTMB:CONStel
value: enums.DtmbCodingConstel = driver.source.bb.dtmb.get_constel()

Defines the constellation.

return:

dtmb_constel: D4| D4NR| D16| D32| D64 D4 4QAM D4NR 4QAM-NR D16 16QAM D32 32QAM D64 64QAM

get_frames() bool[source]
# SCPI: [SOURce<HW>]:BB:DTMB:FRAMes
value: bool = driver.source.bb.dtmb.get_frames()

Defines whether a control frame is added to each signal frame group or not.

return:

dtmb_frames: 1| ON| 0| OFF

get_gic() DtmbCodingGipN[source]
# SCPI: [SOURce<HW>]:BB:DTMB:GIC
value: enums.DtmbCodingGipN = driver.source.bb.dtmb.get_gic()

Defines the initial condition of the PN sequences in the frame headers.

return:

dtmb_guard_pn: VAR| CONSt VAR Uses the definition of the table in the standard. CONSt Uses the initial condition of index 0 for all signal frames.

get_guard() DtmbCodingGuardInterval[source]
# SCPI: [SOURce<HW>]:BB:DTMB:GUARd
value: enums.DtmbCodingGuardInterval = driver.source.bb.dtmb.get_guard()

Sets the guard interval length.

return:

dtmb_guard: G420| G595| G945

get_packet_length() DtmbCodingInputSignalPacketLength[source]
# SCPI: [SOURce<HW>]:BB:DTMB:PACKetlength
value: enums.DtmbCodingInputSignalPacketLength = driver.source.bb.dtmb.get_packet_length()

Queries the packet length of the external transport stream in bytes.

return:

dtmb_plength: P188| INValid P188 188 byte packets specified for serial input (‘Input TS IN’) and parallel input (‘Input IP’) . INValid Packet length does not match the specified length.

get_payload() PayloadTestStuff[source]
# SCPI: [SOURce<HW>]:BB:DTMB:PAYLoad
value: enums.PayloadTestStuff = driver.source.bb.dtmb.get_payload()

Defines the payload area content of the packet.

return:

dtmb_payload: H00| HFF| PRBS

get_pid() int[source]
# SCPI: [SOURce<HW>]:BB:DTMB:PID
value: int = driver.source.bb.dtmb.get_pid()

Sets the .

return:

dtmb_pid: integer Range: #H0000 to #H1FFF

get_pid_test_pack() PidTestPacket[source]
# SCPI: [SOURce<HW>]:BB:DTMB:PIDTestpack
value: enums.PidTestPacket = driver.source.bb.dtmb.get_pid_test_pack()

If a header is present in the test packet (‘Test TS Packet > Head/184 Payload’) , you can specify a fixed or variable packet identifier (PID) .

return:

dtmb_source: NULL| VARiable

get_rate() DtmbCodingCoderate[source]
# SCPI: [SOURce<HW>]:BB:DTMB:RATE
value: enums.DtmbCodingCoderate = driver.source.bb.dtmb.get_rate()

Sets the code rate.

return:

dtmb_code_rate: R04| R06| R08

get_single() bool[source]
# SCPI: [SOURce<HW>]:BB:DTMB:SINGle
value: bool = driver.source.bb.dtmb.get_single()

Enables/disables single carrier mode.

return:

dtmb_single: 1| ON| 0| OFF

get_source() CodingInputSignalSource[source]
# SCPI: [SOURce<HW>]:BB:DTMB:SOURce
value: enums.CodingInputSignalSource = driver.source.bb.dtmb.get_source()

Sets the modulation source for the input signal.

return:

dtmb_source: EXTernal| TSPLayer| TESTsignal

get_state() bool[source]
# SCPI: [SOURce<HW>]:BB:DTMB:STATe
value: bool = driver.source.bb.dtmb.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_stuffing() bool[source]
# SCPI: [SOURce<HW>]:BB:DTMB:STUFfing
value: bool = driver.source.bb.dtmb.get_stuffing()

Activates stuffing.

return:

dtmb_stuffing: 1| ON| 0| OFF

get_test_signal() CodingInputSignalTestSignal[source]
# SCPI: [SOURce<HW>]:BB:DTMB:TESTsignal
value: enums.CodingInputSignalTestSignal = driver.source.bb.dtmb.get_test_signal()

Queries the test signal, that consists of test packets.

return:

dtmb_test_sig: TTSP Test TS packet with standardized packet data used as modulation data in the transport stream.

get_ts_packet() SettingsTestTsPacket[source]
# SCPI: [SOURce<HW>]:BB:DTMB:TSPacket
value: enums.SettingsTestTsPacket = driver.source.bb.dtmb.get_ts_packet()

Specifies the structure of the test transport stream packet that is fed to the modulator.

return:

dtmb_test_ts_pack: H184| S187

preset() None[source]
# SCPI: [SOURce<HW>]:BB:DTMB:PRESet
driver.source.bb.dtmb.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:DTMB:STATe.

preset_with_opc(opc_timeout_ms: int = -1) None[source]
# SCPI: [SOURce<HW>]:BB:DTMB:PRESet
driver.source.bb.dtmb.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:DTMB: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_constel(dtmb_constel: DtmbCodingConstel) None[source]
# SCPI: [SOURce<HW>]:BB:DTMB:CONStel
driver.source.bb.dtmb.set_constel(dtmb_constel = enums.DtmbCodingConstel.D16)

Defines the constellation.

param dtmb_constel:

D4| D4NR| D16| D32| D64 D4 4QAM D4NR 4QAM-NR D16 16QAM D32 32QAM D64 64QAM

set_frames(dtmb_frames: bool) None[source]
# SCPI: [SOURce<HW>]:BB:DTMB:FRAMes
driver.source.bb.dtmb.set_frames(dtmb_frames = False)

Defines whether a control frame is added to each signal frame group or not.

param dtmb_frames:

1| ON| 0| OFF

set_gic(dtmb_guard_pn: DtmbCodingGipN) None[source]
# SCPI: [SOURce<HW>]:BB:DTMB:GIC
driver.source.bb.dtmb.set_gic(dtmb_guard_pn = enums.DtmbCodingGipN.CONSt)

Defines the initial condition of the PN sequences in the frame headers.

param dtmb_guard_pn:

VAR| CONSt VAR Uses the definition of the table in the standard. CONSt Uses the initial condition of index 0 for all signal frames.

set_guard(dtmb_guard: DtmbCodingGuardInterval) None[source]
# SCPI: [SOURce<HW>]:BB:DTMB:GUARd
driver.source.bb.dtmb.set_guard(dtmb_guard = enums.DtmbCodingGuardInterval.G420)

Sets the guard interval length.

param dtmb_guard:

G420| G595| G945

set_payload(dtmb_payload: PayloadTestStuff) None[source]
# SCPI: [SOURce<HW>]:BB:DTMB:PAYLoad
driver.source.bb.dtmb.set_payload(dtmb_payload = enums.PayloadTestStuff.H00)

Defines the payload area content of the packet.

param dtmb_payload:

H00| HFF| PRBS

set_pid(dtmb_pid: int) None[source]
# SCPI: [SOURce<HW>]:BB:DTMB:PID
driver.source.bb.dtmb.set_pid(dtmb_pid = 1)

Sets the .

param dtmb_pid:

integer Range: #H0000 to #H1FFF

set_pid_test_pack(dtmb_source: PidTestPacket) None[source]
# SCPI: [SOURce<HW>]:BB:DTMB:PIDTestpack
driver.source.bb.dtmb.set_pid_test_pack(dtmb_source = enums.PidTestPacket.NULL)

If a header is present in the test packet (‘Test TS Packet > Head/184 Payload’) , you can specify a fixed or variable packet identifier (PID) .

param dtmb_source:

NULL| VARiable

set_rate(dtmb_code_rate: DtmbCodingCoderate) None[source]
# SCPI: [SOURce<HW>]:BB:DTMB:RATE
driver.source.bb.dtmb.set_rate(dtmb_code_rate = enums.DtmbCodingCoderate.R04)

Sets the code rate.

param dtmb_code_rate:

R04| R06| R08

set_single(dtmb_single: bool) None[source]
# SCPI: [SOURce<HW>]:BB:DTMB:SINGle
driver.source.bb.dtmb.set_single(dtmb_single = False)

Enables/disables single carrier mode.

param dtmb_single:

1| ON| 0| OFF

set_source(dtmb_source: CodingInputSignalSource) None[source]
# SCPI: [SOURce<HW>]:BB:DTMB:SOURce
driver.source.bb.dtmb.set_source(dtmb_source = enums.CodingInputSignalSource.EXTernal)

Sets the modulation source for the input signal.

param dtmb_source:

EXTernal| TSPLayer| TESTsignal

set_state(state: bool) None[source]
# SCPI: [SOURce<HW>]:BB:DTMB:STATe
driver.source.bb.dtmb.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

set_stuffing(dtmb_stuffing: bool) None[source]
# SCPI: [SOURce<HW>]:BB:DTMB:STUFfing
driver.source.bb.dtmb.set_stuffing(dtmb_stuffing = False)

Activates stuffing.

param dtmb_stuffing:

1| ON| 0| OFF

set_test_signal(dtmb_test_sig: CodingInputSignalTestSignal) None[source]
# SCPI: [SOURce<HW>]:BB:DTMB:TESTsignal
driver.source.bb.dtmb.set_test_signal(dtmb_test_sig = enums.CodingInputSignalTestSignal.TTSP)

Queries the test signal, that consists of test packets.

param dtmb_test_sig:

TTSP Test TS packet with standardized packet data used as modulation data in the transport stream.

set_ts_packet(dtmb_test_ts_pack: SettingsTestTsPacket) None[source]
# SCPI: [SOURce<HW>]:BB:DTMB:TSPacket
driver.source.bb.dtmb.set_ts_packet(dtmb_test_ts_pack = enums.SettingsTestTsPacket.H184)

Specifies the structure of the test transport stream packet that is fed to the modulator.

param dtmb_test_ts_pack:

H184| S187

Cloning the Group

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

Subgroups