Atsm
SCPI Commands :
[SOURce<HW>]:BB:ATSM:CONStel
[SOURce<HW>]:BB:ATSM:MHEPid
[SOURce<HW>]:BB:ATSM:MHSTate
[SOURce<HW>]:BB:ATSM:PACKetlength
[SOURce<HW>]:BB:ATSM:PAYLoad
[SOURce<HW>]:BB:ATSM:PID
[SOURce<HW>]:BB:ATSM:PIDTestpack
[SOURce<HW>]:BB:ATSM:PRBS
[SOURce<HW>]:BB:ATSM:PRESet
[SOURce<HW>]:BB:ATSM:ROLLoff
[SOURce<HW>]:BB:ATSM:SOURce
[SOURce<HW>]:BB:ATSM:STATe
[SOURce<HW>]:BB:ATSM:STUFfing
[SOURce<HW>]:BB:ATSM:TESTsignal
[SOURce<HW>]:BB:ATSM:TRANsmission
[SOURce<HW>]:BB:ATSM:TSPacket
[SOURce<HW>]:BB:ATSM:WATermark
- class AtsmCls[source]
Atsm commands group definition. 34 total commands, 9 Subgroups, 17 group commands
- get_constel() AtscmhCodingConstel [source]
# SCPI: [SOURce<HW>]:BB:ATSM:CONStel value: enums.AtscmhCodingConstel = driver.source.bb.atsm.get_constel()
Queries the constellation.
- return:
constellation: VSB8
- get_mh_state() bool [source]
# SCPI: [SOURce<HW>]:BB:ATSM:MHSTate value: bool = driver.source.bb.atsm.get_mh_state()
Enables/disableses all ATSC-M/H elements of the .
- return:
mh_state: 1| ON| 0| OFF ON ATSC-M/H-compliant output signal OFF 8VSB state, output signal complies with the ATSC digital television standard (A/53)
- get_mhe_pid() int [source]
# SCPI: [SOURce<HW>]:BB:ATSM:MHEPid value: int = driver.source.bb.atsm.get_mhe_pid()
Sets the PID of MPEG-2 packets that contain ATSC M/H data. The PID is a four-digit value in hexadecimal format.
- return:
mhe_pid: integer Range: 0 to 8191
- get_packet_length() AtscmhCodingInputSignalPacketLength [source]
# SCPI: [SOURce<HW>]:BB:ATSM:PACKetlength value: enums.AtscmhCodingInputSignalPacketLength = driver.source.bb.atsm.get_packet_length()
Queries the packet length of the external transport stream in bytes.
- return:
packet_length: P188| P208| INValid P188|P208 188/208 byte packets specified for serial input and parallel input. INValid Packet length does not match the specified length.
- get_payload() PayloadTestStuff [source]
# SCPI: [SOURce<HW>]:BB:ATSM:PAYLoad value: enums.PayloadTestStuff = driver.source.bb.atsm.get_payload()
Defines the payload area content of the packet.
- return:
payload: HFF| H00| PRBS
- get_pid() int [source]
# SCPI: [SOURce<HW>]:BB:ATSM:PID value: int = driver.source.bb.atsm.get_pid()
Sets the .
- return:
pid: integer Range: 0 to 8191
- get_pid_test_pack() PidTestPacket [source]
# SCPI: [SOURce<HW>]:BB:ATSM:PIDTestpack value: enums.PidTestPacket = driver.source.bb.atsm.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:
pid_test_pack: NULL| VARiable
- get_prbs() SettingsPrbs [source]
# SCPI: [SOURce<HW>]:BB:ATSM:PRBS value: enums.SettingsPrbs = driver.source.bb.atsm.get_prbs()
Sets the length of the PRBS sequence. You can select a PRBS 15 or a PRBS 23 sequence as specified by .
- return:
prbs: P23_1| P15_1
- get_rolloff() AtscmhCodingRolloff [source]
# SCPI: [SOURce<HW>]:BB:ATSM:ROLLoff value: enums.AtscmhCodingRolloff = driver.source.bb.atsm.get_rolloff()
Queries the roll-off factor alpha (alpha) .
- return:
rolloff: R115
- get_source() CodingInputSignalSource [source]
# SCPI: [SOURce<HW>]:BB:ATSM:SOURce value: enums.CodingInputSignalSource = driver.source.bb.atsm.get_source()
Sets the modulation source for the input signal.
- return:
atscmh_source: EXTernal| TSPLayer| TESTsignal
- get_state() bool [source]
# SCPI: [SOURce<HW>]:BB:ATSM:STATe value: bool = driver.source.bb.atsm.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:ATSM:STUFfing value: bool = driver.source.bb.atsm.get_stuffing()
Activates stuffing.
- return:
stuffing: 1| ON| 0| OFF
- get_test_signal() AtscmhInputSignalTestSignal [source]
# SCPI: [SOURce<HW>]:BB:ATSM:TESTsignal value: enums.AtscmhInputSignalTestSignal = driver.source.bb.atsm.get_test_signal()
Defines the test signal data.
- return:
test_signal: TTSP| PBIN| PBET| PBEM TTSP Test TS packet with standardized packet data used as modulation data in the transport stream. PBIN PRBS before interleaver. Pure pseudo-random bit sequence (PRBS) data used as modulation data with no packet structure. PRBS data conforms with specification. PBET PRBS before trellis. Pure pseudo-random bit sequence (PRBS) data used as modulation data with no packet structure and interleaving. Modulation data is directly fed to the trellis encoder. PBEM PRBS before mapper. Pure pseudo-random bit sequence (PRBS) data directly fed to the mapper. Three bits at a time in two’s complement are assigned to the stages -7, -5, -3, -1, 1, 3, 5, 7. Subsequent pilot insertion and VSB filtering remain unaffected.
- get_transmission() bool [source]
# SCPI: [SOURce<HW>]:BB:ATSM:TRANsmission value: bool = driver.source.bb.atsm.get_transmission()
Enables/disables transmission.
- return:
transmission: 1| ON| 0| OFF
- get_ts_packet() SettingsTestTsPacket [source]
# SCPI: [SOURce<HW>]:BB:ATSM:TSPacket value: enums.SettingsTestTsPacket = driver.source.bb.atsm.get_ts_packet()
Specifies the structure of the test transport stream packet that is fed to the modulator.
- return:
ts_packet: H184| S187
- get_watermark() bool [source]
# SCPI: [SOURce<HW>]:BB:ATSM:WATermark value: bool = driver.source.bb.atsm.get_watermark()
Enables/disables the RF watermark.
- return:
watermark: 1| ON| 0| OFF
- preset() None [source]
# SCPI: [SOURce<HW>]:BB:ATSM:PRESet driver.source.bb.atsm.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:ATSM:STATe.
- preset_with_opc(opc_timeout_ms: int = -1) None [source]
# SCPI: [SOURce<HW>]:BB:ATSM:PRESet driver.source.bb.atsm.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:ATSM: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_mh_state(mh_state: bool) None [source]
# SCPI: [SOURce<HW>]:BB:ATSM:MHSTate driver.source.bb.atsm.set_mh_state(mh_state = False)
Enables/disableses all ATSC-M/H elements of the .
- param mh_state:
1| ON| 0| OFF ON ATSC-M/H-compliant output signal OFF 8VSB state, output signal complies with the ATSC digital television standard (A/53)
- set_mhe_pid(mhe_pid: int) None [source]
# SCPI: [SOURce<HW>]:BB:ATSM:MHEPid driver.source.bb.atsm.set_mhe_pid(mhe_pid = 1)
Sets the PID of MPEG-2 packets that contain ATSC M/H data. The PID is a four-digit value in hexadecimal format.
- param mhe_pid:
integer Range: 0 to 8191
- set_payload(payload: PayloadTestStuff) None [source]
# SCPI: [SOURce<HW>]:BB:ATSM:PAYLoad driver.source.bb.atsm.set_payload(payload = enums.PayloadTestStuff.H00)
Defines the payload area content of the packet.
- param payload:
HFF| H00| PRBS
- set_pid(pid: int) None [source]
# SCPI: [SOURce<HW>]:BB:ATSM:PID driver.source.bb.atsm.set_pid(pid = 1)
Sets the .
- param pid:
integer Range: 0 to 8191
- set_pid_test_pack(pid_test_pack: PidTestPacket) None [source]
# SCPI: [SOURce<HW>]:BB:ATSM:PIDTestpack driver.source.bb.atsm.set_pid_test_pack(pid_test_pack = 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 pid_test_pack:
NULL| VARiable
- set_prbs(prbs: SettingsPrbs) None [source]
# SCPI: [SOURce<HW>]:BB:ATSM:PRBS driver.source.bb.atsm.set_prbs(prbs = enums.SettingsPrbs.P15_1)
Sets the length of the PRBS sequence. You can select a PRBS 15 or a PRBS 23 sequence as specified by .
- param prbs:
P23_1| P15_1
- set_source(atscmh_source: CodingInputSignalSource) None [source]
# SCPI: [SOURce<HW>]:BB:ATSM:SOURce driver.source.bb.atsm.set_source(atscmh_source = enums.CodingInputSignalSource.EXTernal)
Sets the modulation source for the input signal.
- param atscmh_source:
EXTernal| TSPLayer| TESTsignal
- set_state(state: bool) None [source]
# SCPI: [SOURce<HW>]:BB:ATSM:STATe driver.source.bb.atsm.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(stuffing: bool) None [source]
# SCPI: [SOURce<HW>]:BB:ATSM:STUFfing driver.source.bb.atsm.set_stuffing(stuffing = False)
Activates stuffing.
- param stuffing:
1| ON| 0| OFF
- set_test_signal(test_signal: AtscmhInputSignalTestSignal) None [source]
# SCPI: [SOURce<HW>]:BB:ATSM:TESTsignal driver.source.bb.atsm.set_test_signal(test_signal = enums.AtscmhInputSignalTestSignal.PBEM)
Defines the test signal data.
- param test_signal:
TTSP| PBIN| PBET| PBEM TTSP Test TS packet with standardized packet data used as modulation data in the transport stream. PBIN PRBS before interleaver. Pure pseudo-random bit sequence (PRBS) data used as modulation data with no packet structure. PRBS data conforms with specification. PBET PRBS before trellis. Pure pseudo-random bit sequence (PRBS) data used as modulation data with no packet structure and interleaving. Modulation data is directly fed to the trellis encoder. PBEM PRBS before mapper. Pure pseudo-random bit sequence (PRBS) data directly fed to the mapper. Three bits at a time in two’s complement are assigned to the stages -7, -5, -3, -1, 1, 3, 5, 7. Subsequent pilot insertion and VSB filtering remain unaffected.
- set_transmission(transmission: bool) None [source]
# SCPI: [SOURce<HW>]:BB:ATSM:TRANsmission driver.source.bb.atsm.set_transmission(transmission = False)
Enables/disables transmission.
- param transmission:
1| ON| 0| OFF
- set_ts_packet(ts_packet: SettingsTestTsPacket) None [source]
# SCPI: [SOURce<HW>]:BB:ATSM:TSPacket driver.source.bb.atsm.set_ts_packet(ts_packet = enums.SettingsTestTsPacket.H184)
Specifies the structure of the test transport stream packet that is fed to the modulator.
- param ts_packet:
H184| S187
- set_watermark(watermark: bool) None [source]
# SCPI: [SOURce<HW>]:BB:ATSM:WATermark driver.source.bb.atsm.set_watermark(watermark = False)
Enables/disables the RF watermark.
- param watermark:
1| ON| 0| OFF
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.source.bb.atsm.clone()
Subgroups