Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication
supersedes that in all previously published material. Specifications and price change privileges rese rved.
TEKTRONIX and TEK are registered trademarks of Tektronix, Inc.
Contacting
Tektronix, Inc.
14200 SW Karl Braun Drive
P.O . Bo x 50
Beaverton, OR 97077
USA
For product information, sales, service, and technical support:
In North America, call 1-800-833-9200.
Worl d wi
Tektronix
0
de, visit www.tektronix.com to find contacts in your area.
MTS400 Series MPEG Test Systems Programmer Manuali
Table of Contents
iiMTS400 Series MPEG Test Systems Programmer Manual
Preface
This manual describes how to use the SCPI remote control commands for the
MTS400 Series system MPEG Player application.
Related Documentation
NOTE. SCPI r
emote control commands for the M TX100B MPEG Player and
Recorder are described in the MTX100B Technical Reference document, Tektronix
part number 077-0192–xx.
The manual
is organized into the following sections:
Getting Started provides instructions for connecting the MTS400 Series
System to
a single PC or a network and setting the network parameters for
the 100/10 BASE-T port, as well as network interface specifications for the
instrument.
Syntax and Commands provided information on the Standard Commands
for Programmable Instruments (SCPI) and IEEE 488.2 Common Commands.
ErrorMessagesandCodeslists the error messages and codes.
Appen
dix A: Default Settings lists the default settings of the remote
commands.
x
Inde
The following table lists the other documentation available for the MTS400 Series
System. Additional documentation, such as Read Me files, may be included on
installation disks.
the
TitlePurposeLocation
scribes how to install and get
MTS400 Series Quick Start User Manual
(071-2607-xx English, 071-2608-xx
apanese)
J
TS400 Series Analyzer Applications User
M
Manual (077-0205-xx)
MTS400 Series Generator Applications User
Manual (077-0204-xx)
De
started using the test systems.
escribes the operation of the
D
following analyzer applications:
TSCA, PES Analyzer, T-STD
uffer Analyzer, and ES
B
Analyzer.
Describes the operation of the
following generator applications:
Multiplexer, MPEG Player, TS
Editor, Make Seamless Wizard,
Transport Stream Cutter, and
Script Pad.
MTS400 Series MPEG Test Systems Programmer Manualiii
Preface
TitlePurposeLocation
MTS400 Series
Manual (077-0203-xx)
Carousel Applications User
Describes the
Carousel Analyzer and Carousel
Generator applications.
operation of the
MTS400 Series Programmer Manual
(077-0206-x
MTS400 Series Release Notes
(077-0200-xx)
MTS4EA Compressed Video Elementary
Stream Anal
MTS4CC Elementary Stream Compliance
Checker User Manual (071-2075-xx)
x)
yzer User Manual (071-1641-xx)
Describes the programmer
commands for controlling the
MPEG Player a
Describes kn
test systems.
Describes the operation of the
MTS4EA appl
Describes the operation of the
MTS4CC application software.
pplication.
own issues with the
ication software.
The following URLs access the Web sites for the standards organizations listed
(the URLs listed were valid at the time of writing):
MPEG-2 standards (International Organization for Standards)
http://www.iso.ch/
ivMTS400 Series MPEG Test Systems Programmer Manual
Getting Started
Getting Started
This manual contains information on the Standard Commands for Programmable
Instruments (SCPI) and IEEE 488.2 Common Commands you can use to program
your MTS400 S
optional commands that control the optional interface cards.
Connecting to a Network
The MTS400 Series System has a 100/10 BASE-T port on the rear panel that
allows you to upload and download stream files.
This section provides instructions for connecting the MTS400 Series System
to a single PC or a network and setting the network parameters for the 100/10
BASE-T port.
eries MPEG Player application. This manual also describes the
Connecting the MTS400
Series System to Your
PC(s)
The MTS400 Series System uses the rear-panel 100/10 BASE-T port to
communicate with a PC. Use one of the following two methods to connect the
instrument to your PC(s).
If you are connecting the instrument directly to a single PC, use a crossover
Ethernet cable to connect b etween the 100/10 BASE-T port on the MTS400
Series System and the Ethernet port on the PC. If you need to construct your
own crossover cable, Figure 1-1 shows the pin connections to change on a
ight cable to produce a crossover cable.
stra
If you are connecting the instrument to your local Ethernet network, use a
aight Ethernet cable to connect between the 100/10 BASE-T port on the
str
MTS400 Series System and the Ethernet hub port of your local network.
By connecting to an Ethernet network, you can access the instrument using
any PC on the network.
Figure 1-1: Pin connections for a crossover Ethernet cable
MTS400 Series MPEG Test Systems Programmer Manual1-1
Getting Started
Setting Ethernet Network
Parameters
You can set the n
Control Panel of Windows XP.
NOTE. The following procedure assumes that you are familiar with the basics of
using the Windows XP operating system. If necessary, review the Windows XP
documentation.
Perform the following procedure to set the network parameters for the MTS400
Series Sys
1. Connect the keyboard and mouse provided with the instrument to the
2. Select Minimize or Exit from the File menu to close the Play (or Record)
3. Select Settings > Control Panel from the Start menu. The Control Panel
4. Double-click the Network Connections icon in the window. The Network
tem.
appropri
screen.
window
Connec
etwork parameters for the MTS400 Series System using the
ate connectors on the instrument.
The Windows XP desktop appears.
appears.
tions window appears. (See Figure 1-2.)
igure 1-2: Network and Dial-up Connections window
F
1-2MTS400 Series MPEG Test Systems Programmer Manual
Getting Started
5. Double-click t
Status dialog box appears. (See Figure 1-3.)
Figure 1-3: Local Area Connection Status dialog box
6. Click the Properties button. The Local Area Connection Properties dialog
box appears. (See Figure 1-4.)
he Local Area Connection icon. The Local Area Connection
Figure 1-4: Local Area Connection Properties dialog box
7. In the network component field, click Internet Protocol (TCP/IP).
MTS400 Series MPEG Test Systems Programmer Manual1-3
Getting Started
8. Click the Prope
box appears. (See Figure 1-5.)
rties button. The Internet Protocol (TCP/IP) Properties dialog
Figure 1-5: Internet Protocol (TCP/IP) Properties dialog box
The settings in the dialog box depend on whether a DHCP (Dynamic Host
Configuration Protocol) server is in the network connected to the MTS400 Series
system.
When the DHCP Server is in the Network.
1. In the dialog box, select the Obtain an IP address automatically and Obtain
DNS server address automatically check boxes.
2. Click the OK button.
The MTS400 Series system accesses the DHCP server and obtains the addresses
automatically when connected to the network.
Refer to the user documentation supplied with your server OS for detailed
information about DHCP server functions.
NOTE. Under some network environments, the MTS400 Series system may not be
able to obtain the IP address automatically from a DHCP server. In this case, you
need to enter the appropriate address value in each submenu item.
1-4MTS400 Series MPEG Test Systems Programmer Manual
Getting Started
When the DHCP Se
network, perform the following proceduretosetthenetworkparameters.
1. If you connect
a. In the dialog box, select the Use the following IP address check box.
b. Set the IP address parameter to be the same IP address as the PC’s
address except for the last number. The last number must be different than
the last num
c. Set the Subnet mask parameter to be the same net mask (subnet mask)
used by the
d. YoudonotneedtoenteraDefault gateway if you are directly connected
to a singl
2. If you connect the MTS400 Series system to your local Ethernet network:
a. In the dialog box, select the Use the following IP address check box.
b. Ask your local network administrator and set the appropriate addresses.
CAUTION. To prevent communication conflicts on your Ethernet network, ask
your local network administrator for the correct numbers to enter in the dialog
you connect the MTS400 Series system to your local Ethernet n etwork.
box if
rver is not in the Network. When the DHCP server is not in the
the MTS400 Series system directory to a single PC:
ber in the PC’s IP address.
PC. Do not enter a number if the PC does not have a net mask.
ePC.
3. Verify the Ethernet connection by using a ping command from the PC.
Network Interface Specifications
The MTS400 Series System supports remote control using the Ethernet interface.
is section describes the network interface specifications for the instrument.
Th
The TCP/IP is used as the network protocol. The commands can be sent from the
plication program through the socket interface of the TCP/IP. Also, the query
ap
can be received through the interface.
MTS400 Series MPEG Test Systems Programmer Manual1-5
Getting Started
Checki
Keep the follow
Ethernet interface.
The LF (linefe
a message as a terminator. Use the Communication dialog box or the
:SYSTem:COMMunicate:SOCKet:RXTERM command to set which
terminator is used.
The IEEE 488.1 standard (for instance Device Clear, Service Request, and
others.) is not supported.
The Message Exchange Control Protocol in the IEEE 488.2 is not supported.
However, the common commands such as *ESE and the event handling
features are supported.
The Indefinite format (the block start at #0) in the <ARBITRARY BLOCK
PROGRAM DATA> of the IEEE 488.2 is not supported.
ing in mind while controlling the instrument remotely with the
ed) or CR (carriage return) code is needed at the end of
ng Remote Command Operation
To check remote command operation of the MTS400 Series System, perform
the following procedure:
1. Connect the instrument to your PC using an Ethernet cable. Refer to
ConnectingtoaNetwork. (Seepage1-1.)
2. Click Windows Start button and select Run from the start menu.
3. In the dialog box, type telnet and then click OK.
The TELNET window appears.
1. Select Preferences from the Te rm i na l pull-down menu.
2. In
3.S
The Connect dialog box appears.
1. In the Host Name field, enter the IP address of the MTS400 Series System.
2. In the Port field, enter the port number set by the Communication dialog
3. Click Connection.
4. Type *IDN in the command line and press the Enter key.
5. Check that the ID information of the MTS400 Series System appears on the
the Preferences dialog box, select the Local Echo check box and then
click OK.
elect Remote System from the Connect pull-down menu.
box or the
value is 49152).
PC.
:SYSTem:COMMunicate:SOCKet:PORT command (the default
1-6MTS400 Series MPEG Test Systems Programmer Manual
Syntax and Commands
Command Syntax
This section contains information on the Standard Commands for Programmable
Instruments (SCPI) and IEEE 488.2 Common Commands you can use to program
your MTS400 S
following subsections: Syntax, Functional Command Groups, and Remote
Commands.
SCPI Commands and Queries
SCPI is a standard created by a consortium that provides guidelines for remote
programming of instruments. These guidelines provide a consistent programming
environment for instrument control and data transfer. This environment uses
defined programming messages, instrument responses, and data format across
all SCPI
application uses a command language based on the SCPI standard.
eries Player application. The information is organized in the
instruments, regardless of manufa cturer. The MTS400 Series Player
Creating Commands
The SCP
represents a subsystem. The top level of the tree is the root node; it is followed by
one or more lower-level nodes.
Figure 2-1: Example of SCPI subsystem hierarchy tree
You can create commands and queries from these subsystem hierarchy trees.
Commands specify actions for the instrument to perform. Queries return
measurement data and information about parameter settings.
SCPI commands are created by stringing together the nodes of a subsystem
hierarchy and separating each node by a colon.
In Figure 2-1, RECord is the root node and TARGet, TYPE, SIZE, and TIME are
lower-level nodes. To create a SCPI command, start with the root node RECord
and move down the tree structure adding nodes until you reach the end of a
branch. Most commands and some queries have parameters; you must include a
value for these p arameters. If you specify a parameter value that is out of range,
the parameter will be set to a default value.
I language is based on a hierarchical or tree structure (see Figure 2-1) that
For example,
from the hierarchy tree. (See Figure 2-1.)
MTS400 Series MPEG Test Systems Programmer Manual2-1
RECord:TARGet:TYPE DISK is a valid SCPI command created
Command Syntax
Creating Queries
Parameter Types
To create a quer
of a branch, and add a question mark.
y, start at the root node of a tree structure, move down to the end
RECord:TARGet:TYPE is an example o f a
valid SCPI query using the hierarchy tree. (See Figure 2-1.)
Every parame
ter in the command and query descriptions is of a specified type.
The parameters are enclosed in brackets, such as <pattern>. The parameter type is
listed after the parameter and is enclosed in parentheses, for example, (discrete).
Some parameter types are defined specifically for the MTS400 Series Playerapplication command set and some are defined by ANSI IEEE 488.2-198.
Table 2-1: Parameter types used in syntax descriptions
Parameter typeDescriptionExample
binaryBinary numbers
arbitrary block
1
A specified length of
arbitrary data
booleanBoolean numbers or values
discrete
hexadecimal
2
A list of specific valuesMIN, MAX, UP, DOWN
Hexadecimal numbers (0-9,
A, B, C, D, E, F)
NR123numericIntegers0, 1, 15, -1
NR22numericDecimal numbers1.2, 3.141516, -6.5
NR32numericFloating point numbers3.1415E-9, -16.1E5
NRf2numeric
Flexible decimal number
that may be type NR1, NR2
or NR3
4
string
Alphanumeric characters
(must be within quotation
marks)
1
Defined in ANSI/IEEE 488.2 as "Definite Length Arbitrary Block Response Data."
2
An ANSI/IEEE 488.2-1992-defined parameter type.
3
me commands and queries will accept a hexadecimal value even though the parameter type is defined as
So
NR1.
4
Defined in ANSI/IEEE 488.2 as "String Response Data."
#B0110
#512234xxxxx ...where
5 indicates that the following
5 digits (12234) specify the
length of the data in bytes;
xxxxx . indicates the data
ON or 1, OFF or 0
#HAA, #H1
See NR1, NR2, NR3
examples
"Testing 1, 2, 3"
2-2MTS400 Series MPEG Test Systems Programmer Manual
Command Syntax
Abbreviating Commands,
Queries, and Parameters
Chainin
g Commands and
Queries
You can abbrevi
short form. This manual shows these short forms as a combination of upper and
lower case letters. The upper case letters indicate the accepted short form of a
command. You can create a short form by using only the upper case letters.
(See Figure 2-2.) The accepted short form and the long form are equivalent and
request the same action of the instrument.
Figure 2-2: Example of abbreviating a command
You can chain several commands or queries together into a single message. To
create a chained message, first create a command or query, add a semicolon (;),
and then add more commands or queries and semicolons until you are done. If the
comma
following figure illustrates a chained message consisting of several commands
and queries. The single chained message should end in a command or query, not a
semicolon. Responses to any queries in your message are separated by semicolons.
nd following a semicolon is a root node, precede it with a colon (:). The
ate most SCPI commands, queries, and parameters to an accepted
gure 2-3: Example of chaining commands and queries
Fi
f a command has the same root and lower-level nodes as the previous command,
I
you can omit these nodes. In the following figure, the second command has
the same root node (REC) and lower level node (TARG) as the first command,
so these nodes can be omitted.
MTS400 Series MPEG Test Systems Programmer Manual2-3
Command Syntax
General Rules
Figure 2-4:
Example of o mitting root and lower-level nodes in a chained message
Here are three general rules for using SCPI commands, queries, and parameters:
You can use single (‘ ’) or double (" ") quotation marks for quoted strings, but
you cannot use both types of quotation marks for the same string.
correct: "This string uses quotation marks correctly."
correct: ‘This string als o uses quotation marks correctly.’
incorrect: "This string does not use quotation marks correctly.’
You can use upper case, lower case, or a mixture of both cases for all
commands, queries, and parameters.
RECORD:TARGET:TRIGGER:POSITION 50
esameas
is th
record::position target:trigger50
and
RECORD:target:trigger:POSITION 50
NOTE. Literal strings (quoted) are case sensitive. For example: file names.
No embedded spaces are allowed between or within nodes.
correct:
RECORD:TARGET:TRIGGER:POSITION 50
incorrect: RECORD: TARGET: TRIGGER: POSI TION 50
2-4MTS400 Series MPEG Test Systems Programmer Manual
Command Syntax
IEEE 488.2 Com
Description
Command and Query
Structure
Backus-Naur Form
Definition
mon Commands
ANSI/IEEE Standard 488.2 defines the codes, formats, protocols, and usage of
common commands and queries used on the interface between the controller
and the instr
this standard.
The syntax for an IEEE 488.2 common command is an asterisk (*) followed
by a comman
IEEE 488.2 common query is an asterisk (*) followed by a query and a question
mark. All of the common commands and queries are listed in the last part of the
Syntax and Commands section.
*ESE 16
*CLS
The fol
*ESR?
*IDN?
This manual may describe commands and queries using the Backus-Naur Form
(BNF) notation. The following table defines the standard BNF symbols.
lowing are examples of common queries:
uments. The MTS400 Series Player application complies with
d and, optionally, a space and parameter value. The syntax for an
Table 2-2: BNF symbols and meanings
Symbol
<>
::=
|Exclusive OR
{ }Group; one element is required
[]
.. .
( )Comment
Meaning
Defined element
Is defined as
Optional; can be omitted
Previous element(s) may be repeated
MTS400 Series MPEG Test Systems Programmer Manual2-5
Command Syntax
2-6MTS400 Series MPEG Test Systems Programmer Manual
Command Groups
Functional Co
mmand Groups
The commands are divided into the following groups:
Common commands
DISPLAY commands
MASS MEMORY commands
PLAY comma
RECORD commands
SYSTEM commands
OPTIONAL commands
The Player application can be controlled remotely through the 1000/100/10
BASE-T port on the rear panel. Refer to Connecting to a Network for detailed
information about how to connect and set up for remote operation. (See page 1-1.)
nds
MTS400 Series MPEG Test Systems Programmer Manual2-7
Common commands
Common comman
The Common co
that support IEEE 488.2.
Table 2-3: Common commands
CommandsDescription
*CLSClears SESR (Standard Event Status
*ESESets or returns the bits of the ESER (Event
*ESR?Returns the contents of SESR (Standard
*IDN?Return
*LRN?
*OPCSets
*OPTLists the installed interface option.
*RSTResets the instrument to the factory default
*SRESets or returns the bits of the SRER( Service
*STB?Returns the value of the SBR (Status Byte
*TRGGenerates a trigger event.
*TST?Performs the self test and returns its result.
*WAI
ds
mmands have a "*" prefix and address of all the instruments
Register)
and Event Queue, which are used in the
instrument status and event reporting system.
Status En
and events reporting system.
Event Status Register) used in the status and
events
The ID information contains manufacturer,
model, firmware version, hardware version,
and FP
Returns the current instrument settings.
operation complete message to be issued,
when all pending operations are finished.
This
:PLAY:STARt or :RECord:STARt
command is executed.
st
when the
commands are executed successively.
R
Register). Bit 6 of the SBR is read as a MSS
(Master Status Sum m a ry) bit.
The MTS400 Series System always returns
1.
Wait-to-continue command. This command
is not necessary since the MTS400 Series
System handles commands sequentially.
, the SBR (Status Byte Register),
able Register) used i n the status
reporting system.
s the ID information of the instrument.
GA code version.
or returns the bit 0 in the SESR, and the
query is only available just after the
ate. This command has the same effect
:SYSTem:PRESet and *CLS
equest Enable Register).
2-8MTS400 Series MPEG Test Systems Programmer Manual
DISPLAY Commands
DISPLAY Comma
nds
Use these com
display.
Table 2-4: DISPLAY commands
CommandsDescription
DISPlay:VIEW:FORMat
HEXadecim
DISPlay:
VIEW:FORMat?
mands to select a display format of the base value in the hierarchy
Sets the base value used to describe the
al|DECimal|OCTal
component
display. The choices are HEXadecimal,
DECimal, and OCTal. The default value is
HEXadeci
Returns t
base value in the hierarchy display.
mal.
he current display format of the
information in the hierarchy
MTS400 Series MPEG Test Systems Programmer Manual2-9
MASS MEMORY Commands
MASS MEMORY Co
Use these com
moving a directory, and loading and saving a preset.
Table 2-5: MASS MEMORY commands
CommandsDescription
MMEMory:CATalog [<directory_path>]Lists the files in the specified directory. The
MMEMory:
MMEMory:CDIRectory:STATeReturns or changes the current directory for
MMEMory:LOAD:STATe <preset_name>Loads the specified preset. This command
MMEMory:MDIRectory <directory_path>
MMEMory:STORe:STATe <preset_name>Saves the instrument settings with the
mmands
mands to perform file related operations such as changing and
accept
preset. Current instrument settings are
overwritten by this command.
Creates a subdirectory. The command is
inval
already exists.
specified preset name
onse is as follows: <used_bytes>,
r returns the current directory for
s the name of a previously saved
id if a directory with the specified name
2-10MTS400 Series MPEG Test Systems Programmer Manual
PLAY Commands
PLAY Commands
Use these com
mands to set parameters related to the stream output. These include
packet size, output clock rate, data output source, and PCR jitter insertion.
Table 2-6: PLAY commands
CommandsDescription
PLAY:AUTOplaySets whether the selected stream is
automatic
power-down settings when you turn the
instrument on or return the current auto play
mode stat
PLAY:CLO
PLAY:CLOCk:DEFault:RATE:RATIoSets or returns the default clock rate that is
PLAY:CLOCk:ESRAtefixedSets or returns the current elementary
PLA
PLAY:CLOCk:RATESets or returns the clock rate for the stream
LAY:CLOCk:RATE:RATIo
P
PLAY:CLOCk:SOURceSets which clock to use as the reference
PLAY:EXTernal
Ck:DEFault:RATE
Y:CLOCk:ISDBT:CONVert
Sets or re
automatically set when the selected stream
file is downloaded.Since the clock rate is
calcula
the value may be different from the original
clock rate. If this happen, you can set
the appr
You can set the rate from 0.001 MHz to
250.0 MHz. If you change the value, the
:PLAY:
will set to the same value. The default value
is 56.61.
autom
file is downloaded using a fraction. Since the
clock rate is calculated based on the PCRs
in th
original clock rate. If this happen, you can
set the appropriate value by this command.
str
Set
automatically set when the data file for
ISDB-TSB is loaded.
ou
ets or returns the clock rate for the stream
S
output using a fraction.
for the stream output or returns the current
reference clock for the stream output.
Sets or returns to start stream output using
a trigger signal applied to the Trig In/O ut
connector.
ally output using the last
us.
turns the default clock rate that is
ted based on the PCRs in the file,
opriate value by this command.
CLOCk:RATE
atically set when the selected stream
e file, the value may be different from the
eam rate status.
s or returns whether the clock rate is
tput.
command setting
MTS400 Series MPEG Test Systems Programmer Manual2-11
PLAY Commands
Table 2-6: PLAY commands (cont.)
CommandsDescription
PLAY:EXTTrigger:BNCSets whether to use the rear-panel Trig
In/Out connector as an input or an output or
returns the current input/output status of the
Trig In/Out connector.
PLAY:EXTTrigger:OUTPut:DELAySets the amount of delay or returns the
current delay for the start packet pulse of the
ISDB-T frame in 1-parallel clocks of the SPI
output.
PLAY:EXTTrigger:OUTPut:SELEctSets the amount of delay or returns the
current delay for the start packet pulse of the
ISDB-T frame in 1-parallel clocks of the SPI
output.
PLAY:LOAD:FILESelects or returns the current output signal
selection from the Trig In/Out connector
when the PLAY:EXTTrigger:BNC command
is set to OUTPut.
PLAY:LOOPSets whether the selected stream is output
using looping method or returns the current
output loop mode status.
PLAY:LOOP:ISDBT:FRAMeSets or returns whether to output an ISDB-T
transport stream in OFDM frames when
looped.
PLAY:PACKetSets the packet size for the selected stream
file or returns the current packet size setting
for the selected stream file.
PLAY:PCR:INACcurracySets or returns the PCR jitter insertion.
PLAY:PCR:INITialSets the initial value or returns
the current initial value of the
program_clock_reference_base and
program_clock_reference_extension
parameters.
PLAY:PROGress?Returns the current percentage of progress
of the play.
PLAY:S192F:PARTialtsSets or returns whether to output a stream
file consisting of a 192-byte packet as a
partial transport stream.
PLAY:SOURceSets the source or returns the current source
setting for stream output.
PLAY:SPIOutputSets whether the signal output from the
SPI IN/OUT connector is enabled or not or
returns the current status of the connector.
PLAY:SSPOsition:INITial:ENABleSets the initial start position setting of the
selected stream to be looped or returns the
current state of the setting.
2-12MTS400 Series MPEG Test Systems Programmer Manual
PLAY Commands
Table 2-6: PLAY commands (cont.)
CommandsDescription
PLAY:SSPOsition:INITial[:POSition]Sets the initial start position or returns
the current sate of the selected stream to
be looped by the number of packets (the
number of super frames for M-TMCC file, or
the number of bytes for a Non-TS file).
PLAY:SSPOsition:INITial:TIMESets or returns the initial start position of
the selected stream to be looped by time
(hh:mm:ss).
PLAY:SSPOsition[:POSition]Sets or returns the loop start and stop
positions of the selected stream to be looped
by the number of packets (the number of
super frames for M-TMCC file, or the number
of bytes for a Non-TS file).
PLAY:SSPOsition:TIMESets or returns the loop start and stop
positions of the selected stream to be looped
by time (hh:mm:ss).
PLAY:STANdard?Sets or returns the loop start and stop
positions of the selected stream to be looped
by time (hh:mm:ss).
PLAY:STARt?Starts outputing the selected stream. There
are no arguments.
PLAY:STOPStops outputting the selected stream. There
are no arguments.
PLAY:SYNCSets or returns the current the format of the
PSYNC signal output from the SPI IN/OUT
connector.
PLAY:SYNC:DVALid:WIDThSets the initial status or returns the current
status and data width of the DVALID
signal when NONTs is selected in the
:PLAY:SYNC command.
PLAY:SYNC:PSYNc:INTervalSets the initial status or returns the current
status and output period of the PSYNC
signal when NONTs is selected in the
:PLAY:SYNC command.
PLAY:TIMEpacket:DEFine
PLAY:TIMEpacket:MODESelects the reference time or returns the
PLAY:UPDAte
Sets the initial values or returns the
current values of the TDT, TOT, or
STT when you select USER in the
:PLAY:TIMEpacket:MODE command.
current reference time used to s et the initial
value of the TDT, TOT, or STT when the
:PLAY:UPDAte command is set to ON.
Sets whether to update parameters in a
stream when looped. Returns the current
update mode status.
MTS400 Series MPEG Test Systems Programmer Manual2-13
PLAY Commands
Table 2-6: PLAY commands (cont.)
CommandsDescription
PLAY:UPDAte:ITEM:CCSets or returns whether to update
continuity_counter values when the
:PLAY:UPDAte command is set to ON.
PLAY:UPDAte:ITEM:NPT
PLAY:UPDAte:ITEM:PCRSets or returns whether to update
PLAY:UPDAte:ITEM:PCR:METHodSets or returns the method to update
PLAY:UPDAte:ITEM:REEDsolomon
PLAY:UPDAte:ITEM:TIMEpacketReturns or returns whether to update
Sets or returns whether to update NPT values
when the
:PLAY:UPDAte command is set
to ON.
PCR/PTS/DTS values when the
:PLAY:UPDAte command is set to
ON.
PCR/PTS/DTS values.
Sets or returns whether to update
Reed-Solomon symbols in an ISDB-T
transport stream when the
:PLAY:UPDAte
command is set to ON.
TDT/TOT/STT values when the
:PLAY:UPDAte command is set to
ON.
2-14MTS400 Series MPEG Test Systems Programmer Manual
RECORD Commands
RECORD Comman
Use these com
input interface, record size, and trigger position.
Table 2-7: RECORD commands
CommandDescription
RECord:ACQuire:STARtStarts input stream acquisition. When two
RECord:ACQuire:STOPStops input stream acquisition. Refer to the
RECord:CLOCk:RATE?Returns the clock rate of the input stream in
RECord:EXTernalSets or returns whether to start input stream
RECord:PACKet?Returns the packet size of the input stream.
RECord:PROGress?Returns the current percentage of progress
RECord:SOURceSets the interface or returns the current
RE
ECord:STARt
R
RECord:STORe:FILEReturns or specifies the c urrent file name
RECord:STORe:MODESets or returns the current save mode setting
RECord:TARGet:IGNOredvalidSets or returns whether the instrument
RECord:TARGet:SIZESets the file size or returns the current file
ds
mands to set parameters related to the data record. These include
Cord:STANdard?
or more rec
instrument successively, the instrument
stops stream acquisition and then starts
stream ac
Therefore, when many commands are
sent to the instrument, it takes a long time
to comple
:RECord:ACQuire:STOP command
before sending record commands and
send the
command after sending record commands,
you can shorten the setting time.
:RECor
description on how to use this command.
MHz.
reco
TRIG IN connector.
during recording.
terface used to capture a stream data.
in
Returns the current standard used to display
e input stream.
th
tarts recording the input stream.
S
used when the input stream is saved.
when the input stream is saved.
ignores the DVALID signal from the selected
interface when a stream data is acquired.
setting to record the input stream in MB.
ord commands are sent to the
quisition for each command.
te all settings. If you send the
:RECord:ACQuire:STARt
d:ACQuire:STARt
rd using a trigger signal applied to the
command
MTS400 Series MPEG Test Systems Programmer Manual2-15
RECORD Commands
Table 2-7: RECORD commands (cont.)
CommandDescription
RECord:TARGet:TIMESets or returns the current recording time
(hh:mm:ss) to record the input stream.
RECord:TARGet:TRIGger:CONTinuousSets or returns the Continuous Recording
state.
RECord:TARGet:TRIGger:CONTinuous:
LIMit
RECord:TARGet:TRIGger:POSitionSets or returns the trigger position used to
RECord:TARGet:TRIGger:UNLImitSets or returns whether to record the input
RECord:TARGet:TYPESets or returns the record target used to
Sets or returns the number of files to stop
Continuous Recording.
record the input stream.
stream to the full free space in the hard disk
or RAM.
record the input stream.
2-16MTS400 Series MPEG Test Systems Programmer Manual
SYSTEM Commands
SYSTEM Comman
Use these com
Table 2-8: SYSTEM commands
CommandsDescription
SYSTem:COMMunicate:SOCKet:PORTSets or returns the port number needed
SYSTem:COMMunicate:SOCKet:RXTERMSets or returns the terminator used when
SYSTem:COMMunicate:SOCKet:TXTERMSets or returns the terminator used when the
SYSTem:ERRor[:NEXT]?Returns an error message from the
SYSTem:KLOCk[:STATe]Locks or unlocks the front-panel buttons and
SYSTem:MODESets or returns the operation mode of the
SYSTem:OPTions?
SYSTem:PRESetResets the instrument to the factory default
SYSTem:STANdardSets or returns the standard used to display
SYSTem:STATus?Returns the current operation status of the
ds
mands to set or query the system related functions.
to remotely control the instrument over an
Ethernet network.
the instrument receives commands from a
controller.
instrument sends information to a controller.
error/event queue.
mouse operation or returns the current status
of lock function.
instrument.
Returns the option number, hardware
version, and code version of the installed
interface card.
settings.
the input stream.
instrument.
MTS400 Series MPEG Test Systems Programmer Manual2-17
Optional Commands
Optional Comm
ands
This subsect
cards. These commands are available only when the appropriate interface card is
installed into the MTS400 Series System.
PLAY:IP:STATistics:REPLication:IP:BIRAte?Returns the total IP bit rate of all the streams.
PLAY:IP:STATistics:REPLication:IP:
BYTRansmited?
PLAY:IP:STATistics:REPLication:IP:
PKTCount?
PLAY:IP:STATistics:REPLication:TS:
BITRAte?
PLAY:IP:STATistics:REPLication:TS:
PKTCount?
PLAY:IP:STATistics:TS:BITRAte?Returns the TS bit rate value for the play.
PLAY:IP:STATistics:TS:BITRAte:AVG?Returns the average TS bit rate value for the
Returns the maximum IP bit rate variation
value from the set bit rate value.
play.
Returns the average variation value from the
set bit rate value.
play.
Returns the minimum variation value from
the set bit rate value.
from the set bit rate.
during the play.
Returns the total number of IP checksum
errors of all the streams.
Returns the total number of UDP checksum
errors of all the streams.
Returns the total packets dropped of all the
streams.
Returns the total number of sequential errors
of all the streams.
Returns the total bytes transmitted in all the
streams.
Returns the total IP packet count of all the
streams.
Returns the total TS bit rate of all the
streams.
Returns the total count of TS packets of all
the streams.
play.
MTS400 Series MPEG Test Systems Programmer Manual2-23
Optional Commands
Table 2-9: Optional commands (cont.)
SubheadSubhead
PLAY:IP:STATistics:TS:BITRAte:
AVGVariation?
PLAY:IP:STATistics:TS:BITRAte:MAX?Returns the maximum TS bit rate value for
PLAY:IP:STATistics:TS:BITRAte:
MAXVariation
PLAY:IP:STATistics:TS:BITRAte:MIN?Returns the minimum TS bit rate value for
PLAY:IP:STATistics:TS:BITRAte:
MINVariation?
PLAY:IP:STATistics:TS:BRVAriation?Returns the TS bit rate variation value from
PLAY:IP:STATistics:TS:PKTCount?Returns the TS packet count for the play.
PLAY:IP:STATistics:TS:PKTSize?Returns the TS packet size for the play.
PLAY:IP:TTSSttngs:PRSRvtsEnables to preserve the TTS settings of the
PLAY:IP:TTSSttngs:TTSEnbledEnables or returns the timestamped TS
PLAY:IP:TTSSttngs:TTSJitter:AMPLitudeSets or returns the TTS jitter amplitude for
PLAY:IP:TTSSttngs:TTSJitter:JTREnableEnables the TTS jitter settings for the playout
PLAY:IP:TTSSttngs:TTSJitter:PATTernSets or returns the the TTS jitter pattern for
PLAY:IP:TTSSttngs:TTSJitter:PERIodSets or returns the TTS jitter period for the
PLAY:IP:TTSSttngs:TTSJitter:PLSWidthSets or returns the TTS jitter pulse width for
PL AY:I PAVailabl e ?Returns whether the IP interface is available.
PLAY:IPENable
PLAY:OP07AS:PORT:THROughoutSelects or returns play loop throughout
PLAY:OP07AS:PORT:TYPESelects or returns the current signal to output
PLAY:OPCArdenbl
PLAY:S310MSelects or returns the SMPTE310M mode
Returns the average TS bit rate variation
value from the set bit rate value.
the play.
Returns the maximum T S bit rate variation
value from the set bit rate value.
the play.
Returns the minimum TS bit rate variation
value from the set bit rate value.
the set bit rate value.
file that already has them or returns whether
TTS settings option is enabled for the player.
(TTS) settings for the playout when set to
ON.
the playout.
or returns whether the TTS jitter settings is
enabled for the playout.
the playout.
playout.
the playout.
Enables or returns the IP interface when set
to ON.
status.
from the OUTP UT connector.
Enables or returns the optional card when
set to ON.
for output.
2-24MTS400 Series MPEG Test Systems Programmer Manual
Optional Commands
Table 2-9: Optional commands (cont.)
SubheadSubhead
RECORD:OP07AS:INPUTPORTSelects or returns the recording input port.
RECORD:OP07AS:PORT:TYPESelects or returns the input signal expected
from the INPUT connector.
RECORD:S310MSelects or returns the SMPTE310M mode
for input.
MTS400 Series MPEG Test Systems Programmer Manual2-25
Optional Commands
2-26MTS400 Series MPEG Test Systems Programmer Manual
Command Descriptions
*CLS (No Query Form)
Standard Event Status Register), the SBR (Status Byte Register),
Group
Syntax
Clears SESR (
and Event Queue, which are used in the instrument status and event reporting
system.
Common
*CLS
DISPlay:VIEW:FORMat? (Query Only)
Returns the current display format of the base value in the hierarchy d isplay.
Group
Synta
DISPLA
DISPlay:VIEW:FORMat?
x
Y
DISPlay:VIEW:FORMat HEXadecimal|DECimal|OCTal (No Query Form)
oup
Gr
Syntax
Sets the base value used to d escribe the component information in the hierarchy
display. The choices are HEXadecimal, DECimal, and OCTal. The default value
is HEXadecimal.
DISPLAY
DISPlay:VIEW:FORMat HEXadecimal|DECimal|OCTal
MTS400 Series MPEG Test Systems Programmer Manual2-27
Command Descriptions
*ESE
Sets or returns the bits of the ESER (Event Status Enable Register) used in the
status and events reporting system.
Group
Syntax
*ESR? (Query Only)
Group
Syntax
*IDN? (Query Only)
Common
*ESE
*ESE?
Returns the contents of SESR (Standard Event Status Register) used in the status
and events reporting system.
Common
*ESR?
Returns the ID information of the instrument. The ID information contains
manufacturer, model, firmware version, hardware version, and FPGA code
version.
Group
Syntax
Common
*IDN?
*LRN? (Query Only)
Returns the current instrument settings.
Group
Syntax
2-28MTS400 Series MPEG Test Systems Programmer Manual
Common
*LRN?
Command Descriptions
MMEMory:CATa
Arguments
MMEMory
:CDIRectory[:DATA]
log [<directory_path>] (No Query Form)
Lists the files in the specified directory.
Group
Syntax
Group
Syntax
MASS MEMORY
MMEMory:CATalog [<directory_path>]
The query response is as follows: <used_bytes>, <available_bytes>,
“<file_name>, <directory_flag>, <file_size>, <date>, <time>”.
Changes or returns the current directory for data files.
MTS400 Series MPEG Test Systems Programmer Manual2-29
Command Descriptions
MMEMory:LOAD
:STATe <preset_name> (No Query Form)
Loads the specified preset. This command accepts the name of a previously saved
preset. Current instrument settings are overwritten by this command.
Group
Syntax
MASS MEMORY
MMEMory:LOAD:STATe <preset_na
me>
MMEMory:MDIRectory <directory_path> (No Query Form)
Creates a subdirectory. The command is invalid if a directory with the specified
name already exists.
Group
Syntax
MASS MEMORY
MMEMory:MDIRectory <directory_path>
MMEMory:STORe:STATe <preset_name> (No Query Form)
Saves the instrument settings with the specified preset name.
Group
Syntax
MASS MEMORY
MMEMory:STORe:STATe <preset_name>
*OPC
Sets or returns the bit 0 in the SESR, and the operation c omplete message to be
issued, when all pending operations are finished. This query is only available just
after the PLAY:STARt? or RECord:STARt command is executed.
Group
Syntax
Common
*OPC?
Arguments
2-30MTS400 Series MPEG Test Systems Programmer Manual
Waits until all pending operations are finished and returns a "1 " ASCII character.
Command Descriptions
*OPT (No Query
PLAY:ASI:
FORMAT
Arguments
Form)
Group
Syntax
Group
Syntax
Lists the installed interface option.
Common
*OPT
Sets or returns the output format of the ASI signal.
Sets whether the selected stream is automatically output using the last power-off
settings when you turn the instrument on or return the current auto play mode
status.
PLAY
PLAY:AUTOplay?
PLAY:AUTOplay ON|OFF
You can use 1 or 0 instead of ON or OFF. The default value is OFF.
MTS400 Series MPEG Test Systems Programmer Manual2-31
Command Descriptions
PLAY:CLOCk:D
EFault:RATE
Group
Syntax
Arguments
Sets or returns the default clock rate that is automatically set when the selected
stream file is downloaded. Since the clock rate is calculated based on the PCRs in
the file, the v
you can set the appropriate value by this command.
You can set the rate from 0.001 MHz to 250.0 MHz. If you change the value, the
PLAY:CLOCk:RATE command setting will set to the same value. The default
value is 56.61.
alue may be different from the original clock rate. If this happen,
PLAY:CLOCk:DEFault:RATE:RATIo
Sets or returns the default clock rate that is automatically set when the selected
stream file is downloaded using a fraction. Since the clock rate is calculated based
onthePCRsinthefile, the value may be different from the original clock rate. If
this happens, you can set the appropriate value by this command.
The firs t argument represents a numerator and the second represents a
denominator. You can set both values from 0 to 2000000000. If you change the
value, the PLAY:CLOCk:RATE:RATIo command setting will set to the same
value. The defau
t:RATE:RATIo?
lt values are 629 for the numerator and 300 for the denominator.
2-32MTS400 Series MPEG Test Systems Programmer Manual
Command Descriptions
PLAY:CLOCk:E
SRAtefixed
Group
Syntax
Arguments
Sets or returns the current elementary stream rate status.
When you set it to ON, the elementary stream rate becomes constant regardless
of the clock rate setting. You can use 1 or 0 instead of ON or OFF. The default
value is OFF.
PLAY:CLOCk:ISDBT:CONVert
Sets or returns whether the clock rate is automatically set when the data file for
ISDB-TSB is loaded.
The firs t argument represents a numerator and the second represents a
denominator. You can set both values from 0 to 2000000000. The default values
are 629 for the numerator and 300 for the denominator.
Sets which clock to use as the reference for the stream output or returns the current
reference clock for the stream output.
EXT10M: uses a 10 MHz signal on the CLK/REF IN connector.
EXT27M: uses a 27 MHz signal on the CLK/REF IN connector.
EXTIfft: uses an IFFT sample clock signal (8.126984 MHz) on the CLK/REF
IN connector.
EXTParallel: uses a clock signal on the CLK/REF IN connector as a parallel
clock.
EXTSerial: uses a clock signal on the CLK/REF IN connector as a serial clock.
2-34MTS400 Series MPEG Test Systems Programmer Manual
PLAY:EXTernal
Command Descriptions
Sets or returns to start stream output using a trigger signal applied to the Trig
In/Out connector.
Group
Syntax
Arguments
PLAY:EXTTrigger:BNC
Group
Syntax
PLAY
PLAY:EXTernal?
PLAY:EXTernal RISE|FALL|OFF
RISE: the stream output is started at the rising edge of the applied trigger signal.
ThedefaultvalueisOFF.
FALL: the stream output is started at the falling edge of the applied trigger signal.
Sets whether to use the rear-panel Trig In/Out connector as an input or an output
or returns the current input/output status of the Trig In/Out connector.
PLAY
PLAY:EXTTrigger:BNC?
PLAY:EXTTrigger:BNC
INPUt|OUTPut
Arguments
MTS400 Series MPEG Test Systems Programmer Manual2-35
INPUt connector can be used to input an external trigger signal.
OUTPut connector can be used to output a 27 MHz reference clock or an ISDB-T
frame pulse signal. Use the PLAY:EXTTrigger:OUTPut:SELEctcommand to
select which signa
l is output from the connector. The default value is INPUt.
Command Descriptions
PLAY:EXTTrig
ger:OUTPut:DELAy
Sets the amount of delay or returns the current delay for the start packet pulse of
the ISDB-T frame in 1-parallel clocks of the SPI output.
<string> is of the format “xx:xx:xx:xx:xx:xx” and is a hexadecimal value.
The increments for these addresses can be specified per node. The value of the
next node will be rolled over when the value of the incremented node reaches
the maximum.
<string> is of the format “xx:xx:xx:xx:xx:xx” and is a hexadecimal value. The
increments for these addresses can be specified for each node. The value of the
next node will be rolled over when the value of the incremented node reaches
the maximum.
<string> is of the format “xx:xx:xx:xx:xx:xx” and xx is a hexadecimal value.
The increments for IP addresses can be speci fied for each node. The value of the
next node will be rolled over when the value of the incremented node reaches
the maximum.
<string> is of the format “xx:xx:xx:xx:xx:xx” and xx is a hexadecimal value.
The increments for IP addresses can be specified for each node. The value of the
next node will be rolled over when the value of the incremented node reaches
the maximum.
PLAY:IP:PARAmeters:REPLication:INCRement:IP:TOS
Sets or returns the increment value for the type of service of the IP protocol.