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
reserved.
TEKTRONIX and TEK are registered trademarks of Tektronix, Inc.
TekExpress is a registered trademark of Tektronix, Inc.
Copyright and Intellectual Property (IP) rights pertain to certain software and hardware products provided
by Ellisys SA, Geneva, Switzerland, in support of the equipment referenced herein. These rights are
maintained by Ellisys, protected under civil laws of the United States, Switzerland, and other countries.
Unauthor
Copyright and Intellectual Property (IP) rights pertain to certain software products provided by Ellisys
SA, Geneva, Switzerland, in support of the equipment referenced herein. These rights are maintained by
Ellisys, protected under civil laws of the United States, Switzerland, and other countries. Unauthorized
reproduction, duplication, or reverse engineering of legally protected materials is forbidden.
ized reproduction, duplication, or reverse engineering of legally protected materials is forbidden.
TekExpress Online help, 076-0219-0
3.
Contacting Tektronix
onix, Inc.
Tektr
14150 SW Karl Braun Drive
P.O . B ox 5 0 0
Beaverton, OR 97077
USA
product information, sales, service, and technical support:
For
In North America, call 1-800-833-9200.
Worldwide, visit www.tektronix.com to find contacts in your area.
Table of Contents
General safety summary .......... .................................... .................................... ........iii
Introduction
Using Online Help............. .................................... .................................... .............1
Related documentation.............................................................................................1
Error Codes for TekExpress ....................................................................................141
Index
iiTekExpress USB 3.0 Automated Solutions Printable Online Help
General safety summary
Review the following safety precautions to avoid injury and prevent damage to this product or any
products connected to it.
To avoid potential hazards, use this product only as specified.
Only qualified personnel should perform service procedures.
While using this product, you may need to access other parts of a larger system. Read the safety sections
of the other component manuals for warnings and cautions related to operating the system.
To avoid fire or personal injury
Connect and disconnect properly. Connect the probe output to the measurement instrument before
connecting the probe to the circuit under test. Connect the probe reference lead to the circuit under test
before c
under test before disconnecting the probe from the measurement instrument.
onnecting the probe input. Disconnect the probe input and the probe reference lead from the circuit
General safety summary
Observ
Consult the product manual for further ratings information before making connections to the product.
Do not
Do not operate with susp ected failures. If you suspect that there is damage to this product, have it inspected
by qu
Avoid exposed circuitry. Do not touch exposed connections and components when power is present.
e all terminal ratings. To avoid fire or shock hazard, observe all ratings and markings on the product.
operate without covers. Do not operate this product with covers or panels removed.
alified service personnel.
Terms in this manual
ese terms may appear in this manual:
Th
WARNING. Warning statements identify conditions or practices that could result in injury or loss of life.
CAUTION. Caution statements identify conditions or practices that could result in damage to this product
or other
property.
TekExpress USB 3.0 Automated Solutions Printable Online Helpiii
General safety summary
ivTekExpress USB 3.0 Automated Solutions Printable Online Help
IntroductionUsing Online Help
Using Online Help
Select Help from the menu to open the help file. You can also find an electronic copy of the help file in the
Documents directory on the 063-4068-XX DVD.
Contents tab – Organizes the H elp into book-like sections. Select a book icon to open a section; select
any of the topics listed under the book.
Index tab – Enables you to scroll a list of alphabetical keywords. Select the topic of interest to bring
up the appropriate help page.
Search tab – Allows a text-based search of the online help content.
Follow these steps:
1. Type the word or phrase you want to find in the search box. If the word or phrase is not found, try the
Index tab.
2. Choose a topic in the lower box, and then select the Display button.
General help functions:
Select the Print button from the Help topics menu bar to print a topic.
To return to the previous window, select the Back button.
TekExpress USB 3.0 Automated Solutions Printable Online Help1
IntroductionConventions
Conventions
Online Help uses the following conventions:
The term “USB” refers to Universal Serial Bus.
The term “DUT” is an abbreviation for Device Under Test.
The term “select” is a generic term that applies to the two mechanical methods of choosing an option:
using a mouse or using the touch screen.
Table 1: Icon descriptions
IconMeaning
This icon identifies important information.
This icon
This icon identifies additional information that will help you use the
applica
xxx
identifies conditions or practices that could result in loss of data.
tion more efficiently.
2TekExpress USB 3.0 Automated Solutions Printable Online Help
IntroductionTechnical support
Technical support
Tektronix values your feedback on our products. To help us serve you better, please send us your
suggestions, ideas, or comments on your application, signal generator, or oscilloscope.
When you contact Tektronix Technical Support, please include the following information (be as specificas
possible):
General information
All instru
Hardware options, if any.
Probes used.
Your name, company, mailing address, phone number, FAX number.
Please indicate if you would like to be contacted by Tektronix about your suggestion or comments.
ment model numbers.
Application specific information
Software version number.
Description of the problem such that technical support can duplicate the problem.
If possible, save the setup files for all the instruments used and the application.
ssible, save the TekExpress setup files, log.xml and status messages text file.
If po
If possible, save the waveform on which you are performing the measurement as a .wfm file.
Forward the information to technical support using one of these methods:
E-mail – techsupport@tektronix.com
FAX – (503) 627-5695
TekExpress USB 3.0 Automated Solutions Printable Online Help3
IntroductionTechnical support
4TekExpress USB 3.0 Automated Solutions Printable Online Help
Getting startedWhat is new in this release
What is new in this release
The newest release of TekExpress USB-RMT includes the following features:
Automatic Calibration
Support for Software Channel Emulation
DUT Automation using Tektronix Power Supply and AWG DC Output
Enhanced lo
Sensitivity M argin Test - sweep through a range’
New Configu
Set Scope Vertical Scale for Error Detector using Oscilloscope Autoset
Polling LFPS Waveform
LFPS Bursts for Loopback
Signal Generator Channel Amplitude (Vpp)
New Configuration panel Analyze functions:
Apply C
Calibrated De-emphasis (dB)
Calibrated Rj RMS (ps)
Effective with Software Channel Emulation:
op-back training mechanism using Warm Reset for Device DUT type in ‘Informative SJ
ration panel functions:
alibration
S-Parameter Port Configuration Tx Plus
S-Parameter Port Configuration Rx Plus
arameter Port Configuration Tx Minus
S-P
S-Parameter Port Configuration Rx Minus
Previous rele ases of TekExpress USB-RMT included the following features:
Provide a complete solution for USB 3.0 receiver verification, characterization, debug, and compliance.
Fully automates USB 3.0 Receiver Compliance and Margin testing.
Automatically creates all required waveforms to perform receiver testing.
Automatically negotiates the device into loopback mode.
Provides real-time update of the jitter tolerance curve after execution of each test point.
Generates a comprehensive report with test results and signal characteristics
Provides complete integration with the Ellisys Error Detector and Oscilloscope Error Detector
TekExpress USB 3.0 Automated Solutions Printable Online Help5
Getting startedAccessories
Accessories
About the test
For host testing. (1) TF-USB3-A-R, (1) TF-USB3-B-R.
For device testing. (2) TF-USB3-A-R (includes short USB 3.0 Cable), (1) TF-USB3-B-R.
For error d
SuperSpeed USB3.0), or Oscilloscope Error Detector.
fixture
etection. External Error Detector Ellisys USB Explorer 280 (Analyzer and Traffic Generator for
6TekExpress USB 3.0 Automated Solutions Printable Online Help
Getting startedMinimum system requirements
Minimum system requirements
The minimum system requirements for a PC or Microsoft Windows-based oscilloscope to run TekExpress
USB-RMT are:
NOTE. TekE xp
ress USB-RMT does not run on a Tektronix AWG7102, AWG7122B, or AWG7122C.
Table 2: System requirements
Processor
Operating
System
Pentium 4/
Microsoft
page 8).
Microsoft Windows XP (32-bit) with SP2.
Memory
Hard Disk
512 MB of memory.
Approximately 2 GB of available hard-disk space for the recommended
install
components.
DriveDVD dri
Display
Super V
resolution for small fonts or 1024x768 minimum video resolution for large fonts).
The application is best viewed at 96 dpi display settings
SoftwareMicrosoft Internet Explorer 7.0 or later.
er Devices
Oth
M or equivalent processor.
Windows 7 (64-bit) with SP1 Windows 7 user account settings
ation, which includes full TekExpress installation and distributed
ve.
GA resolution or higher video adapter (800x600 minimum v ideo
Microsoft Excel 2002 or above.
Adobe Reader 6.0 or equivalent software for viewing portable document
at (PDF) files.
form
tronix AWG7122B or AWG7122C with firmware for both hardware
Tek
and software channel emulation, or AWG7102 with firmware for hardware
channel emulation only.
(see
1
.
Microsoft compatible mouse or compatible pointing device.
Two USB ports (four USB ports preferred).
PCI-GPIB or equivalent interface for instrument connectivity2.
xxx
1
If TekExpress is running on an instrument having a video resolution lower than 800x600 (for example, a sampling oscilloscope), it is recommended
to connect and activate a secondary monitor before launching the application.
2
If external devices such as USB-GPIB or equivalent are used for instrument connectivity, ensure to enable the Talker Listener utility in the GPIB
menu of the Tektronix DPO/DSA Series oscilloscope.
TekExpress USB 3.0 Automated Solutions Printable Online Help7
Getting startedWindows 7 user account settings
Windows 7 user account settings
Windows 7 instruments need to have the User Account Control Settings set to Never Notify. To set
User Account Control Settings:
1. Go to Control Panel > User Accounts > Change User Account Control settings.
2. Set the Notify slider to Never Notify as shown in the image.
8TekExpress USB 3.0 Automated Solutions Printable Online Help
Getting startedApplication directories and content
Application directories and content
TekExpress USB RMT is installed in the following directory path, depending on the Windows operating
system.
For Windows 7:
C:\Program Files (x86)\Tektronix\TekExpress\TekExpress USB RMT
For Windows XP and Windows XP-Embedded:
C:\Program Files\Tektronix\TekExpress\TekExpress USB RMT
The applic
ation directory and associated files are organized as follows:
TekExpress USB 3.0 Automated Solutions Printable Online Help9
Getting startedApplication directories and content
The following table lists the default directory names and their usage:
Table 3: Default directory names and their usage
Directory namesUsage
InstallDir\TekExpressContains the TekExpress application and associated
es.
fil
ekExpress\TekExpress USB RMT
\T
ntains files specific to TekExpress USB- RMT.
Co
10TekExpress USB 3.0 Automated Solutions Printable Online Help
Getting startedFile name extensions
Table 3: D efault directory names and their usage (cont.)
Directory namesUsage
\TekExpress USB RMT\Compliance SuitesContains compliance specific sequence files. The
folders under this directory represent the devices
to be tested.
\TekExpress USB RMT\Compliance Suites\AutoCalContains Autocal device and host s etting sequence
files.
\TekExpress USB RMT\Compliance Suites\USBIncludes the Device folder.
\TekExpress USB RMT\SCP
\TekExpress USB RMT\ICP
\TekExpress USB RMT\Data Manager
\TekExpress USB RMT\Data Storage
\TekExpress USB RMT\Report Generator
\TekExpress USB RMT\Tools\Ellisys DriversIncludes the driver files for the Ellisys Protocol
\TekExpress USB RMT\Tools\Scan SettingsIncludes the default custom jitter profile tem plate
\TekExpress USB RMT\DocumentsIncludes the Method of Implementation documents
\TekExpress USB RMT\Bin
\TekExpress USB RMT\Lib
\TekExpress USB RMT\Tools
xxx
Includes the TekExpress instrument and application
specific interface libraries.
Includes the TekExpress result management
specificlibraries.
Analyzer Hardware.
files.
and technical documentation for the application.
Includes the TekExpress Miscellaneous libraries.
File name extensions
Thesoftwareusesthefollowingfile name extensions:
File name extensionDescription
.awg
.pdfThe PDF file that how to implement the test m ethod.
.s4p
.seq
.TekX
.wfmThe waveform files created and kept in the AWG7XXX.
.xml
.mht
xxx
The AWG7XXX sequence files.
The S-Parameter files used to create waveforms when Channel
Emulation is set to Software.
The test sequence file.
The session file is saved in this format.
The encrypted XML file that contains the test specificconfiguration
information. The log file extension is also xml.
Test report file.
TekExpress USB 3.0 Automated Solutions Printable Online Help11
Getting startedHow to activate the license
How to activate the license
Follow the steps below to activate the license:
1. Click Help > About TekExpress.
2. Click the View Version Details link to check the version numbers of the installed test suites.
12TekExpress USB 3.0 Automated Solutions Printable Online Help
Getting startedHow to activate the license
3. Click the View End-User License Agreement link to open the Tektronix USB-RMT End-User
[Software] License Agreement window. Click Print to print the License Agreement.
4. Click License Info to view the available software options. This window shows the license key and the
various options with their status (active or inactive) with the current license key.
5. If you are activating the license for the first time, the license key field is empty. To activate the license,
connect the USB dongle to your computer, enter the license key provided in the license key certificate,
ck Activate. If the activation is successful, a
and cli
sign is displayed next to the license key field.
6. If you are reactivating the license, click Reactivate, enter the new license key and click Activate.
TekExpress USB 3.0 Automated Solutions Printable Online Help13
Getting startedBefore you click Run
Before you click Run
After you first launch TekExpress, it creates the following folders on your computer:
\My Documents\My TekExpress
NOTE. Ensure that the “My TekExpress” folder has read and write access.
NOTE. If a user with a different Windows login ID launches TekExpress, a new
created under that user's
\My Documents\My TekExpress\USB RMT.
\My Documents\My TekExpress\USB RMT\Untitled Session. Every time the TekExpress
USBRMT.exe
Untitled Session folder is deleted when you exit TekExpress.
is launched a Untitled Session folder is created under USB RMT folder. The
My Documents
folder
My TekExpress
folder is
CAUTION. Each session has multiple files associated with it. Do not modify any of the session files and/or
s as this may result in loss of data or corrupted session files.
folder
The My TekExpr ess folder is created as a shared folder with share name as <domain><user
ID> My
name><user ID> My TekExpress
The a
TekExpress
bove shared folder is mapped as X: (X drive) on to the PC where TekExpress is running.
(or if the PC is not connected to domain then share name is <Computer
).
NOTE. If X drive is mapped to any other shared folder, TekExpress will display a Warning message
window asking to disconnect the X: drive manually.
Do the following before you click Run:
NOTE. Make sure to enable the network connectivity on the PC running the TekExpress application.
1. Map (see page 15) the shared My Te kExpress folder as X: (X drive) on all the instruments used
in test setup running Microsoft Windows Operating System. This share folder is used to save the
waveform files or any other file transfer operations.
2. Right-click on the
My TekExpress folder and open the Properties dialog box. Select theGeneral tab
and then Advanced.IntheAdvanced Attributes window, ensure that the option Encrypt contents to
secure data is NOT selected. Click here
(see page 16) to view the picture.
14TekExpress USB 3.0 Automated Solutions Printable Online Help
Getting startedBefore you click Run
3. Ensure that the USB RMT setup files provided with TekExpress DVD are available on the respective
instruments. For more details, refer to the
Files
folder o
n the TekExpress DVD.
ReadmeFirst.txt located in the USB RMT S etup
4. Ensure that all the required instruments are properly warmed up, and that you do a Signal Path
Compensatio
n (SPC)
(see page 16). Add calibration of the AWG.
Mapping my TekExpress folder
To map the My TekExpress folder on the instruments, follow the steps below:
1. Open Windo
ws Explorer.
2. From the Windows Explorer menu, select Too l s > M a p Ne t wo r k dr i ve .
3. Select the Drive letter as X: (if there is any previous connection on X:, disconnect it first through
Tools > Disconnect Network drive menu of Windows Explorer).
4. In the Folder field, enter remote
My TekExpress folder path (for example, \\192.158.97.65\
John’s My TekExpress)
5. Determine the IP address of the PC where “My TekExpress” folder exists by doing the following:
Select Start > Run menu on the PC where My TekExpress folder exists.
Enter cmd and click Enter.
At command prompt, type ipconfig.
TekExpress USB 3.0 Automated Solutions Printable Online Help15
Getting startedBefore you click Run
Find SP
1. On the oscilloscope main menu, click Utilities menu.
2. Click Instrument Calibration option.
C by following the steps below (only needed if using an oscilloscope error detector):
16TekExpress USB 3.0 Automated Solutions Printable Online Help
Operating basicsTekExpress application overview
TekExpress application overview
TekExpress is the Tektronix Compliance Test Automation Framework, developed to support current and
future test automation needs of customers. Developed using National Instruments' TestStand, TekExpress
leverages on
deploying automated test solutions for various serial standards in a relatively short time. The USB receiver
solution supports test automation in the TekExpress framework providing customers with a complete
solution for USB 3.0 receiver verification, characterization, debug, and compliance.
the capabilities of Microsoft .NET framework. It is a highly modular architecture that enables
Starting the application
The application uses a USB dongle that contains the license key. Insert the dongle into an available USB
port before starting the application. This dongle must be present on the PC or the instrument hosting
the TekExpress application.
The application also checks for a file, called
is not found, instrument discovery is performed before launching TekExpress. The
contains information regarding instruments available on network.
When the application starts, it checks for the appropriate license key. If the valid lic ense key is not present,
the application switches to the “Demo” mode. If the application fails to detect the dongle, it continues
toruninDemomode.
To start the application, do one of the following:
Click Start > Programs > Tektronix > TekExpress > TekExpress USB RMT. Other applications
follow similar pattern.
Double-click the iconon the desktop.
If you have previously saved a session, double-click the session file stored under My
TekExpress\USB-RMT
When the application is launched it displays the splash screen providing launch information. The
application also checks for the presence and validity of the USB dongle.
.
Resources.xml, located in My TekExpress folder. If this file
Resources.xml fi le
TekExpress USB 3.0 Automated Solutions Printable Online Help17
Operating basicsStarting the application
NOTE. If the application was not terminated properly during the last use, a dialog box asks to recall the
previously unsaved session.
18TekExpress USB 3.0 Automated Solutions Printable Online Help
Operating basicsResizing the application window
Resizing the application window
To minimize the application, clickon the application title bar. To restore the application to its
previous siz
To maximize the application, click. To restore it to previous size, clickon the application
title bar.
e, select
Exiting the application
To exit the application, do one of the following:
Click File > Exit.
Clickon the application title bar.
Global controls
The menus and controls that appear outside the individual tabs are called “Global Controls”. These are
used to specify the devices to be tested.
in the Windows task bar.
Table 4: Controls and functions
Control nameFunction
DUT
xxx
TekExpress USB 3.0 Automated Solutions Printable Online Help19
The device ID is specified at the global level and the
information is stored in the default location for all data
files. This field cannot be empty and does not allow these
special characters (.,..,...,\,/:?”<>|*). The maximum length
of characters allowed is 32.
This indicates when the disk memory goes below ~1 GB of
available space on the device running TekExpress.
You are able to run, pause, resume and stop the tests.
Operating basicsFile menu
File menu
Click File on the application menu bar.
The File menu has the following selections:
MenuFunction
New SessionStarts a default session of TekExpress.
Open SessionOpens a saved session.
Save SessionSaves the session.
Save Session AsSaves a session in a different name.
Recently Recalled SetupLists all the recent and previously recalled setup files.
Save Report AsSaves the report in user specified location.
Print Preview Report
Print Report
Exit
xxx
Previews the report before printing.
Opens the Windows “Print” dialog box.
Closes the application.
20TekExpress USB 3.0 Automated Solutions Printable Online Help
Operating basicsView menu
View menu
Click View on the application menu bar.
The View menu has the following selections:
MenuFunction
Log File
xxx
Opens the log (log.xml) file in the default viewer.
Tools menu
Click Tools on the application menu bar.
The Tools menu has the following selections:
MenuFunction
Instrument Bench (see page 21)Opens a dialog box showing the list of instruments attached to the test setup.
xxx
Instrument Bench
Instrument Bench window shows the list of VISA and Non-VISA resources found on different
The
interfaces/connections. It serves two purposes at the launch of TekExpress:
NOTE. The Ellisys analyzer is a Non-VISA Resource and should be checked in order for TekExpress to
recognize the Ellisys analyzer.
Discovers the connected instruments.
Confirms the instrument connection setup.
TekExpress USB 3.0 Automated Solutions Printable Online Help21
Operating basicsTools menu
Click Tools > Instrument Bench to open the TekExpress Instrument Bench dialog box:
Search Criteria: The various connections on which you can search. Non-VISA Resources are the
instruments that cannot be searched using TekVISA.
Retrieved Instruments: Displays the count and details of instruments that were discovered.
Last Upd
ated: Displays the time when the last time search was performed.
TekVISA Refresh Timeout (Seconds): This time out specifies the maximum time that TekExpress
can wai
t for TekVISA update.
NOTE. TekExpress uses TekVISA for instrument search. Ensure that TekVISA is running on your system
before you refresh the instrument bench window.
Table 5: Retrieved Resources properties in the Instrument Bench window
TitleDescription
ConnectionShows the type of connection with the instrument.
Resource
Serial NumberShows the serial number of the resource.
OptionsShows the options available on the instrument.
Resource Address
xxx
1
The option column displays the options that fitinthefield. To view complete options on the instrument, move the mouse cursor over the option.
Shows the name of the resource.
1
Shows IP Address/Port number of the resource.
22TekExpress USB 3.0 Automated Solutions Printable Online Help
Operating basicsHelp menu
Table 6: Button controls on Instrument Bench dialog box
ButtonFunction
RefreshThe application searches on the selected connection for resources. While
searching res
Discovery window shows the connection currently being scanned and the
percentage of task completed.
ources it shows the Instrument Bench discovery window. The
CloseCloses the
xxx
Help menu
Click Help on the application menu bar.
The Help menu has the following selections:
SelectionDescription or Function
TekExpress Help
About TekExpress (see page 12)Displays application details such as software name, version
Activate License
xxx
dialog box.
Displays TekExpress Help (F1).
number and copyright.
Displays available software options and also about license
activation.
TekExpress USB 3.0 Automated Solutions Printable Online Help23
Operating basicsHelp menu
24TekExpress USB 3.0 Automated Solutions Printable Online Help
How toSelect the test(s)
Select the test(s)
The application supports the following DUT types for Receiver Compliance and Characterization testing
compliance.
Device
Host
Use the Select panel to select either a compliance test or a margin test (which allows the sweeping of
SJ frequencies) to configure and run.
The Select panel provides the following functions:
Version
Specifies the USB version number.
Ttype
DU
Specify either Device or Host as DUT. This specification will ensure that the appropriate channel model
s used when using software channel emulation.
i
TekExpress USB 3.0 Automated Solutions Printable Online Help25
How toConfigure and run the test(s)
Channel emulation
A channel emulator duplicates (provides an emulation of) the function of the actual physical channel and
cable, so that the emulated channel behaves like the actual physical channel. The default is to use the USB
3 c ompliance channels. Select one of the following:
Hardware: Select this option to test the application using a USB cable instead of S-parameter files.
Software: Select this option to emulate the channel using the S-parameter files.
Electrical test specification
Specifies the version number of the Electrical Compliance Test Specification (CTS) document. The CTS
document provides the compliance criteria and test descriptions for SuperSpeed USB devices, hubs and
host controllers that conform to the Universal Serial Bus 3.0 specification. These criteria address the
electrical requirements for a SuperSpeed physical layer design.
All signal impairments (such as De-emphasis, SSC Profile, RJ, and others) are automatically configured
based on the version of the CTS selected. Calibration of the signal impairments is required to ensure that
the output of the AWG meets the specifications.
Device channel emulation
This depicts the type of system configuration.
Select: Includes/Excludes any test for analysis.
Tes t Na me : Displays the name of the test.
Once you select a row, the following options are available:
Table 7: Button controls on the select panel
ButtonDescription
Opens the configuration panel for the selected test.
Opens the PDF of method of implementation (MOI) for the selected test.
Opens the schematic for the selected test. T his is useful if you want to
verify the test setup before r unning the test.
Opens the Calibration Wizard utility.
xxx
Configure and run the test(s)
The configuration panel is used to create, view, and edit the parameters associated with the acquisition and
the analysis of the selected test.
26TekExpress USB 3.0 Automated Solutions Printable Online Help
How toConfigure and run the test(s)
Available functions:
Choose betwe en running the tests in a Compliance or User Defined mode. If you wish to change to
User Defined mode, you are prompted with a m essage “If you make changes to a test, the test may no
longer be compliant”. In User-defined mode you can change parameters such as the SJ Frequency and
ude, SSC profile, the amount of RJ and other parameters.
amplit
Store compliance mode values.
Change the parameters associated with analysis configuration.
Specify the error detection method.
Specify loopback initialization (see page 28) and loopback validation (see page 29).
Change the test limits (allowed number of bit/symbol errors).
upper half of the Configure panel has general parameters that are common for all the tests under the
The
selected test suite that are editable. The lower half of the Configure panel has test specific parameters.
NOTE. If any of the test parameters are grayed, it means that these parameters cannot be modified in
compliance mode. When you switch to user-defined mode, these parameters are editable.
TekExpress USB 3.0 Automated Solutions Printable Online Help27
How toConfigure and run the test(s)
Table 8: Test parameters
Parameters to c
Acquire
Analyze
Limits
CommentsYou can specify a comment up to 256 characters long for the selected test.
Default settings
onfigure
Description
Typically, it
applicable.
Shows the various parameters related to analysis of a selected test. You can include/exclude
various jitter parameters based on amplitude and frequency. Double-click on the row to
include/exc
parameters:
Applies to a specific test. You can view the Maximum Allowable number of errors for error
detection
error detector hardware is used. If the errors detected by Ellisys
Error Detector are more than the specified limit (should be Less Than or Equal To), then
the test p
to manually enter the error count.
The default compliance settings will be restored.
Accepts all changes that you made.
shows any acquisition parameters, but for RMT testing no acquire parameter is
lude the parameter from the drop-down menu. You can also set the following
Specify whether to create waveforms or use prerecorded waveforms for signal
generation.
Specify whether or not to save the created waveforms.
. The application automatically detects the number of errors for each test point, if
(see page 28) or the Scope
oint is marked as FAIL. If other methods of error detection are used, you need
Dismisses the dialog box and does not apply changes.
xxx
Click Run in the Select panel to run the selected tests.
Ellisys error detector
Ellisys USB Explorer 280 Analyzer/Generator is a USB 3.0 symbol error detector. The hardware is
identical to the standard Ellisys Super Speed USB 3.0 protocol analyzer/generator. When used with
e Tektronix AWG7102, AWG7122B, or AWG7122C high-speed signal generator and automation
th
software from Tektronix, the EX280-CT completes the solution for USB 3.0 receiver testing.
Loopback initialization
hen running the receiver jitter tolerance tests, USB-RMT is configured to automatically put the
W
device into loopback mode per the loopback sequence that is defined in the CTS. Please contact your
Tektronix representative if your device requires an alternative method to be put into loopback mode.
In the loopback mode, the receiver loops back the data it receives and any difference in the pattern
sent from the signal generator and returned from the DUT is counted as an error.
28TekExpress USB 3.0 Automated Solutions Printable Online Help
How toConfigure and run the test(s)
Loopback validation
Loopback validation is a procedure to verify if the DUT has gone into loopback successfully or
not. The way loopback validation is done depends on the test selected and also on the ‘Waveform
Creation Option’.
If user selects ‘Normative Receive Jitter Tolerance Test (TD1.6) - step through certain levels,’ the
general parameter 'Loopback Validation' value is set to ‘First time only’ in the configuration panel and
is applied t
If user selects ‘Informative SJ Sensitivity Margin Test - sweep through a range,’ the general parameter
'Loopback
is done before every jitter pattern for any waveform creation option selected (‘Use Pre-Created’ or
‘Use Pre-Created and create if not available’ or ‘Always Create’).
If user selects ‘Informative SJ Sensitivity Margin Test - sweep through a range,’ the general
parameter 'Loopback Validation' value is set to ‘First time only’ in the configuration panel, and
loopback validation is done only before the first pattern for the 'waveform creation option*' set to
'Use Pre-Created' or 'Use Pre-Created and create if not available.'
If user selects ‘Informative SJ Sensitivity Margin Test: sweep through a range,’ the general parameter
'Loopback Validation' is set to ‘First time only’ in the configuration panel, and the AWG is turned on
before the first pattern in that AWG when the ‘waveform creation option*’ is set to Always Create*.
o all selected DUT / Channel Emulations.
Validation' value is set to 'Always' in the configuration panel, and loopback validation
If loopback validation fails for any test selected, and the configure general parameter ‘DUT Power
Cycle Method’ value is set to 'Tektronix Power Supply' or 'AWG', then the instrument automatically
r cycles three times during loopback validation, and displays a message to Retry, Continue, or
powe
Cancel if the loopback validation fails.
Perform Warm Reset' is set as Yes (Device DUT Informative test), then the instrument does two
If '
warm resets before doing an automatic power cycle.
* Waveform creation option parameters:
Always Create: Application creates and uses all waveforms during the text execution.
Use Pre-Created and create if not available: Application checks for WFMs in the AWG, if they
are available will go ahead and use them else they will be created and then used by the a pplication.
Pre-Created (for informative tests): Application checks for the WFMs in AWG; if they are
available will go ahead and use them else the application will prompt user that WFMs are not
available and will continue the test.
Pre-Created (for normative tests): Application uses the supplied *.AWG files during the test
execution.
TekExpress USB 3.0 Automated Solutions Printable Online Help29
How toCalibration (Auto Cal)
Calibration (Auto Cal)
The auto calibration function addresses receiver calibration requirements for the USB 3.0 standard. Auto
calibration compensates the patterns for specific jitter parameters (de-emphasis, Random jitter, sinusoidal
jitter and st
The procedure sequences through all the patterns, with each pattern calibrated independently. These
values are u
loopback.
ressed eye).
sed for the jitter-controlled generation of patterns which will be injected into the DUT during
The design
impairments) meets the compliance test specification within a certain tolerance range.
To perfor
uniform step size and computes the transfer function b etween the measured and input values.
The sign
DPOJET and SigTest as per the CTS.
The cal
appropriate polynomial fit algorithm for all the target values which gives the characteristic curve. The
respective c alibrated values are derived from the characteristic curve.
The blue square icons on the calibration graph plot represent the measured jitter values. The black square
icons represent the calibrated values.
engineer needs to ensure that the amount of jitter components (also known as target
m the calibration, the application varies the target parameter through a predefined range and a
al generation for calibration is done using an AWG. The measurement methodology can be
ibration results can be viewed at any time as values or graphical plots. The application uses an
See also:
Auto calibration schematics (see page 131)
Auto Calibration wizard overview (see page 122)
30TekExpress USB 3.0 Automated Solutions Printable Online Help
How toView and Select Connected Instruments
View and Select Connected Instruments
Viewing Conne
The Tools > Instrument Bench menu item is used to discover connected instruments required for the
tests. The ap
the Instrument Bench dialog box resumes operation and lists the instrument-related details based on the
selected search criteria.
NOTE. When the TekVISA Instrument Manager checks for connected Instruments, the Instrument Bench
dialog box does not respond.
Select the search criteria and click Refresh to let the TekVISA Instrument Manager detect and display
available instruments.
cted Instruments
plication uses TekVISA to d iscover the connected instruments. Once the operation is done,
The TekVISA Refresh Timeout (Seconds) field sets the time within which if the TekVISA Instrument
Manager does not find the instruments, the TekExpress application resumes the current operation.
Selecting Non-VISA Resources causes the instrument to search for all instruments supported by
TekExpress that are not communicating over the VISA. An example of this is the Ellisys error detector.
TekExpress USB 3.0 Automated Solutions Printable Online Help31
How toView and Select Connected Instruments
Selecting Connected Instruments
Yo u can view the i nstruments connected in the Configuration panel. The upper half of the panel displays
the general parameters for the tests under the selected test suite.
Choose the instruments from the drop-down list as shown in the following figure:
Select the “Do Not Use” option in the drop-down list for those instruments which are optional. For
le, if the error detection method is selected as “Do not use”, the application prompts you to enter the
examp
error count after each test point.
NOTE. The list of instruments displayed is specific to the selected test suite. It does not show all the
connected instruments.
32TekExpress USB 3.0 Automated Solutions Printable Online Help
How toView the Progress of Analysis
ViewtheProgressofAnalysis
You can view the result s ummary in the Analyze panel for the selected test. The result value updates
as each test point is executed,
Analysis Table
The application automatically generates all of the required waveforms for each frequency/amplitude as
specified using SerialXpress.
ParameterDescription
Frequency
Amplitude
ErrorDisplays any detected errors.
Pass/FailDisplays Pass/Fail status for each test point.
xxx
The test points that have not been executed are shown with a “To be Started” status. A summarized status
of the currently running test is shown on the Status Messages panel.
TekExpress USB 3.0 Automated Solutions Printable Online Help33
Lists the various SJ frequencies selected in the configure panel after its generation from the AWG.
Lists the various amplitude for each jitter frequency as selected in the configure panel.
How toView the Report
A graph is plotted automatically and updated after the execution of every generated frequency and
amplitude. You can view the graph in two modes – Log-Log
graphical vie
The Status Messages window timestamps all runtime messages and displays them. Do the following:
Display Status: Enable/Disable s tatus messages.
Auto Scroll: Scroll status messages automatically.
Clear All: Clears all sta tus me ssages in Status Window.
Save Status: Saves all status messages in text file. Displays a standard save file window and saves the
status messages in the user specified file.
NOTE. The Status Messages window is dockable and can be resized.
w is set to 100%.
(see page 34) and Linear (see page 34).The
Log-Log Graph
Displays the graph in logarithmic scale for both amplitude and frequency.
View
Linear Graph
Displays the graph in linear scale for both amplitude and frequency.
the Report
r the analysis, a report is automatically generated. The report shows the results of the tests, including
Afte
device information and pass/fail status of each test point.
NOTE. If a test is aborted, the report is generated for the all completed test points.
The report displays the DUT, the date and time that was run, and execution time. Test information like the
DUT, Execution Time, Compliance Mode (Yes or No), and Overall Test Result (Pass or Fail) are shown.
Instrument information like the models, serial numbers, and firmware/software versions are shown. A
table displays the Test Name, Measurement Details, Limit values, Test Result, Analysis Execution time
andsoon.
The Report View Area contains an HTML version of the report template. Select any area of the report and
copy it to the clipboard to make it available for other applications.
34TekExpress USB 3.0 Automated Solutions Printable Online Help
How toView Test Related Files
View Test Related Files
All the test related files for currently selected tests are always saved under My Documents\My
TekExpress\USB-RMT\Untitled Session
When you save a session, it is saved with the session name under the path
TekExpress\USB-RMT\SessionName
The session that is currently running is stored in the same path as “Untitled” until you save it.
WARNING. Do not save a session named “Untitled” or “Backup” because these are application-specific
files and are deleted when you exit the application.
A session folder can contain results for more than one DUT, and a DUT folder can contain more than one
run data folder marked by date-time stamp as folder name.
Here is an example image of data storage:
.
My Documents\My
for future references.
TekExpress USB 3.0 Automated Solutions Printable Online Help35
How toView Test Related Files
36TekExpress USB 3.0 Automated Solutions Printable Online Help
Ellisys Protocol Analyzer
Test Fixture
Tektronix Power SupplyPWS4205, P W S4305, PWS4323, PWS4602, PWS4721
xxx
USB-IF test fixture or Tektronix test fixture
del oscilloscopes with more than 12.5 GHz sampling rate are
, D SA71254C, MSO71254,MSO71254C, MSO 71604,
TekExpress USB 3.0 Automated Solutions Printable Online Help37
Application ExamplesTesting a Device Using Normative Test Approach
Testing a Device Using Normative Test Approach
In the Normative test approach, the frequencies and amplitude considered for analysis are provided in the
specifications document. Follow the steps below for testing a device with error detector:
1. Select the DUT Type as Device.
2. Enter the DUT ID.
3. Select the Channel Emulation as Hardware, if using the USB-IF test fixtures and a 3 meter cable.
4. Select theTe st N am e as Normative Receiver Jitter Tolerance Test.
5. If you want to verify the test setup before running the test(s), click Show Schematic (see page 107).
6. Clic
7. Select the Analyze tabintheconfiguration screen to include or exclude the various frequencies and
38TekExpress USB 3.0 Automated Solutions Printable Online Help
k Configure to configure the test parameters. Observe that the default settings are in Compliance
mode. If you would wish to change the settings to User Defined, you are prompted with a message “If
you make changes to a test, the test may no longer be compliant”.
amplitude (as specified in the specifications document) for jitter parameters.
Application ExamplesTesting a Device Using Normative Test Approach
8. Select the Limits tab to see the Maximum Allowable limit for error detection. If the number of
errors d
To), then the compliance is marked as FAIL.
etected by the error detector is more than the specified limit (should be Less Than or Equal
NOTE. Yo u can detect errors using either the oscilloscope error detector or the Ellisys instrument,
or manually with other error detectors. If the oscilloscope error detector or the Ellisys instrument is
connected, the application automatically counts the number of errors. Otherwise, the application displays
a dialog box in which to manually enter the error count.
TekExpress USB 3.0 Automated Solutions Printable Online Help39
Application ExamplesTesting a Device Using Normative Test Approach
9. Click Apply to apply the new settings for the selected test. Click Close.
10. Click Run t
The status of the tests is displayed in the Analyze panel, which shows the status of the instruments
being init
graphical results of each test point.
o run the selected tests.
ialized, and waveforms being generated for various frequencies. You can also view the
11. The report is automatically updated after each test point and can be viewed in the Reports tab.
40TekExpress USB 3.0 Automated Solutions Printable Online Help
Application ExamplesTesting a Device Using Informative Test Approach
Ellisys Error Detector
Ellisys USB Explorer 280 Analyzer/Generator is a USB 3.0 e rror detector. The hardware is identical
to the standard Ellisys Super Speed USB 3.0 protocol analyzer/generator. When used with Tektronix
AWG7122B, high-speed signal generator, and automation software from Tektronix, the EX280-CT
completes th
e solution for USB 3.0 receiver testing.
Testing a Device Using Informative Test Approach
In Informative test approach, the frequencies considered are customizable beyond compliance. This
approach is used to test the margin of the DUT.
Follow the steps below for testing a device with error detector:
1. Select Device as the DUT Type.
2. Enter the DUT ID.
3. Select
4. Select Informative SJ Sensitivity Margin Test as the Test Name.
5. If you want to verify the test setup before running the test(s), click Show Schematic
6. Click Configure to configure the test parameters. Observe that the default settings are in User
Hardware as the Channel Emulation.
(see page 116).
Defined mode.
7. Select the Analyze tabintheconfiguration screen and select the following parameters:
TekExpress USB 3.0 Automated Solutions Printable Online Help41
Application ExamplesTesting a Device Using Informative Test Approach
ParameterDescription
Scan MethodSelect the scan method to locate a failed point:
Linear Pass to Fail (see page 44)
Select Scan Parameter Preset
Scan Type
Scan Parameter
Preset File
Start
Frequency(MHz)
End
Frequency(MHz)
Incremen
Frequency
Sj Start Value
Sj End Value
Sj increment
xxx
1
2
1
The Scan Type parameter is a read-only parameter for information purposes.
The path to the parameter preset file.
1
2
Specify the
SJ start frequency in the MHz.
Specify the SJ end frequency in MHz.
2
t
2
2
2
2
own if the Scan Method is set to Select Scan Parameter Preset.
Only sh
Only shown if the Scan Method is set to Linear Pass to Fail.
Specify the incremental frequency in MHz.
Specify the jitter start value in ps.
Specify the jitter end value i n ps.
Specify the incremental value in ps.
8. Selecting Select Scan Parameter Preset adds the Scan Parameter Preset File to the Parameters list.
Selecting the Value opens the Custom Jitter Profile-RMTDefaultScandialog box. Use this dialog
box to enter values for Frequency, Start Sj, Stop Sj, and Step Sj.
42TekExpress USB 3.0 Automated Solutions Printable Online Help
Application ExamplesTesting a Device Using Informative Test Approach
Use the check box in each row to enable or disable tests to execute on the DUT. Tests are executed
in the order listed.
Selecting a test row in the table updates the values in the edit fields. Enter new values in the edit
fields and click Update to set the values for the selected test row.
To insert a new test row above the selected row, enter new values in the edit fields and click Insert.
Click Clear to clear all the values in the edit fields.
Click Save and enter a file name to save the table settings as a Scan Parameter Pres et File to
the default location.
Click Recall to recall (load) a saved file or preset.
Click Reset to clear the entire table.
9. Select the Limits tab to see the Maximum Allowable limit for error detection. If the number of
errors detected by the error detector is more than the specified limit (should be Less Than or Equal
To), then the comp
10. Click Apply to apply the new settings for the selected test. Click Close.
11. Click Run to run the selected tests.
liance is marked as FAIL.
TekExpress USB 3.0 Automated Solutions Printable Online Help43
Application ExamplesTesting a Device Using Informative Test Approach
The status of the tests is displayed in the Analyze panel, which shows the pass or fail results of each
jitter frequency and amplitude.
12. The rep
ort is automatically updated after each test point and can be viewed in the Reports tab.
Linear Pass to Fail
Uses the specified start amplitude and increases the amount of jitter by the step size until the failure
point is located.
44TekExpress USB 3.0 Automated Solutions Printable Online Help
TekExpress Programmatic InterfaceAbout the Programmatic Interface
About the Programmatic Interface
The Programmatic interface allows you to seamlessly integrate the TekExpress test automation application
with the high-level automation layer. This also allows you to control the state of TekExpress application
running on a l
For simplifying the descriptions, the following terminologies are used in this section:
TekExpress Client: A High level automation application that communicates with TekExpress using
TekExpress Programmatic Interface.
TekExpress Server: The TekExpress application when being controlled by TekExpress Client.
TekExpress leverages .Net Marshalling to enable the Programmatic Interface for TekExpress Client.
TekExpress provides a client library for TekExpress clients to use the programmatic interface. The
TekExpress client library is inherited from .Net MarshalByRef class to provide the proxy object for the
. The TekExpress client library maintains a reference to the TekExpress Server and this reference
clients
allows the client to control the server state.
ocal or a remote PC.
TekExpress USB 3.0 Automated Solutions Printable Online Help45
What does one need to develop a TekExpress Client ?
While developing TekExpress Client one needs to use the TekExpressClient.dll. The client can be a VB
.Net, C# .Net, TestStand or web application. The examples for interfaces in each of these applications
Samples folder.
are in
References Required
TekExpressClient.dll has internal reference to IIdlglib.dll and IRemoteInterface.dllIIdlglib.dll has a
reference toTekDotNetLib.dll. IRemoteInterface.dll provides the interfaces required to perform the remote
automations. It is an interface that forms the communication line between the server and the client.
IIdlglib.dll provides the methods to generate and direct the secondary dialog messages at the client-end.
NOTE. The end-user client application d oes not need any reference to above mentioned DLL files. It is
essential to have these DLLs (IRemoteInterface.dll, IIdlglib.dll and TekDotNetLib.dll) in same folder
location as that of TekExpressClient.dll.
What steps does a client need to follow?
The following are the steps that a client needs to follow to use the TekExpressClient.dll to programmatically
control the server:
A client UI has to be developed to access the interfaces exposed through the s erver. This client needs to
TekExpressClient.dll to access the interfaces. Once the TekExpressClient.dll is loaded, the
load
client UI can call the specific functions to run the operations requested by the client. Once the client is up
and running, it has to do the following to run a remote operation:
1. The client needs to provide the IP address of the PC at which the server is running in order to connect
to the server.
2. The client needs to lock the server application to avoid conflict w ith any other Client that m
control the server simultaneously. “Lock” would also disable all user controls on server so that server
state cannot be changed by manual operation.
3. If any other client tries to access a se rver which is locked, it will get a notification that the server
is locked by another client.
4. When the client has connected to and locked the server, the client can access any of the programmatic
controls to run the remote automations.
5. Once the client operations are completed, the server needs to be “unlocked” by the client.
To enable remote access
ay try to
To access and remotely control an instrument using the TekExpress programmatic interface, you need to
change specific firewall settings as follows:
46TekExpress USB 3.0 Automated Solutions Printable Online Help
The server exposes a remote object to let the remote client access and perform the server side operations
remotely. The proxy object is instantiated and exposed at the server-end through marshalling.
48TekExpress USB 3.0 Automated Solutions Printable Online Help
This object lets the remote client access the interfaces exposed at the server side. The client gets the
reference to this object when the client gets connected to the server.
50TekExpress USB 3.0 Automated Solutions Printable Online Help
TekExpress Programmatic InterfaceClient Programmatic Interface: an Example
To know more on the topics below, click the links.
Secondary Dialog Message Handling
The secondary dialog messages from the Secondary Dialog library are redirected to the client-end when a
client is performing the automations at the remote end.
In the secondary dialog library, the assembly that is calling for the dialog box to be displayed is checked
and if a remote connection is detected, the messages are directed to the remote end.
File Transfer Events
When the client requests the transfer of the report, the server reads the report and transfers the file by
calling the file transfer methods at the client-end.
Client Programmatic Interface: an Example
An example of the client programmatic interface is described and shown as follows:
TekExpress USB 3.0 Automated Solutions Printable Online Help51
TekExpress Programmatic InterfaceClient Programmatic Interface: an Example
52TekExpress USB 3.0 Automated Solutions Printable Online Help
TekExpress Programmatic InterfaceClient Programmatic Interface: an Example
1. Connect to a server or remote object using the programmatic interface provided.
2. Get the client ID that is created when connecting to the remote object. This client ID is one of the
required parameters to communicate with the server.
NOTE. Server identifies the client with this ID only and rejects any request if the ID is invalid.
3.Lock the server for further operations. This disables the application interface.
NOTE. You can get values from the server or set values from the server to the client only if application is
locked.
4. Register for receiving noti fi cations on s tatus change even ts on the server. To register you need to
give a handler as a parameter.
NOTE. Whenever there is a change in the status of the server, all the clients registered with the server
receive a notification from the server.
5. Select the tests that you want to run through the programmatic interface.
6. Set the necessary parameters for each test.
7. Run the tests.
8. Poll for the status of the application.
NOTE. You can skip this step if you are registered for the status change notification and when the status is
Ready.
9. After completing the tests, get the results.
10. Create a report or display the results and verify or process the results.
nlock the server once you complete all the tasks.
11.U
12. Disconnect from the remote object.
Handler of Status Change Notification
1. Get the status. If the status is Wait or Error, get the information which contains the title, message
description, and the expected responses for the status.
2. Perform the actions based on the status information.
3. Set the response as expected.
TekExpress USB 3.0 Automated Solutions Printable Online Help53
TekExpress Programmatic InterfaceUSB-RMT Application Command Arguments and Queries
USB-RMT Application Command Arguments and Queries
Connect through an IP address (see page 60)
Lock the server (see page 61)
Disable the popups (see page 62)
Set or get the DUT ID (see page 63)
Set the configuration parameters for a suite or measurement (see page 64)
Query the configuration parameters for a suite or measurement (see page 65)
Select a measurement (see page 66)
Select a suite (see page 67)
Run with set configurations or stop the run operation (see page 68)
Handle Error Codes (see page 99)
Get or set the timeout value (see page 69)
Wait for the test to complete (see page 70)
After the test is complete (see page 72)
Save, recall, or check if a session is saved (see page 74)
Unlock the server (see page 75)
Disconnect from server (see page 75)
Set or Get Configuration Parameters for Normative Receiver Test (see page 76)
Set or Get Configuration Parameters for Informative Test (see page 89)
General Parameters (see page 96)
string id
NameTypeDirectionDescription
idstringIN
xxx
Ready: Test configured and ready to start.
Running: Test running.
Identifier of the client that is
performing the remote function.
Paused: Test paused.
Wait: A popup that needs your inputs.
Error: An error is occurred.
54TekExpress USB 3.0 Automated Solutions Printable Online Help
TekExpress Programmatic InterfaceUSB-RMT Application Command Arguments and Queries
string dutName
NameTypeDirectionDescription
dutNamestringIN
xxx
The new DUT ID of the setup.
out bool saved
NameTypeDirectionDescription
savedbool
xxx
OUT
This parameter is used as a check in SaveSession() and SaveSessionAs() functions.
Boolean representing whether the
current session is saved.
string ip
Address
NameTypeDirectionDescription
ipAdressstringIN
The ip address of the server to which the
s trying to connect. This is required to
client i
establish the connection between the server
and the client.
xxx
out string clientID
NameTypeDirectionDescription
clientid
xxx
NOTE. If the dutName parameter is null, the client is prompted to provide a valid DUT ID.
NOTE. The server must be active and running for the client to connect to the server. Any number of
clients can be connected to the server at a time.
StringOUTIdentifier of the client that is connected to the
server.
clientId = unique number + ipaddress of the
client. For example, 1065–192.157.98.70
NOTE. When the client is disconnected, it is unlocked from the server and then disconnected. The id
is reused.
TekExpress USB 3.0 Automated Solutions Printable Online Help55
TekExpress Programmatic InterfaceUSB-RMT Application Command Arguments and Queries
string dutId
NameTypeDirectionDescription
dutIdstring
xxx
OUTThe DUT ID of the setup.
The dutId parameter is set after the server processes the request.
string device
NameTypeDirectionDescription
devicestringIN
xxx
Specifies the name of the device.
string suite
NameTypeDirectionDescription
suitestringIN
xxx
Specifies the name of the suite.
string test
NameTypeDirectionDescription
test
stringIN
Specifies the name of the test from
which to obtain the pass or fail status.
xxx
string parameterString
NameTypeDirectionDescription
parameterString
xxx
stringIN
Selects or deselects a test.
int rowNr
NameTypeDirectionDescription
rowNrintIN
xxx
NOTE. When the client tries to lock a server that is locked by another client, the client gets a
notification that the server is already locked and it must wait until the server is unlocked. If the client
locks the server and is idle for a certain amount of time then the server is unlocked automatically
from that client.
Specifies the zero based row index of
the sub-measurement for obtaining
the result value.
56TekExpress USB 3.0 Automated Solutions Printable Online Help
TekExpress Programmatic InterfaceUSB-RMT Application Command Arguments and Queries
out string[] status
NameTypeDirectionDescription
status
string array
OUTThe list of status messages generated
during run.
xxx
string name
NameTypeDirectionDescription
name
stringIN
The name of the session being
recalled.
xxx
The name parameter cannot be empty. If it is empty, the client is prompted to provide a valid name.
NOTE. When the run is performed, the status of the run is updated periodically using a timer.
string name
NameTypeDirectionDescription
name
stringIN
The name of the session being
saved.
xxx
The name parameter cannot be empty. If it is empty, the client is prompted to provide a valid name.
Once the session is saved under ‘name’ you cannot use this method to save the session in a different
name. Use SaveSessionAs instead.
string name
NameTypeDirectionDescription
name
stringIN
The name of the session being
recalled.
xxx
The same session is saved under different names using this method. The name parameter cannot be
empty. If it is empty, the client is prompted to provide a valid name.
bool isSelected
NameTypeDirectionDescription
isSelected
xxx
boolIN
Selects or deselects a test.
TekExpress USB 3.0 Automated Solutions Printable Online Help57
TekExpress Programmatic InterfaceUSB-RMT Application Command Arguments and Queries
string time
NameTypeDirectionDescription
timestringINThe time in seconds
which refers to the timeout
period.
xxx
The time parameter gives the timeout period, that is the time the client is allowed to b e locked and
idle. After the timeout period if the client is still idle, it gets unlocked.
The time parameter should be a positive integer. Else, the client is prompted to provide a valid
timeout period.
bool_verbose
NameTypeDirectionDescription
_verboseboolIN
xxx
Specifies whether thec verbose mode
should be turned ON or OFF.
NOTE. When the session is stopped, the client is prompted to stop the session and is stopped at
the consent.
string filePath
NameTypeDirectionDescription
filePath
stringINThe location where the report must
be saved in the client.
xxx
NOTE. If the client does not provide the location to save the report, the report is saved at
C:\ProgramFiles.
NOTE. When the client is disconnected, the client is automatically unlocked.
out string caption
NameTypeDirectionDescription
caption
xxx
StringOUT
The wait state or error state message sent to
you.
58TekExpress USB 3.0 Automated Solutions Printable Online Help
TekExpress Programmatic InterfaceUSB-RMT Application Command Arguments and Queries
out string message
NameTypeDirectionDescription
message
xxx
StringOUTThe wait state /error state message to you.
out string[] buttonTexts
NameTypeDirectionDescription
buttonTextsstring array
OUTAn array of strings containing the
possible response types that you can
send.
xxx
string response
NameTypeDirectionDescripti
response
stringINA string containing the response
type that
one of the strings in the string array
buttonTexts).
xxx
out string clientID
NameTypeDirectionDescription
clientID
xxx
StringOUTIdentifier of the client that is connected to the
server.
clientID = unique number + ipaddress of the
client. For example, 1065–192.157.98.70
on
you can select (it must be
TekExpress USB 3.0 Automated Solutions Printable Online Help59
This method sets
the verbose mode
to either true or
false.
When the value
is set to true,
then any of the
message boxes
appearing during
the application
are routed to the
client machine
which is controlling
TekExpress.
When the value is
set to false, then all
the message boxes
are shown on the
server machine.
String that gives
the status of
the operation
after it has been
performed.
When Verbose
mode is set to
true, the return
value is “Verbose
mode turned on.
All dialog boxes
are shown to
client ...”.
When Verbose
mode is set to
false, the return
value is “Verbose
mode turned off.
All dialog box
will be shown to
server ...”.
m_Client = new Client()
//m_Client is a reference to the
Client class in the Client DLL
Returns the current
timeout period set
by the client.
Sets a timeout
period specified by
client. After expiry
of this timeout
period, the server
is automatically
unlocked.
String that gives
the status of
the operation
after it has been
performed.
The default
return value is
1800000.
String that gives
the status of
the operation
after it has been
performed.
On success the
return value is
“TimeOut Period
Changed”.
m_Client = new Client()
//m_Client is a reference to the
Client class in the Client DLL
returnval as string
returnval=m_Client.GetTime-
Out()
m_Client = new Client()
//m_Client is a reference to the
Client class in the Client DLL
returnval as string
returnval=m_Client.SetTime-
Out(clientID, desiredTimeOut)
NOTE. The Fail condition for PI commands occurs in any of the following cases:
rver is LOCKED and the message displayed is “Lock Session to execute the command”.
The se
The session is UNLOCKED and the message displayed is “Lock Session to execute the command”.
The server is NOTFOUND and the message displayed is “Server not found...Disconnect!”.
When none of these fail conditions occur, then the message displayed is “Failed...”.
TekExpress USB 3.0 Automated Solutions Printable Online Help69
TekExpress Programmatic InterfaceWait for the Test to Complete
Wait for the Test to Complete
The commands in this group are executed while tests are running. The GetCurrentStateInfo() and
SendResponse() commands are executed when application is running and in wait state.
command is
used when the
application is
running and is in
the wait or error
state.
SendResponse()
NOTE. This
command is
used when the
application is
running and is in
the wait or error
state.
xxx
string clientID
(see page 59)
out string
caption (see
page 58)
out string
message (see
page 59)
out string[]
buttonTexts
(see page 59)
string clientID
(see page 59)
out string
caption (see
page 58)
out string
message (see
page 59)
string response
(see page 59)
This method gets
the additional
information of the
states when the
application is in Wait
or Error state.
Except client ID, all
the others are out
parameters.
After receiving the
additional information using the method
GetCurrentStateInfo(), the client can
decide on the response to send and
send the response
to the application using this function.The
response should be
one of the strings that
was earlier received
as a string array in
the GetCurrentStateInfo function.The
_caption and _message should m atch
the information received earlier in the
GetCurrentStateInfo
function.
This command
does not return
any value.
This function
fills up the out
parameters that
are passed
when invoking
this function.
This command
does not return
any value.
m_Client = new Client()
//m_Client is a reference to the
Client class in the Client DLL
m_Client.GetCurrentStateInfo()
m_Client = new Client()
//m_Client is a reference to the
Client class in the Client DLL
m_Client.SendResponse()
NOTE. The Fail condition for PI commands occurs in any of the following cases:
e server is LOCKED and the message displayed is “Lock Session to execute the command”.
Th
The session is UNLOCKED and the message displayed is “Lock Session to execute the command”.
The server is NOTFOUND and the message displayed is “Server not found...Disconnect!”.
When none of these fail conditions occur, then the message displayed is “Failed...”.
TekExpress USB 3.0 Automated Solutions Printable Online Help71
TekExpress Programmatic InterfaceAfter the Test is Complete