background image

Remote Operation Getting Started Guide

Working with applications

Transport Module, DMC, MSAM, and 5800 Remote Operation

11

:SYSTem:ERRor?

The return from this command will be 

0, "No error"

There will be no return until 

the 

*RST 

command is finished.

When the 

0, "No error"

 

response is received, the desired module connection has been 

completed. The system is now ready to have testing applications started on that module

.

Working with applications 

System Commands

Check for Errors

:SYSTem:ERRor?

If a remote control command has an error, no message will be returned unless requested 
with ":SYSTem:ERRor?". The response to this command is an error code number and a 
brief description in quotes. The description will be one of the messages in the table below, 
possibly followed by more information.

It is recommended that this command is sent automatically after any query command 
(ending with a '?'). If a command is errored, checking ":SYSTem:ERRor?" will immediatly 
report the mistake, while not checking it will result in the mistake being silently ignored.

Examples:

> *REM

> :INITiate

> :SYSTem:ERRor?

-221, "Settings conflict; no application has been selected"

> :SENSe:MISSpelled:COMMand?

Error code

Error message

Error code

Error message

0

No error

-141

Invalid character data

-100

Command Error

-144

Character data too long

-102

Syntax Error

-150

String data error

-103

Invalid separator

-151

Invalid string data

-108

Parameter not allowed

-200

Execution error

-109

Missing parameter

-220

Parameter error

-113

Undefined header

-221

Settings conflict

-120

Numeric data error

-222

Data out of range

-121

Invalid character in number

-224

Illegal parameter value

-138

Suffix not allowed

-231

Data questionable

Содержание T-BERD MTS 8000

Страница 1: ...applications Controlled modules may be a part of an MTS 8000 or MTS 6000A Test Platform As these platforms are physically different only those physical features that apply directly to remote operatio...

Страница 2: ...modules the Transport Module and the MSAM Assembly Used to refer to a complete set of components assembled as an instru ment and used for testing This manual supports three assemblies The Transport Mo...

Страница 3: ...the product name connector panel and the Transport Module and MSAM user interfaces to identify the connectors and applications used for 10 7G 11 05G or 11 1G OTN testing PIM The physical interface mo...

Страница 4: ...actor Pluggable optical transceiver A variety of optional XFPs are available for testing 10 Gigabit fibre circuits Remote control flow When running a remote control session the basic flow is as follow...

Страница 5: ...STem ERRor NEXT nCorrect INITiate SYSTem ERRor NEXT nIncorrect Serial command processing The remote control system processes commands sequentially in the order they are received It does not process mu...

Страница 6: ...g used in the test These are indi cated as side and slice These are required arguments and must be filled with a value as follows side PWRS Power Side specify this location when connecting to an MSAM...

Страница 7: ...side slice BERT example MOD FUNC SEL PWRS SLIC1 BERT The module will return OFF or ON 2 If the module state response was OFF turn ON the module MOD FUNC SEL side slice BERT ON 3 Query the module s por...

Страница 8: ...all currently running applicaitons will be shut down GUI Mode Alternatively remote control may be used without deactivating the GUI This mode can be used to debug remote control tests and to verify th...

Страница 9: ...Other common commands from the SCPI standard starting with are not supported REM The REM command is usually the first command issued once connected to the remote control port This puts the unit into r...

Страница 10: ...ameter to launch 10 100 1000M Ethernet Layer 2 Traffic Terminate Keep in mind the GUI command may take some time to process The 0 No error message may not show up for a minute or two GUI TermEth10ML2T...

Страница 11: ...he table below possibly followed by more information It is recommended that this command is sent automatically after any query command ending with a If a command is errored checking SYSTem ERRor will...

Страница 12: ...ions that are available to a specific port The first parameter is reserved for internal use use the value none The second parameter specifies the port to query 1 or 2 Example SYSTem APPLication APPLic...

Страница 13: ...cific running instance of an application which directs all subse quent commands to that application It must be sent after the application is launched and the unique id for that application instance ha...

Страница 14: ...mand starts the test if it is in the stopped state ABORt The ABORt command stops the test if it is in the running state To perform a test restart and restart all test measurement results perform a tes...

Страница 15: ...be space separated from the command String values String values are used for setups where the exact string is not a value defined by the SCPI implementation String values must be enclosed in double qu...

Страница 16: ...ons A unique SCPI command exists for every action The examples in this section will show how actions can be implemented and status can be queried and toggled using the same root command with minor var...

Страница 17: ...results are queried using the following command SENSe DATA result name where SENSe is an optional entry line represents the port number It is not necessary to enter the port number unless a dual port...

Страница 18: ...by semicolons in the order in which they were added to the group Result group examples The following example creates and queries a small group of Ethernet results SENSe DATA GROUP summary CSTatus PHYS...

Страница 19: ...t connection If the command returns a value the response is shown on the next line Connecting to an instrument and obtaining the remote control port number on page 19 Starting Remote Control on page 2...

Страница 20: ...IC1 BERT Optional query to verify the module is powered on returns OFF or ON ON MOD FUNC PORT BOTH SLIC1 BERT Query for the module s port number 8002 2 Open a TCP IP socket connection to the unit on t...

Страница 21: ...o an instru ment and obtaining the remote control port number on page 19 remote control mode may be activated with the REM command It is recommended that the SYSTem ERRor command be sent after every n...

Страница 22: ...122 SYSTem APPLication LAUNch Get the identifier of the most recently launched application TermEth1GL3Traffic_122 Launching an application Once the test unit is in remote control mode the following co...

Страница 23: ...expected Doing so will provide vital information in the event of a command error or connection issue Restarting the test To restart the test using remote control send the test stop command followed b...

Страница 24: ...ure each of those SENSe TEST ENABle OFF Sets the test type to Not Timed SENSe TEST ENABle ON Sets the test type to Timed Test SENSe TEST DURation 3600 Set the timed test duration in seconds SENSe TEST...

Страница 25: ...l session to the various platforms They are all similar only differing in the way the script arguments are processed RC Transport pl to connect to a Transport Module in a T BERD MTS 8000 Usage perl RC...

Страница 26: ...Optical Innovation Communications Test and Measurement Solutions and the logo are trademarks of JDS Uniphase Corporation Windows is a registered trademark of Microsoft Corporation in the United State...

Отзывы: