Configure
SCPI Commands :
TSGen:CONFigure:COMMand
TSGen:CONFigure:PAYLoad
TSGen:CONFigure:PID
TSGen:CONFigure:PIDTestpack
TSGen:CONFigure:PLAYfile
TSGen:CONFigure:PLENgth
TSGen:CONFigure:STOPdata
TSGen:CONFigure:STUFfing
TSGen:CONFigure:TSPacket
TSGen:CONFigure:TSRate
- class ConfigureCls[source]
Configure commands group definition. 18 total commands, 3 Subgroups, 10 group commands
- get_command() TspLayerStatus [source]
# SCPI: TSGen:CONFigure:COMMand value: enums.TspLayerStatus = driver.tsGen.configure.get_command()
Triggers playing, pausing and stopping of the TS player file selected with method RsSmcv.TsGen.Configure.playFile.
- return:
player_status: STOP| PAUSe| PLAY| RESet
- get_payload() PayloadTestStuff [source]
# SCPI: TSGen:CONFigure:PAYLoad value: enums.PayloadTestStuff = driver.tsGen.configure.get_payload()
Determines the payload of the test packet. Also influences the payload of the generated stuffing packets while the TS player is running.
- return:
payload: HFF| H00| PRBS
- get_pid() int [source]
# SCPI: TSGen:CONFigure:PID value: int = driver.tsGen.configure.get_pid()
The available values depend on the settings of method RsSmcv.TsGen.Configure.pidTestPack. If method RsSmcv.TsGen. Configure.pidTestPack is set to NULL, then method RsSmcv.TsGen.Configure.pid is 1FFF(hex) . Otherwise the values are variable.
- return:
pid: integer Range: 0 to 8191
- get_pid_test_pack() PidTestPacket [source]
# SCPI: TSGen:CONFigure:PIDTestpack value: enums.PidTestPacket = driver.tsGen.configure.get_pid_test_pack()
Sets the PID, if method RsSmcv.TsGen.Configure.tsPacket is H184|H200|H204.
- return:
pid_test_pack: VARiable| NULL
- get_play_file() str [source]
# SCPI: TSGen:CONFigure:PLAYfile value: str = driver.tsGen.configure.get_play_file()
Specifies the file path and filename of the TS player file.
- return:
play_file: string
- get_plength() CodingPacketLength [source]
# SCPI: TSGen:CONFigure:PLENgth value: enums.CodingPacketLength = driver.tsGen.configure.get_plength()
Queries the packet length of the loaded file.
- return:
plength: P188| P204| P208| INV
- get_stop_data() All [source]
# SCPI: TSGen:CONFigure:STOPdata value: enums.All = driver.tsGen.configure.get_stop_data()
Ensures that a standardized TS data stream is always output at the TS output at the rear of the R&S SMCV100B.
- return:
stop_data: TTSP| NONE
- get_stuffing() bool [source]
# SCPI: TSGen:CONFigure:STUFfing value: bool = driver.tsGen.configure.get_stuffing()
Activates nullpacket stuffing.
- return:
stuffing: 1| ON| 0| OFF
- get_ts_packet() TspLayerSettingsTestTsPacket [source]
# SCPI: TSGen:CONFigure:TSPacket value: enums.TspLayerSettingsTestTsPacket = driver.tsGen.configure.get_ts_packet()
Sets the structure of the generated test packets in pause or stop status.
- return:
ts_paket: H184| H200| H204| S187| S203| S207 S187|S203|S207 A sync byte (0x47) followed by 187/203/207 payload bytes. H184|H200|H204 A sync byte (0x47) followed by three header bytes and 184/200/204 payload bytes.
- get_ts_rate() int [source]
# SCPI: TSGen:CONFigure:TSRate value: int = driver.tsGen.configure.get_ts_rate()
Sets the output data rate of the player.
- return:
ts_rate: integer Range: 1 to 35E7
- set_command(player_status: TspLayerStatus) None [source]
# SCPI: TSGen:CONFigure:COMMand driver.tsGen.configure.set_command(player_status = enums.TspLayerStatus.PAUSe)
Triggers playing, pausing and stopping of the TS player file selected with method RsSmcv.TsGen.Configure.playFile.
- param player_status:
STOP| PAUSe| PLAY| RESet
- set_payload(payload: PayloadTestStuff) None [source]
# SCPI: TSGen:CONFigure:PAYLoad driver.tsGen.configure.set_payload(payload = enums.PayloadTestStuff.H00)
Determines the payload of the test packet. Also influences the payload of the generated stuffing packets while the TS player is running.
- param payload:
HFF| H00| PRBS
- set_pid(pid: int) None [source]
# SCPI: TSGen:CONFigure:PID driver.tsGen.configure.set_pid(pid = 1)
The available values depend on the settings of method RsSmcv.TsGen.Configure.pidTestPack. If method RsSmcv.TsGen. Configure.pidTestPack is set to NULL, then method RsSmcv.TsGen.Configure.pid is 1FFF(hex) . Otherwise the values are variable.
- param pid:
integer Range: 0 to 8191
- set_pid_test_pack(pid_test_pack: PidTestPacket) None [source]
# SCPI: TSGen:CONFigure:PIDTestpack driver.tsGen.configure.set_pid_test_pack(pid_test_pack = enums.PidTestPacket.NULL)
Sets the PID, if method RsSmcv.TsGen.Configure.tsPacket is H184|H200|H204.
- param pid_test_pack:
VARiable| NULL
- set_play_file(play_file: str) None [source]
# SCPI: TSGen:CONFigure:PLAYfile driver.tsGen.configure.set_play_file(play_file = 'abc')
Specifies the file path and filename of the TS player file.
- param play_file:
string
- set_plength(plength: CodingPacketLength) None [source]
# SCPI: TSGen:CONFigure:PLENgth driver.tsGen.configure.set_plength(plength = enums.CodingPacketLength.INV)
Queries the packet length of the loaded file.
- param plength:
P188| P204| P208| INV
- set_stop_data(stop_data: All) None [source]
# SCPI: TSGen:CONFigure:STOPdata driver.tsGen.configure.set_stop_data(stop_data = enums.All.NONE)
Ensures that a standardized TS data stream is always output at the TS output at the rear of the R&S SMCV100B.
- param stop_data:
TTSP| NONE
- set_stuffing(stuffing: bool) None [source]
# SCPI: TSGen:CONFigure:STUFfing driver.tsGen.configure.set_stuffing(stuffing = False)
Activates nullpacket stuffing.
- param stuffing:
1| ON| 0| OFF
- set_ts_packet(ts_paket: TspLayerSettingsTestTsPacket) None [source]
# SCPI: TSGen:CONFigure:TSPacket driver.tsGen.configure.set_ts_packet(ts_paket = enums.TspLayerSettingsTestTsPacket.H184)
Sets the structure of the generated test packets in pause or stop status.
- param ts_paket:
H184| H200| H204| S187| S203| S207 S187|S203|S207 A sync byte (0x47) followed by 187/203/207 payload bytes. H184|H200|H204 A sync byte (0x47) followed by three header bytes and 184/200/204 payload bytes.
- set_ts_rate(ts_rate: int) None [source]
# SCPI: TSGen:CONFigure:TSRate driver.tsGen.configure.set_ts_rate(ts_rate = 1)
Sets the output data rate of the player.
- param ts_rate:
integer Range: 1 to 35E7
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.tsGen.configure.clone()
Subgroups