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
Loading...
+ 117 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.