Tektronix TekExpress DisplayPort Help, TekExpress DisplayPort User manual

TekExpress® DisplayPort Automated Compliance, Characterization, and Debug Solutions Online Help
www.tektronix.com
077-0233-00
Copyright © Tektronix. All rights reserved. Licensed software products are owned by Tektronix or its subsidiaries or suppliers, and are protected by national copyright laws and international treaty provisions.
Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supersedes that in all previously published material. Specications and price change privileges reserved.
TEKTRONIX and TEK are registered trademarks of Tektronix, Inc.
TekExpress DisplayPort Online help, 076-0179-00.
Contactin
Tektronix, Inc. 14200 SW Karl Braun Drive P. O . Box 500 Beaverton, OR 97077 USA
For product information, sales, service, and technical support:
g Tektronix
In North America, call 1-800-833-9200. Worldwide, visit www.tektronix.com to nd contacts in your area.
Table of Contents
General Safety Summary .......................................................................................... v
Introduction
Using Online Help....................................... ................................ ........................... 1
Related Documentation ............... ................................ ................................ ............. 2
Conventions ................................ ................................ ................................ ......... 2
Technical Support ............. .................................. ................................ ................... 3
Getting Started
Accessories..................... ................................ .................................. ................... 5
Minimum System Requirements....................... .................................. ......................... 6
Application Directories and Usage .... .................................. ................................ ......... 7
File Name Extensions .............................................................................................. 8
How To Activate the License................... .................................. ................................ . 9
Before You Click Run............................................................................................. 11
Table of Contents
Operating Basics
TekExpress Application Overview .............................................................................. 15
Starting the Application............................. .................................. ............................ 16
Resizing the Application Window....... ................................ .................................. ...... 17
Exiting the Application .... ... . . .... . .... ... . . .... . .... ..... .... . .... . .... .... . .... . .... ... . . .... . .... ..... .... . .. 17
Global Controls .............................. ................................ ................................ ...... 18
Menus
File Menu............ .................................. ................................ ........................ 19
View Menu .......... ................................ .................................. ........................ 20
Tools Menu .................................................................................................... 21
Help Menu..................................................................................................... 23
How To
Select the Test(s)............... ................................ .................................. .................. 25
Congure and Run the Test(s).............. .................................. ................................ .... 27
View and Select Connected Instruments ........................ ................................ ................ 30
View the Progress of Analysis ................................... .................................. .............. 32
View the Report.................................................................................................... 34
iew Test Related Files... .................................. ................................ ...................... 35
V
Generate Patterns .................................................................................................. 36
Application E xamples
Sink Receiver Compliance Test
TekExpress DisplayPort Automated Compliance Solutions i
Table of Contents
Jitter Tolerance Test for Lane 0: Equipment Setup .. . .... ... . . .... . .... . .... ..... .... . .... . .... ... . . .... . 37
Jitter Tolerance Test for RBR in Semi-Automated mode. . .... ... . . .... . .... ..... .... . .... . .... .... . .... . 38
Jitter Tolerance Test for RBR in Automated Mode .. . .... .... . .... . .... . .... ..... .... . .... . .... ... . . .... . 42
TekExpress Pattern Sequence
Pattern Sequence................... ................................ .................................. .............. 45
TekExpress Programmatic Interface
About Programmatic Interface................................................................................... 53
Server and Client Proxy Objects ................................................................................. 55
Remote Proxy Object........... .................................. ................................ ............ 55
Client Proxy Object................. .................................. ................................ ........ 56
Programmatic Interface APIs
Connect() ...................................................................................................... 58
Disconnect()................................................................................................... 59
LockSe
UnlockSession() .............................................................................................. 61
SetTimeOut()................................ .................................. ................................ 62
GetTimeOut() ................................................................................................. 63
GetDutId() ..................................................................................................... 64
ChangeDutId() ................................................................................................ 65
SaveSession() ................................................................................................. 66
SaveSessionAs() .... ................................ ................................ .......................... 67
RecallSession()................................................................................................ 68
Run() . ................................ ................................ .................................. ........ 69
Stop()........................................................................................................... 70
QueryStatus().................................................................................................. 71
TransferReport() .............................................................................................. 72
CheckSessionSaved() .... .................................. ................................ .................. 73
ErrorCodes ......................................................................................................... 74
Example ............................................................................................................ 75
ssion(). .................................. ................................ .............................. 60
Troubleshooting
Instrument Connectivity .......................................................................................... 77
User Interface .. ................................ ................................ .................................. .. 77
TestStand Run time Engine Installation......... .................................. .............................. 78
Test Limit is Single Sided .............................. ................................ .......................... 79
Report shows as NAN............................. .................................. .............................. 80
Reference
Shortcut Keys .......... ................................ ................................ ............................ 81
Error Codes for TekExpress ...................................................................................... 82
ii TekExpress DisplayPort Automated Compliance Solutions
Index
Table of Contents
TekExpress DisplayPort Automated Compliance Solutions iii
Table of Contents
iv TekExpress DisplayPort Automated Compliance Solutions
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 specied.
Only qualied 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 Suspected Failures. If you suspect that there is damage to this product, have it
insp
Avoid Exposed Circuitry. Do not touch exposed connections and components when power is present.
e All Terminal Ratings. To a void re or shock hazard, observe all ratings and markings on the product.
Operate Without Covers. Do not operate this product with covers or panels removed.
ectedbyqualified 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
y.
propert
TekExpress DisplayPort Automated Compliance Solutions v
General Safety Summary
vi TekExpress DisplayPort Automated Compliance Solutions
Introduction Using Online Help
Introduction
Using Online Help
Select Help from the menu to open the help le. You can also nd an electronic copy of the help le in the Documents directory on the 063-4068-XX DVD.
Tables of Contents (TOC) tab — Organizes the help into book-like sections. Select a book icon to open a section; select any o f 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.
Follow these steps:
1. Type the word or phrase you want to nd 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.
Use hyperlinks to jump from one topic to another.
e back button is grayed out or a jump is not available, choose the Help Topics button to return to
If th the originating help folder.
TekExpress DisplayPort Automated Compliance Solutions 1
Introduction Related Documentation
Related Documentation
In addition to this TekExpress DisplayPort Online Help, the following documentation is included with the software:
DisplayPort Standard Tektronix MOI for Sink Tests method of implementation document.
TekExpress DisplayPort Online Help (PDF version), Tektronix part number 077-0233-00.
Conventions
Online Help uses the following conventions:
The term “DUT” is an abbreviation for Device Under Test.
The term using a mouse or using the touch screen.
Table 1: Icon descriptions
Icon Meaning
“select” is a generic term that applies to the two mechanical methods of choosing an option:
This icon identies important information.
This icon identies conditions or practices that could result in loss of data.
This icon identi es additional information that will help you use the application more efciently.
2 TekExpress DisplayPort Automated Compliance Solutions
Introduction Technical 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 or oscilloscope.
When you contact Tektronix Technical Support, please include the following information (be as specicas 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 Specic Information
Software version number.
Description of the problem such that technical support can duplicate the problem.
If possible, save the setup les for all the instruments used and the application.
ssible, save the TekExpress setup les, log.xml and status messages text le.
If po
If possible, save the waveform on which you are performing the measurement as a .wfm le.
Forward the information to technical support using one of these methods:
E-mail – techsupport@tektronix.com
FAX – (503) 627-5695
TekExpress DisplayPort Automated Compliance Solutions 3
Introduction Technical Support
4 TekExpress DisplayPort Automated Compliance Solutions
Getting Started Accessories
GettingStarted
Accessories
About the Effic
ere Test Fix ture
The Efcere text xtures ET-DP-TPA-S that facilitate Sink Compliance testing are manufactured and distribu
tedbyEfficere Technologies. Efcere ET-DP-TPA-S can also be ordered directly from Tektronix. Efcere specializes in the design of high-speed products with superior signal integrity. For more information, visit the Efcere Technologies Web site w
ww.Efcere.com.
TekExpress DisplayPort Automated Compliance Solutions 5
Getting Started Minimum System Requirements
Minimum System Requirements
The minimum system requirements for a PC to run TekExpress are as follows:
Table 2: System requirements
Processor
Pentium 4/M or equivalent processor.
Operating System Windows XP Service Pack 2.
Memory
Hard Disk
512 MB of memory.
Approximately 2 GB of available hard-disk space for the recommended installation, which includes full TekExpress installation and distributed components.
Drive DVD drive
Display
Super VGA resolution or higher video adapter (800x600 minimum video resolution for small fonts or 1024x768 minimum video resolution for large fonts). The application is best viewed at 96 dpi display settings
1
.
Software IConnect S-parameter software (80SSPAR) for Cable testing.
DPOJET and SerialXpress for Sink testing.
Microsoft Excel 2002 or above.
Microsoft Internet Explorer 6.0 SP1 or later.
Microsoft Photo Editor 3.0 or equivalent software for image les viewing.
Adobe Reader 6.0 or equivalent software for viewing portable document
format (PDF) les.
Other Devices Microsoft compatible mouse or compatible pointing device.
Four USB ports (2 USB ports minimum).
PCI-GPIB or equivalent interface for instrument connectivity2.
1
If TekExpress is running on an instrument having a video resolution lower than 800x600 (for example, sampling oscilloscope), it is recommended to connect a secondary monitor and this has to be enabled before launching the application.
2
If TekExpress is installed on a Tektronix oscilloscope, the virtual GPIB port cannot be used by TekExpress for communicating with oscilloscope applications.
xternal devices like USB-GPIB or equivalent are used for instrument connectivity, ensure that the Talker Listener utility is enabled in the
If e DPO/DSA oscilloscope’s GPIB menu.
6 TekExpress DisplayPort Automated Compliance Solutions
Getting Started Application Directories and Usage
Related Topics
Application Directories and Usage
File Name Extensions
How To Activate the License
View Test Related Files
The application directory and associated les are organized as follows:
The following table lists the default directory names and their usage:
Table 3: Default directory names and their usage
Directory names Usage
InstallDir\TekExpress Contains the application and associated les.
\TekExpress\Compliance Suites Has compliance specic sequence les. The folders
under this directory represent the devices to be tested.
\TekExpress\Compliance Suites\DisplayPort\ Includes “Sink” folder.
\TekExpress\Compliance Suites\DisplayPort\Sink
\TekExpress\ACP
\TekExpress\SCP
\TekExpress\ICP
\TekExpress\Data Manager
\TekExpress\Data Storage
\TekExpress\Report Generator
\TekExpress\Documents Includes the Method of Implementation documents
Includes the AUX controller “Available” and “Not Available” folders.
Includes instrument and application specific interface libraries of TekExpress.
Includes the result management specic libraries of TekExpress are present in these folders.
and technical documentation for the application.
TekExpress DisplayPort Automated Compliance Solutions 7
Getting Started File Name Extensions
Table 3: Default directory names and their usage (cont.)
Directory names Usage
\TekExpress\Bin
\TekExpress\Lib
\TekExpress\Tools
File Name Extensions
Includes the Miscellaneous libraries of TekExpress.
Related Topics
Application Directories and Usage
How To Activate the License
Thesoftwareuses
File name extension Description
.TekX .seq
.xml
.PDF
the following le name extensions:
The session le will be saved in this format.
The test sequence le.
The encrypted XML le that contains the test specicconfiguration information.
The PDF le tha
The log le extension is also xml.
t details the method of implementation for the test.
8 TekExpress DisplayPort Automated Compliance Solutions
Getting Started How To Activate the License
Related Topics
How To Activate the License
Application Directories and Usage
File Name Extensions
Follow the steps below to activate the license:
1. Click Help > About to view the license information.
2. Click the View Version Details link to check the version numbers of the installed test suites.
3. Click the View End-User License Agreement link to open the following Tektronix Software License
Agreement window. Click Print to print the License Agreement.
TekExpress DisplayPort Automated Compliance Solutions 9
Getting Started How To Activate the License
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 rst time, the license key eld will be empty. To activate the license, connect the USB dongle to your computer, enter the license key provided in the license
key certicate, and click Activate. If the activation is successful, a the license key eld.
6. If you are reactivating the license, click Reactivate, enter the new license key and click Activate.
sign is displayed next to
10 TekExpress DisplayPort Automated Compliance Solutions
Getting Started Before 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
under that user’s
\My Documents\My TekExpress\DisplayPort.
\My Documents\My TekExpress\DisplayPort\Untitled Session. Every time the DisplayPort.exe is launched a Untitled Session folder is created under DisplayPort folder.
The
Untitled Session folder is deleted when you exit TekExpress.
My Documents
folder
My TekExpress
folder is created
CAUTION. Each session has multiple les associated with it. Do not modify any of the session les and/or folders as this may result in loss of data or corrupted session les.
The My TekExpress folder is created as a shared folder with share name as <domain> <user
ID> My TekExpress name><user ID> My TekExpress
(or if the PC is not connected to domain then share name is <Computer
).
The above shared folder is mapped as X: (X drive) on to the PC where TekExpress is running.
NOTE. If X drive is mapped to any other shared folder, TekExpress will pop-up a Warning message window asking to disconnect the X: drive manually.
Do the following before you click Run:
NOTE. Ensure that the network connectivity is enabled on the PC running the TekExpress.
1. Map the shared My TekExpress folder as X: (X drive) on all the instrume nts used in test setup
running Microsoft Windows Operating System. This share folder is used to save the waveform les or any other le transfer operations.
2. Rightclickonthe
My TekExpress folderandopentheProperties dialog box. Select General tab
and then Advanced.IntheAdvanced Attributes window, ensure that the option Encrypt contents to secure data is NOT selected. Click h
ere to view the picture.
TekExpress DisplayPort Automated Compliance Solutions 11
Getting Started Before You Click Run
3. Ensure that the DisplayPort pattern le 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 DisplayPort Setup
Mapping My TekExpress folder
To map the My TekExpress folder on the instruments, follow the steps below:
1. Open Window
s Explorer.
2. From the Windows Explorer menu, select Tools > Map Network drive.
3. Select the Drive letter as X: (if there is any previous connection on X:, disconnect it rst through Tools > Disconnect Network drive menu of Windows Explorer).
4. In the Folder eld, enter remote
My TekExpress folder path (for example, \\192.158.97.65\
John’s My TekExpress)
5. You can 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.
12 TekExpress DisplayPort Automated Compliance Solutions
Getting Started Before You Click Run
TekExpress DisplayPort Automated Compliance Solutions 13
Getting Started Before You Click Run
14 TekExpress DisplayPort Automated Compliance Solutions
Operating Basics TekExpress Application Overview
OperatingBasics
TekExpress Application Overview
TekExpress is the Tektronix Compliance Characterization, and Debug Test Automation Framework, developed to support current and future test automation needs of customers. Developed using National Instruments highly modular architecture that enables deploying automated test solutions for various serial standards in a relatively short time. TekExpress provides a test automation solution for the DisplayPort CTS 1.1 standards.
’ TestStand, TekExpress leverages on the capabilities of Microsoft .NET framework. It is a
TekExpress DisplayPort Automated Compliance Solutions 15
Operating Basics Starting the Application
Related Topics
Starting the Application
Resizing the Application Window
Exiting the Application
The application uses a USB dongle that contains the license key. This dongle must be present on the PC or the instrument hosting the TekExpress application.
The application also checks for a le, called is not found, instrument discovery is performed before launching TekExpress. The
Resources.xml, located in My TekExpress folder. If this le
Resources.xml le
contains information regarding instruments available on network.
When the application starts, it checks for the appropriate license key. If the valid license 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, you can do one of the following:
Click Start > Programs > Tektronix > TekExpress > TekExpress DisplayPort.
Double click the icon on the desktop.
If you have previously saved a session, you can double-click the session le stored under My
TekExpress\DisplayPort
.
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.
NOTE. If the application was not terminated properly during the last use, a dialog box asks to recall the previously unsaved session.
16 TekExpress DisplayPort Automated Compliance Solutions
Operating Basics Resizing the Application Window
Related Topics
Resizing the Application Window
Starting the Application
Exiting the Application
To minimize the application, click on the application title bar. To restore the application to its
previous size, select
To maximize the application, click . To restore it to previous size, click on the application title bar.
Exiting the Application
To exit the application, do one o f the following:
Click File > Exit.
Click on the application title bar.
in the Windows task bar.
Related Topics
Starting the Application
Resizing the Application Window
TekExpress DisplayPort Automated Compliance Solutions 17
Operating Basics Global Controls
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.
Table 4: Controls and Functions
Control name Function
DUT
Menus
The device ID is specied at the global level and the
ion is stored in the default location for all data
informat les. This eld cannot be empty and does not allow these special characters (.,..,...,\,/:?”<>|*). The maximum length of charac
You will
ters allowed is 32.
be able to run/stop the tests.
18 TekExpress DisplayPort Automated Compliance Solutions
Operating Basics File Menu
Related Topics
File Menu
View Menu
Tools Menu
Help Menu
Click File on the application menu bar.
The File menu has the following selections:
Menu Function
New Session Starts a default session of TekExpress.
Open Session Opens a saved session.
Save Session Saves the session.
Save Session As Saves a session in a different name.
Save Report As Saves the report in user specied location.
Print Preview Report
Print Report
Recent Sessions
Exit
Previews the report before printing.
Opens the Windows “Print” dialog box.
Lists recent sessions.
Closes the application.
TekExpress DisplayPort Automated Compliance Solutions 19
Operating Basics View Menu
Related Topics
View Menu
File Menu
Tools Menu
Help Menu
Click View on the appl
The View menu has t
Menu Function
Log File
ication menu bar.
he following selections:
Opens the log (log.xml) le in the default viewer.
20 TekExpress DisplayPort Automated Compliance Solutions
Operating Basics Tools M enu
Related Topics
Tools Menu
File Menu
View Menu
Help Menu
Click Tools on the app
lication menu bar.
The Tools menu has the following selections:
Menu Function
Instrument Bench
Opens a dialog box showing the list of instruments attached to the test setup.
Tools > Instrument Bench
The Instrument interfaces/connections. It serves two purposes at the launch of TekExpress:
Discovers the
Conrms the instrument connection setup.
When you click Tools > Instrument Bench, the following dialog box is displayed:
Bench window shows the list of VISA and Non-VISA resources found on different
connected instruments.
TekExpress DisplayPort Automated Compliance Solutions 21
Operating Basics Tools M enu
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 Updated: Displays the time when the last time search was performed.
TekVISA Refresh Timeout (Seconds): This time out species the maximum time that TekExpress
can wait 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
Title Description
Connection Shows the type of connection with the instrument.
Resource
Serial Number Shows the serial number of the resource.
Options Shows the options available on the instrument.
Resource Address
1
tion column displays the options that tintheeld. To view complete options on the instrument, move the mouse cursor over the option.
The op
Shows the name of the resource.
1
Shows IP Address/Port number of the resource.
Table 6: Button controls on Instrument Bench dialog box
Button Function
Refresh The application searches on the selected connection for resources. While
searching resources it shows the Instrument Bench discovery window. The Discovery window shows the connection currently being scanned and the percentage of task completed.
Close Closes the dialog box.
22 TekExpress DisplayPort Automated Compliance Solutions
Operating Basics Help Menu
Related Topics
Help Menu
File Menu
View Menu
Tools Menu
Click Help on the application menu bar.
The Help menu has the following selections:
Selection Description or Function
TekExpress Help
bout TekExpres
A
s...
Displays TekExpress Help (F1).
Displays application details such as software name, version number and copyright.
TekExpress DisplayPort Automated Compliance Solutions 23
Operating Basics Help Menu
24 TekExpress DisplayPort Automated Compliance Solutions
How To Select the Test(s)
HowTo
Related Topics
Select the Test(s)
View and Select Connected Instruments
Congure and Run the Tests
View the Progress of Analysis
View the Report
View Test Related Files
The application tests DisplayPort Sink devices to ensure that the device passes the DisplayPort CTS Jitter Tolerance test.
The Select panel a llows you to select tests to congure and run.
TekExpress DisplayPort Automated Compliance Solutions 25
How To Select the Test(s)
This panel provides the following functions:
Select Device
Select the Device type. And the test suite options will be automatically updated corresponding to the device selec
ted.
Select Lanes
Select the Lane number(s) that will be tested.
Select Test Suite
The application allows you to select a subset of tests to execute. Based on the test suite selected, the Version drop-down list will be populated.
Version
You can select the appropriate version. For example, CTS 1.1.
NOTE. If any of the check boxes in the Select column is grayed, you cannot make any changes. It implies that the
s mandatory.
test i
Once you select a row, the following options are available:
Table 7: Button controls on the Select panel
Button Description
Opens the conguration panel for the selected test.
ns the PDF of method of implementation (MOI) for the selected test.
Ope
Opens the schematic for the selected test. This is useful if you want to verify the test setup before running the test.
Selects all tests in the table.
Selects all the DisplayPort required tests in the grid and deselects all informative tests in the table.
eselects all tests in the table.
D
26 TekExpress DisplayPort Automated Compliance Solutions
How To Congure and Run the Test(s)
Related Topics
Congure and Run the Test(s)
Select the Tests
View and Select Connected Instruments
View the Progress of Analysis
View the Report
View Test Related Files
The conguration panel is used to create, view, and edit the parameters associated with the acquisition and the analysis of the selected test.
You have the following options:
To choose be
tween running the tests in a Compliance or User Dened mode.
To restore compliance mode values.
To change the parameters associated with the conguration of acquisition.
To change the parameters associated with analysis conguration.
The upper half of the Congure panel has general parameters that are common for a ll the tests under the selected test suite that are editable. The lower half of the Congure panel has test specic parameters.
NOTE. If any of the test parameters are grayed, it means that these parameters cannot be modied in the compliance mode. When you switch to the user-dened mode, these parameters are editable.
TekExpress DisplayPort Automated Compliance Solutions 27
How To Congure and Run the Test(s)
Table 8: Test parameters
Parameters to c
Analyze parameters
Test L imit s
Comment
ongure
s
Description
Shows the vari related to analysis of a selected test. These parameters can vary from one test Jitter values.
Applies to the maximum number of bit errors for the test.
You can s 256 characters long for the selected test. The comments will be printed on the r
ous parameters
to another such as,
a specic test. It shows
pecify a comment up to
eport.
Compliance settings
Click Run in the Select panel to run the selected tests.
Refer to the following table for different test limit comparisons:
Table 9: Different test limit comparisons
Comparison string Description
EQ(==)
NE(!=)
Equal to
Not equal to
Restores the compliance settings.
Accepts all changes that you made.
Dismisses the dialog box and does
t apply changes.
no
28 TekExpress DisplayPort Automated Compliance Solutions
How To Congure and Run the Test(s)
Table 9: Different test limit comparisons (cont.)
Comparison string Description
GT(>) Greater than
LT(<)
GE(>=) Greater than or Equal to
LE(<=)
GTLT(><) Greater than and Less than
GELT(>=<) Greater than or equal to and Less than
GTLE(><=) Greater than and Less or equal to
LTGT(<>) Less than and Greater than
LEGE(<= >=) Less than or equal to and Greater than or equal to
LEGT(<= >) Less than or equal to and Greater than
LTGE(< >=) Less than and Greater than or equal to
GELE(>= =<) Greater than or equal to and Less than or equal to
Less than
Less than or Equal to
TekExpress DisplayPort Automated Compliance Solutions 29
How To View and Select Connected Instruments
Related Topics
View and Select Connected Instruments
Select the Tests
Congure and Run the Tests
View Test Related Files
View the Progress of Analysis
View the Report
Viewing Connected Instruments
The Tools > Instrument Bench menu item is used to discover connected instruments required for the tests. The application uses TekVISA to discover the connected instruments. Once the operation is done, the Instrument Be selected search criteria.
NOTE. When the TekVISA Instrument Manager checks for connected instruments, the Instrument Bench dialog box is unresponsive.
nch dialog box resumes operation and lists the instrument-related details based on the
For example, if
youselectLANasthesearchcriteriaintheInstrumentBenchdialogboxandclickRefresh, the TekVISA Instrument Manager checks for the instruments availability over LAN and the details of the instrument are displayed under Retrieved Instruments table.
You can provide the time in the TekVISA Timeout (Seconds) field, within which if the TekVISA Instrument Manager d oes not nd the instruments, the TekExpress application resumes operation.
If you choose Non-VISA resources, all the instruments supported by TekExpress but not communicating over the VISA layer can be searched.
30 TekExpress DisplayPort Automated Compliance Solutions
How To View and Select Connected Instruments
Selecting Connected Instruments
You can view the instruments connected in the Conguration panel. The upper half of the panel displays the general parameters for the tests under the selected test suite.
You can choose the instruments from the drop-down list as shown in the following gure:
NOTE.
instruments.
The list of instruments displayed is specic to the selected test suite. It does not show all the connected
TekExpress DisplayPort Automated Compliance Solutions 31
How To View the Progress of Analysis
Related Topics
View the Progress of Analysis
Select the Tests
View and Select Connected Instruments
Congure and Run the Tests
View the Report
View Test Related Files
You can view the progress of the analysis in the Analyze panel. When the analysis is complete, the result value of each test is updated.
Analysis Table
The table contains the following:
The test name.
The status of the tests that are being run.
The Tests that are not yet started are shown with a “To be Started” status. A summarized status of the currently running test is shown on the status.
The Status Messages window timestamps all runtime messages and displays them. You can do the following:
Display Status: Enable/Disable status messages.
Auto Scroll: The status messages are scrolled automatically.
Clear All: Clear all status messages in Status Window.
32 TekExpress DisplayPort Automated Compliance Solutions
How To View the Progress of Analysis
Save Status: Save all status messages in text le. Displays a standard save le window and saves the status messages in the user specied le.
NOTE. The Stat
us Messages window is dockable and can be resized.
TekExpress DisplayPort Automated Compliance Solutions 33
How To View the Report
Related Topics
View the Report
Select the Tests
View and Select Connected Instruments
Congure and Run the Tests
View the Progress of Analysis
View Test Related Files
After the analysis, a report is automatically generated and displayed in the report panel. The report shows the results of the tests, including device information and pass/fail status of each test.
The Report View Area contains an HTML version of the report template. You can select any area of the report and copy it to the clipboard to make it available to other applications.
NOTE. You need to install Microsoft Excel 2002 before using the “View Scorecard” option.
34 TekExpress DisplayPort Automated Compliance Solutions
How To View Test Related Files
Related Topics
View Test Related Files
Application Directories and Usage
All the test related les for currently selected tests are always saved under My Docum ents\My
TekExpress\DisplayPort\Untitled Session
.
When you save a session, it is saved with the session name under the path
TekExpress\DisplayPort\SessionName
for future references.
My Documents\My
The session that is currently running will be stored in the same path as “Untitled” until you save it.
WARNING. Do not save Sessions in the name “Untitled” and “Backup” as they are application specific les and will be deleted when the application exits.
A session folder can contain results for more than one DUT, and a DUT folder can contain more than one run d ata folder marked by date-time stamp as folder name.
Below is an example image of data storage:
TekExpress DisplayPort Automated Compliance Solutions 35
How To Generate Patterns
Generate Patterns
For details on DisplayPort pattern creation, refer to the DisplayPort Standard Tektronix Method Of Implementation for Sink Tests document. Also, you can open the document by clicking
option in the Select Panel.
36 TekExpress DisplayPort Automated Compliance Solutions
Application Examples Jitter Tolerance Test for Lane 0: Equipment Setup
ApplicationExamples SinkReceiver ComplianceTest
Jitter Tolerance Test for Lane 0: Equipment Setup
You need the following equipment to set up the application:
Resource Model support
cilloscope
es
rs
gnal Source
Tektronix AW
Tektronix D and TDS6124C
TPA-P and TPA-R xtures from Efcere Technologies
Tek P/N: 015-1002-01 (14dB) – 6 numbers.
Tek P/N: 015-1001-01 (6dB) – 4 numbers.
High Speed Si
Real Time Os
Test Fixtur
Attenuato
DC Block - Picosecond Pulse Lab 5501A – 2 (for Analog output)
ed
G7102 (Options 01, 06)
PO/DSA 72004, DPO/DSA 71604, DPO/DSA 71254, TDS6154C,
Connect the equipment as shown in the following diagram:
TekExpress DisplayPort Automated Compliance Solutions 37
Application Examples Jitter Tolerance Test for RBR in Semi-Automated mode
Jitter Tolerance Test for RBR in Semi-Automated mode
To run a Sink Jitter Tolerance test, follow these steps:
1. Select Sink as the device type.
2. Select Lane 0 asthelanetobetested.
3. Select Tektronix AUX Controller Not Available (Semi-Automated Test) option and CTS 1.1 as
the version.
4. Enter the DUT name in the DUT eld.
5. If you wan
6. Select 4.1a - Jitter Tolerance Test - RBR - 2MHz option.
t to verify the test setup before running the test(s), click Show Schematic.
7. Click Congure to congure the test parameters. Observe that the default settings are in the
Compliance mode.
38 TekExpress DisplayPort Automated Compliance Solutions
Application Examples Jitter Tolerance Test for RBR in Semi-Automated mode
8. If you want to change the parameters, choose User Dened Mode. The message reports that the changes
made to a test may no longer be compliant.
9. You can congure any test to help you analyze measurement results. To refer to the DisplayPort Standar
Jitter Tolerance tests, click Show MOI in the Select panel.
10.Click A click Re store. To close the dialog box, click Close.
d Tektronix MOI for Sink Tests document for information on how to manually congure the
pply to apply the new settings for the selected test. If you want to restore the default settings,
TekExpress DisplayPort Automated Compliance Solutions 39
Application Examples Jitter Tolerance Test for RBR in Semi-Automated mode
11. Click Run to run the selected tests.
The status of the tests is displayed in the Analyze panel.
12.The Testing is done in two phases - Frequency lock phase and symbol lock phase.
If the Tektronix AUX Controller is not available, a dialog box noties whether to enable the sink device for frequency lock. Click Ye s and continue.
13.If th
e Tektronix AUX Controller is not available, a dialog box noties whether to enable the sink
device for symbol lock. Click Yes and continue.
14.Click OK to enable the error counter.
40 TekExpress DisplayPort Automated Compliance Solutions
Application Examples Jitter Tolerance Test for RBR in Semi-Automated mode
15.Enter the nu
16. After the tests run successfully, a report is generated and displayed in the Report panel.
mber of transmitted error bits in the following dialog box.
You can save the report using File > Save Report As option.
TekExpress DisplayPort Automated Compliance Solutions 41
Application Examples Jitter Tolerance Test for RBR in Automated Mode
Jitter Tolerance Test for RBR in Automated Mode
1. Select Sink as the device type.
2. Select Lane 0 asthelanetobetested.
3. Select Tektronix AUX Controller Available (Automated Test) option.
4. Enter the DUT name in the DUT eld.
5. If you want
6. Select 4.1b-JitterToleranceTest-RBR-10MHzoption.
to verify the test setup before running the test(s), click Show Schematic.
7. Click Congure to congure the test parameters. Observe that the default settings are in Compliance
mode.
42 TekExpress DisplayPort Automated Compliance Solutions
Application Examples Jitter Tolerance Test for RBR in Automated Mode
8. If you wa changes made to a test may no longer be compliant.
9. Yo u can c Standard Tektronix MOI for Sink Tests document for information on how to congure the sink test, click Show MOI in the Select panel.
10.Click Apply to apply the new settings for the selected test. If you want to restore the default settings, click Re store. To close the dialog box, click Close.
nt to change the parameters, choose User Dened Mode. The message reports that the
ongure any test to help you analyze measurement results. To refer to the DisplayPort
TekExpress DisplayPort Automated Compliance Solutions 43
Application Examples Jitter Tolerance Test for RBR in Automated Mode
11. Click Run to run the selected tests.
The status of the tests is displayed in the Analyze panel.
12.After the tests run successfully, a report is generated and displayed in the Report panel.
44 TekExpress DisplayPort Automated Compliance Solutions
TekExpress Pattern Sequence Pattern Sequence
TekExpressPattern Sequence
Pattern Sequence
TekExpress Display Port Software needs to have the following sequencing of patterns to run compliance automated test. The nomenclature of the patterns should be exactly same as shown in the sequence.
If you are using an AWG7102, click on the links below to see the le names and the sequence they should follow:
HBR SSC
File name should be
JT_SSC_HBR_7102.awg.
Sequence:
1. Freq_Lock_HBR_2MHz
2. Symbol_Lock_HBR_2MHz
3. PRBS7_HBR_Clean
4. PRBS7_128times_1bit_errors
5. PRBS7_HBR_Clean
6. PRBS7_HBR_2MHz
7. PRBS7_HBR_Clean
8. Freq_Lock_HBR_10MHz
9. Symbol_Lock_HBR_10MHz
10.PRBS7_HBR_Clean
11. PRBS7_128times_1bit_errors
12.PRBS7_HBR_Clean
13.PRBS7_HBR_10MHz
14.PRBS7_HBR_Clean
15.Freq_Lock_HBR_20MHz
16.Symbol_Lock_HBR_20MHz
17.PRBS7_HBR_Clean
18.PRBS7_128times_1bit_errors
19.PRBS7_HBR_Clean
20.PRBS7_HBR_20MHz
21.PRBS7_HBR_Clean
22.Freq_Lock_HBR_100MHz
TekExpress DisplayPort Automated Compliance Solutions 45
TekExpress Pattern Sequence Pattern Sequence
23.Symbol_Lock_HBR_100MHz
24.PRBS7_HBR_Clean
25.PRBS7_128times_1bit_errors
26.PRBS7_HBR_Clean
27.PRBS7_HBR_100MHz
28.PRBS7_HBR_Clean
RBR SSC
File name should be
JT_SSC_RBR_7102.awg.
Sequence:
1. Freq_Lock_RBR_2MHz
2. Symbol_Lock_RBR_2MHz
3. PRBS7_RBR_Clean
4. PRBS7_128times_1bit_errors
5. PRBS7_RBR_Clean
6. PRBS7_RBR_2MHz
7. PRBS7_RBR_Clean
8. Freq_Lock_RBR_10MHz
9. Symbol_Lock_RBR_10MHz
10.PRBS7_RBR_Clean
11. PRBS7_128times_1bit_errors
12.PRBS7_RBR_Clean
13.PRBS7_RBR_10MHz
14.PRBS7_RBR_Clean
15.Freq_Lock_RBR_20MHz
16.Symbol_Lock_RBR_20MHz
17.PRBS7_RBR_Clean
18.PRBS7_128times_1bit_errors
19.PRBS7_RBR_Clean
20.PRBS7_RBR_20MHz
21.PRBS7_RBR_Clean
46 TekExpress DisplayPort Automated Compliance Solutions
TekExpress Pattern Sequence Pattern Sequence
HBR Non-SSC
File name should be
JT_Non SSC_HBR_710 2.awg.
Sequence:
1. Freq_Lock_HBR_2MHz
2. Symbol_Lock_HBR_2MHz
3. PRBS7_HBR_Clean
4. PRBS7_128times_1bit_errors
5. PRBS7_HBR_Clean
6. PRBS7_HBR_2MHz
7. PRBS7_HBR_Clean
8. Freq_Lock_HBR_10MHz
9. Symbol_Lock_HBR_10MHz
10.PRBS7_HBR_Clean
11. PRBS7_128times_1bit_errors
12.PRBS7_HBR_Clean
13.PRBS7_HBR_10MHz
14.PRBS7_HBR_Clean
15.Freq_Lock_HBR_20MHz
16.Symbol_Lock_HBR_20MHz
17.PRBS7_HBR_Clean
18.PRBS7_128times_1bit_errors
19.PRBS7_HBR_Clean
20.PRBS7_HBR_20MHz
21.PRBS7_HBR_Clean
22.Freq_Lock_HBR_100MHz
23.Symbol_Lock_HBR_100MHz
24.PRBS7_HBR_Clean
25.PRBS7_128times_1bit_errors
26.PRBS7_HBR_Clean
27.PRBS7_HBR_100MHz
TekExpress DisplayPort Automated Compliance Solutions 47
TekExpress Pattern Sequence Pattern Sequence
28.PRBS7_HBR_Clean
RBR Non-SSC
File name should be
JT_Non SSC_RBR_71 02.awg.
Sequence:
1. Freq_Lock_RBR_2MHz
2. Symbol_Lock_RBR_2MHz
3. PRBS7_RBR_Clean
4. PRBS7_12
5. PRBS7_RBR_Clean
6. PRBS7_RBR_2MHz
7. PRBS7_RBR_Clean
8. Freq_Lock_RBR_10MHz
9. Symbol_Lock_RBR_10MHz
10.PRBS7
11. PRBS7_128times_1bit_errors
12.PRBS7_RBR_Clean
8times_1bit_errors
_RBR_Clean
13.PRBS7_RBR_10MHz
14.PRBS7_RBR_Clean
15.Freq_Lock_RBR_20MHz
mbol_Lock_RBR_20MHz
16.Sy
17.PRBS7_RBR_Clean
18.PRBS7_128times_1bit_errors
19.PRBS7_RBR_Clean
20.PRBS7_RBR_20MHz
21.PRBS7_RBR_Clean
If you are using an AWG7122, click on the links below to see the le names and the sequence they should follow:
HBR SSC
File name should be
JT_SSC_HBR_7122.awg.
48 TekExpress DisplayPort Automated Compliance Solutions
TekExpress Pattern Sequence Pattern Sequence
Sequence:
1. Freq_Lock_HBR_2MHz
2. Symbol_Lock_HBR_2MHz
3. PRBS7_HBR_Clean
4. PRBS7_128times_1bit_errors
5. PRBS7_HBR_Clean
6. PRBS7_HBR_2MHz
7. PRBS7_HBR_Clean
8. Freq_Lock_HBR_10MHz
9. Symbol_Lock_HBR_10MHz
10.PRBS7_HBR_Clean
11. PRBS7_128times_1bit_errors
12.PRBS7_HBR_Clean
13.PRBS7_HBR_10MHz
14.PRBS7_HBR_Clean
15.Freq_Lock_HBR_20MHz
16.Symbol_Lock_HBR_20MHz
17.PRBS7_HBR_Clean
18.PRBS7_128times_1bit_errors
19.PRBS7_HBR_Clean
20.PRBS7_HBR_20MHz
21.PRBS7_HBR_Clean
22.Freq_Lock_HBR_100MHz
23.Symbol_Lock_HBR_100MHz
24.PRBS7_HBR_Clean
25.PRBS7_128times_1bit_errors
26.PRBS7_HBR_Clean
27.PRBS7_HBR_100MHz
28.PRBS7_HBR_Clean
RBR SSC
File name should be
JT_SSC_RBR_7122.awg.
TekExpress DisplayPort Automated Compliance Solutions 49
TekExpress Pattern Sequence Pattern Sequence
Sequence:
1. Freq_Lock_RBR_2MHz
2. Symbol_Lock_RBR_2MHz
3. PRBS7_RBR_Clean
4. PRBS7_128times_1bit_errors
5. PRBS7_RBR_Clean
6. PRBS7_RBR_2MHz
7. PRBS7_RBR_Clean
8. Freq_Lock_RBR_10MHz
9. Symbol_Lock_RBR_10MHz
10.PRBS7_RBR_Clean
11. PRBS7_128times_1bit_errors
12.PRBS7_RBR_Clean
13.PRBS7_RBR_10MHz
14.PRBS7_RBR_Clean
15.Freq_Lock_RBR_20MHz
16.Symbol_Lock_RBR_20MHz
17.PRBS7_RBR_Clean
18.PRBS7_128times_1bit_errors
19.PRBS7_RBR_Clean
20.PRBS7_RBR_20MHz
21.PRBS7_RBR_Clean
HBR Non-SSC
File name should be
JT_Non SS
Sequence:
1. Freq_Lock_HBR_2MHz
2. Symbol_Lock_HBR_2MHz
C_HBR_7122.awg
.
3. PRBS7_HBR_Clean
4. PRBS7_128times_1bit_errors
5. PRBS7_HBR_Clean
50 TekExpress DisplayPort Automated Compliance Solutions
TekExpress Pattern Sequence Pattern Sequence
6. PRBS7_HBR_2MHz
7. PRBS7_HBR_Clean
8. Freq_Lock_HBR_10MHz
9. Symbol_Lock_HBR_10MHz
10.PRBS7_HBR_Clean
11. PRBS7_128times_1bit_errors
12.PRBS7_HBR_Clean
13.PRBS7_HBR_10MHz
14.PRBS7_HBR_Clean
15.Freq_Lock_HBR_20MHz
16.Symbol_Lock_HBR_20MHz
17.PRBS7_HBR_Clean
18.PRBS7_128times_1bit_errors
19.PRBS7_HBR_Clean
20.PRBS7_HBR_20MHz
21.PRBS7_HBR_Clean
22.Freq_Lock_HBR_100MHz
23.Symbol_Lock_HBR_100MHz
24.PRBS7_HBR_Clean
25.PRBS7_128times_1bit_errors
26.PRBS7_HBR_Clean
27.PRBS7_HBR_100MHz
28.PRBS7_HBR_Clean
RBR Non-SSC
File name should be
JT_Non SSC_RBR_712 2.awg.
Sequence:
1. Freq_Lock_RBR_2MHz
2. Symbol_Lock_RBR_2MHz
3. PR BS7_RBR_Clean
4. PRBS7_128times_1bit_errors
TekExpress DisplayPort Automated Compliance Solutions 51
TekExpress Pattern Sequence Pattern Sequence
5. PRBS7_RBR_Clean
6. PRBS7_RBR_2MHz
7. PRBS7_RBR_Clean
8. Freq_Lock_RBR_10MHz
9. Symbol_Loc
10.PRBS7_RBR_Clean
11. PRBS7_128times_1bit_errors
12.PRBS7_RBR_Clean
13.PRBS7_RBR_10MHz
14.PRBS7_RBR_Clean
15.Freq_Lo
16.Symbol_Lock_RBR_20MHz
17.PRBS7_RBR_Clean
18.PRBS7_128times_1bit_errors
19.PRBS7_RBR_Clean
20.PRBS7_RBR_20MHz
21.PRBS
7_RBR_Clean
k_RBR_10MHz
ck_RBR_20MHz
52 TekExpress DisplayPort Automated Compliance Solutions
TekExpress Programmatic Interface About Programmatic Interface
TekExpressP rogrammaticInterface
Related Topics
About Programmatic Interface
Server and Client Proxy Objects
The Programmatic interface allows you to seamlessly integrate the TekExpress test automation application with the high-level automation layer. This a lso allows you to control the state of TekExpress application running on a local or a remote PC. Following operations can be performed using the programmatic interface exposed by TekExpress:
Query DUT ID
Set DUT ID
SaveSession
RecallSession
Run the Te
kExpress execution
Stop the TekExpress execution
Query execution status
Transfer result les
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.
xpress leverages .Net Marshalling to enable the Programmatic Interface for TekExpress Client.
TekE TekExpress provides a client library for TekExpress clients to use the p rogrammatic interface. The TekExpress client library is inherited from .Net MarshalByRef class to provide the proxy object for the clients. The TekExpress client library maintains a reference to the TekExpress Server and this reference allows the client to control the server state.
TekExpress DisplayPort Automated Compliance Solutions 53
TekExpress Programmatic Interface About Programmatic Interface
Click on the following links to get details on them:
What does one need to have to develop 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.dll IIdlglib.dll has a reference
to TekDotNetLib.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 does not need any reference to above mentioned DLL les. 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 server. This client needs to
TekExpressClient.dll to access the interfaces. Once the TekExpressClient.dll is loaded, the
load client UI can call the specic 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 conict with any other Client that may try to
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 server which is locked, it will get a notication 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.
54 TekExpress DisplayPort Automated Compliance Solutions
TekExpress Programmatic Interface Server and Client Proxy Objects
Server and Client Proxy Objects
Remote Proxy O
The server exposes a remote object to let the remote client access and perform the server side operations remotely. Th
The following is an example:
RemotingConfiguration.RegisterWellKnownServiceType (typeof (Te kExpressRe­moteInterface), “TekExpress Remote interface”, WellKnownObjectMode.S ingleton);
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.
bject
e proxy object is instantiated and exposed at the server-end through marshalling.
For example,
//Get a reference to the remote object
remoteObject = (IRemoteInterface)Activator.GetObject(typeof(IRemoteInterface), URL.ToString());
TekExpress DisplayPort Automated Compliance Solutions 55
TekExpress Programmatic Interface Server and Client Proxy Objects
Client Proxy O
Client exposes a proxy object to receive certain information.
For examp
//Register the client proxy object
WellKnownServiceTypeEntry[] e = RemotingConfiguratio n.GetRegisteredWell­KnownServiceTypes();
clientInterface = new ClientInterface();
RemotingConfiguration.RegisterWellKnownServiceType(typeof(ClientInterface), “Remote Client Interface”, WellKnownObjectMode.Singl eton);
bject
le,
//Expose the client proxy object through marshalling
RemotingServices.Marshal(clientInterface, "Remote Client Inteface");
The client proxy object is used for the following:
1. To g
et the secondary dialog messages from the server.
2. To get the le transfer commands from the server while transferring the report.
Click here to see examples.
clientObject.clientIntf.DisplayDialog(caption, msg,iconType, btnT ype);
clientObject.clientIntf.TransferBytes(buffer, read, fileLength);
56 TekExpress DisplayPort Automated Compliance Solutions
TekExpress Programmatic Interface Server and Client Proxy Objects
To know more on the topics below, click on 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 d ialog 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 le by calling the le transfer methods at the client-end.
ProgrammaticInterfaceAPIs
TekExpress DisplayPort Automated Compliance Solutions 57
TekExpress Programmatic Interface Connect()
Connect()
Connect(string ipAddress, out string clientID)
This method connects the client to the server. The client provides the ip address of the server to connect to the server. The server provides a unique clientId when the client is connected to it.
Parameters
Name Type Direction Description
ipAdress string IN
clientid
String OUT Identier of the client that is connected to the
The ip address of the server to which the client is trying to connect to. This is required to establish the connection between the server and the client.
server.
clientId = unique number + ipaddress of the client. For example, 1065–192.157.98.70
Return Value
Value that suggests the status if the connection was established or a n error occurred. The return value is an object that can be a boolean value, returning true or a string, returning the error message.
Example
try {
IPAddress[] hostIPAddr = Dns.GetHostAddresses(Dns.GetHostName());
// Connect to the remoter Server
remoteObject.Connect(hostIPAddress, clientInterface, out clientID);
return true;
}
catch (Exception error)
{
return error;
}
Comments
The server has to be active and running for the client to connect to the server. Any number of clients c an be connected to the server at a time. Each client will get a unique id.
58 TekExpress DisplayPort Automated Compliance Solutions
TekExpress Programmatic Interface Disconnect()
Disconnect()
Disconnect(s
This method disconnects the client from the server it is connected to.
tring id)
Parameters
Name Type Direction Description
id
String
IN
Identier of the client that is performing the remote function.
Return Value
Integer value that suggests the status of the operation after it has been performed.
1–Success
–1 – Failure
Example
try
{
string returnVal = UnlockServer (clientId);
teObject.Disconnect (clientId);
remo
return 1;
}
mments
Co
When the client is disconnected, it is unlocked from the server and then disconnected. The id is reused.
TekExpress DisplayPort Automated Compliance Solutions 59
TekExpress Programmatic Interface LockSession()
LockSession()
LockSession(
string id)
This method locks the server. The client has to call this method before running any of the remote automations
. The server can be locked by only one client.
Parameters
Name Type Direction Descriptio
id
Return Va
String
lue
IN
Identier the remote function.
String value that suggests the status of the operation after it has been performed.
n
of the client that is performing
Example
if (loc
returnVal = remoteObject.LockSession(clientId);
ked)
return “Session has already been locked!”;
if ((OP_STATUS)returnVal == OP_STATUS.SUCCESS)
{
locked = true;
urn “Session Locked...”;
ret
}
Comments
hen the client tries to lock a server that is locked by another client, the client gets a notication that the
W server is already locked and it has to wait until the server is unlocked.
Iftheclientlockstheserverandisidleforacertain amount o f time then the server is unlocked automatically from that client.
60 TekExpress DisplayPort Automated Compliance Solutions
TekExpress Programmatic Interface UnlockSession()
UnlockSession()
UnlockSessio
This method unlocks the server from the client. The client id of the client to be unlocked has to be provided.
n(string id)
Parameters
Name Type Direction Description
id string IN
Identier of the client that is performing the remote function.
Return Value
String that suggests the status of the operation after it has been performed.
Example
returnVal = remoteObject.UnlockSession(clientId);
if ((OP_STATUS)returnVal == OP_STATUS.SUCCESS)
{
locked = false;
return “Session Un-Locked...”;
}
Comments
When the client is disconnected, it is automatically unlocked.
TekExpress DisplayPort Automated Compliance Solutions 61
TekExpress Programmatic Interface SetTimeOut()
SetTimeOut()
SetTimeOut (s
tring id, string time)
Parameters
Name Type Direction Description
id string IN
time string IN The time in seconds which
Identier o is performing the remote function.
refers to the time-out period.
f the client that
Return Value
String that suggests the status of the operation after it has bee n performed.
Example
if (ClientId == ClientID)
{
if (locked == true)
{
Time = Int32.Parse(time);
temp
}
if (tempTime < 0)
return “Enter a valid Timeout Period”;
else
{
imeout = tempTime;
t
return “Timeout Period Changed”;
}
}
62 TekExpress DisplayPort Automated Compliance Solutions
TekExpress Programmatic Interface GetTimeOut()
Comments
The time parameter gives the time-out period, that is the time the client is allowed to be locked and idle. After the time-out period if the client is still idle, it gets unlocked.
The time parameter should be a positive integer. If it is not a positive integer, the client is prompted to provide a valid time-out period.
GetTimeOut()
GetTimeOut (string id)
Parameters
Name Type Direction Description
id string IN
Identier of the client that is performing the remote function.
Return Value
g that suggests the status of the operation after it has been performed.
Strin
Example
if (ClientId == ClientID)
{
ResetTimer();
return timeOut.ToString();
}
Comments
The timeout period is a positive integer.
TekExpress DisplayPort Automated Compliance Solutions 63
TekExpress Programmatic Interface GetDutId()
GetDutId()
GetDutId(str
This method gives the DUT id of the current set-up.
ing id, string dutId)
Parameters
Name Type Direction Description
id string IN
dutId string
OUT The DUT id of the set-up.
Identier of the client that is performing the remote function.
Return Value
String that gives the timeout period (in seconds) of the client.
Exampl
returnVal = remoteObject.GetDutId(clientId, out id);
if ((OP_STATUS)returnVal == OP_STATUS.SUCCESS)
{
e
return id;
}
e
els
return CommandFailed(returnVal);
Comments
e dutId is an OUT parameter whose v alue is set after the server processes the request.
Th
64 TekExpress DisplayPort Automated Compliance Solutions
TekExpress Programmatic Interface ChangeDutId()
ChangeDutId()
ChangeDutId(
string id, string dutName)
This method changes the DUT id of the set-up. The client has to provide a valid DUT id.
Parameters
Name Type Direction Description
id string IN
dutName string IN
Identier of the client that is performing the remote function.
The new DUT id of the set-up.
Return Value
String that suggests the status of the operation after it has been performed.
Exampl
If (dut Id.Length <=0 && locked == true)
returnVal = remoteObject.ChangeDutId(clientId, dutId);
e
return “Enter a valid DUT-ID”;
if ((OP_STATUS)returnVal == OP_STATUS.SUCCESS)
return “DUT Id Changed...”;
e
els
return CommandFailed(returnVal);
Comments
the dutName parameter is null, the client is prompted to provide a valid DUT id.
If
TekExpress DisplayPort Automated Compliance Solutions 65
TekExpress Programmatic Interface SaveSession()
SaveSession()
SaveSession(
Saves the current session. The name of the session is provided by the client.
string id, string name)
Parameters
Name Type Direction Description
id string IN
name
string IN
Identier of the client that is performing the remote function.
The name of the session being saved.
Return Value
String that suggests the status of the operation after it has bee n performed.
Exampl
returnVal = remoteObject.SaveSession(clientId,sessionName);
if ((OP_STATUS)returnVal == OP_STATUS.SUCCESS)
e
return “Session Saved...”;
else
return CommandFailed(returnVal);
Comments
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. Instead SaveSessionAs can be used.
66 TekExpress DisplayPort Automated Compliance Solutions
TekExpress Programmatic Interface SaveSessionAs()
SaveSessionAs()
SaveSessionA
s(string id, string name)
Saves the current session in a different name every time this method is called. The name of the session is provided by t
he client.
Parameters
Name Type Direction Descriptio
id string IN
name
Return V
alue
string IN
Identier the remote function.
The name of the session being saved.
String that suggests the status of the operation after it has been performed.
n
of the client that is performing
Example
nVal = remoteObject.SaveSessionAs(clientId,sessionName);
retur
if ((OP_STATUS)returnVal == OP_STATUS.SUCCESS)
return “Session Saved...”;
else
return CommandFailed(returnVal);
Comments
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.
TekExpress DisplayPort Automated Compliance Solutions 67
TekExpress Programmatic Interface RecallSession()
RecallSession()
RecallSessio
Recalls a saved session. The name of the session is provided by the client.
n(string id, string name)
Parameters
Name Type Direction Description
id string IN
name
string IN
Identier of the client that is performing the remote function.
The name of the session being recalled.
Return Value
String that suggests the status of the operation after it has bee n performed.
Exampl
returnVal = remoteObject.RecallSession(clientId,sessionName);
if ((OP_STATUS)returnVal == OP_STATUS.SUCCESS)
e
return “Session Recalled...”;
else
return CommandFailed(returnVal);
Comments
The name parameter cannot be empty. If it is empty, the client is prompted to provide a valid name.
68 TekExpress DisplayPort Automated Compliance Solutions
TekExpress Programmatic Interface Run()
Run()
Run(string id
Runs the setup. Once the server is set up and is congured, it can be run remotely using this functio n.
)
Parameters
Name Type Direction Description
id string IN
Identier of the client that is performing the remote funtion.
Return Value
String that suggests the status of the operation after it has been performed.
Example
returnVal = remoteObject.Run(clientId);
if ((OP_STATUS)returnVal == OP_STATUS.SUCCESS)
return “Run started...”;
else
return CommandFailed(returnVal);
Comments
When the run is performed the status of the run is updated periodically using a timer.
TekExpress DisplayPort Automated Compliance Solutions 69
TekExpress Programmatic Interface Stop()
Stop()
Stop(string i
Stops the run operation.
d)
Parameters
Name Type Direction Description
id string IN
Identier of the client that is performing the remote funtion.
Return Value
String that suggests the status of the operation after it has bee n performed.
Example
returnVal = remoteObject.Stop(clientId);
if ((OP_STATUS)returnVal == OP_STATUS.SUCCESS)
return “Stopped...”;
else
return CommandFailed(returnVal);
Comments
When the session is stopped the client is prompted to stop the session and is stopped at the consent.
70 TekExpress DisplayPort Automated Compliance Solutions
TekExpress Programmatic Interface QueryStatus()
QueryStatus()
QueryStatus(
string id, out string[] status)
This method gives the status of the run as messages. The status messages are generated once the run is started.
Parameters
Name Type Direction Descriptio
id string IN
status
string ar
ray
OUT The list of status messages generated
Identier the remote function.
during run.
n
of the client that is performing
Return Value
String that suggests the status of the operation after it has been performed.
Example
returnVal = remoteObject.QueryStatus(clientId, out statusMessages);
if ((OP_STATUS)returnVal == OP_STATUS.SUCCESS)
rn “Status updated...”;
retu
else
return CommandFailed(returnVal);
mments
Co
Thestatusmessagesareupdatedperiodically after the run begins. The status is an out parameter which is
t when the server processes the request.
se
TekExpress DisplayPort Automated Compliance Solutions 71
TekExpress Programmatic Interface TransferReport()
TransferReport()
TransferRepo
rt(string id, string lePath)
This method transfers the report generated after the run. The report contains the summary of the run. The client has to
provide the location where the report is to be saved at the client-end.
Parameters
Name Type Direction Descriptio
id string IN
lePath
Return V
alue
string IN The locat
Identier the remote funtion.
saved in the client.
String that suggests the status of the operation after it has bee n performed.
n
of the client that is performing
ion where the report has to be
Example
nVal = remoteObject.TransferReport(clientId);
retur
if ((OP_STATUS)returnVal == OP_STATUS.SUCCESS)
return “Transferred...”;
else
return CommandFailed(returnVal);
Comments
If the client does not provide the location to save the report, the report is saved at C:\ProgramFiles.
72 TekExpress DisplayPort Automated Compliance Solutions
TekExpress Programmatic Interface CheckSessionSaved()
CheckSessionSaved()
CheckSession
This function is called when a check is to be made to know if the current session is saved.
Saved(string id, out bool saved)
Parameters
Name Type Direction Description
id string IN
saved bool
OUT Boolean which represents if the current
Identier of the client that is performing the remote function.
session is saved.
Return Value
Vo i d
Example
if (clientId == ClientID)
{
returnVal = remoteObject.IsSessionSaved(id,out saved);
}
ments
Com
The saved parameter gives the boolean value suggesting if the current session is saved or not. This is used
a check in SaveSession() and SaveSessionAs() Functions.
as
TekExpress DisplayPort Automated Compliance Solutions 73
TekExpress Programmatic Interface ErrorCodes
ErrorCodes
The return value of the remote automations at the server-end is OP_STATUS which is changed to a string value depending on its code and returned to the client.
The values of OP_STATUS are as follows:
Value Code Description
FAIL −1
SUCCESS
NOTFOUND
LOCKED
UNLOCK
NULL 0 Nothing
1 The operation succeeded.
2
3 The server is locked by another client, so operation cannot
4
The operation failed.
Server not found
be performed.
The server is not locked. Lock the server before performing the oper
ation.
74 TekExpress DisplayPort Automated Compliance Solutions
TekExpress Programmatic Interface Example
Example
The following is an example for NI TestStand Client available in the path, C:\Program
Files\Tektronix\TekExpress\Examples\Programmatic Interface\TestStand
TekExpress DisplayPort Automated Compliance Solutions 75
TekExpress Programmatic Interface Example
76 TekExpress DisplayPort Automated Compliance Solutions
Troubleshooting Instrument Connectivity
Troubleshooting
Related Topics
Instrument Connectivity
User Interface
TestStand Runtime Engine Installatio n
If the instrument(s) a Bench, check the following:
Only those instrume Instrument Bench.
Ensure that VXI-11
If Instrument initialization fails during test sequence execution, do the following:
It is observed that GPIB communication with instrument over Tek-VISA layer is not initialized if in TekVISA Instrument manager the search criteria is turned-off even if valid instrument is connected in the network. It is ne manager.
User Interface
The Acquire tab is disabled.
For a selected test suite, the test is performed on a live acquisition. If test(s) such as PHY-TSG-OOB can be performed on pre-acquired waveforms, this tab is active.
re displayed in TekVISA Instrument Manager but not in the TekExpress Instrument
nts that respond to
*idn? and *opt? queries successfully, are displayed in
Server is running on the instruments.
cessary to turn ON the respective search criteria by opening the TekVISA Instrument
Related Topics
Instrument Connectivity
TestStand Runtime Engine Installatio n
TekExpress DisplayPort Automated Compliance Solutions 77
Troubleshooting TestStand Run time Engine Installation
Related Topics
TestStand Run time Engine Installation
Instrument Connectivity
User Interface
Managing multiple versions of TestStand installed on the system.
TekExpress installs TestStand version 3.5 runtime engine. If you have versions other than 3.5, while working with TekExpress, ensure that the version shipped with TekExpress is active. You can do so by clicking Start > Programs > National Instruments > TestStand 3 .5 > TestStand Version Selector.
78 TekExpress DisplayPort Automated Compliance Solutions
Troubleshooting Test Limit is Single Sided
Related Topics
Test Limit i s Single Sided
Instrument Connectivity
TestStand Runtime Engine Installatio n
User Interface
The test limit is single sided but report shows second value and value is shown as 0.
If the test limits are single sided for limits such as GT(>) Greater than, LT(<) Less than; then the second value is by default 0 and is ignored by the test automation script. In such cases, while analyzing the report the second value should be ignored.
TekExpress DisplayPort Automated Compliance Solutions 79
Troubleshooting Report shows as NAN
Related Topics
Report shows as NAN
Instrument Connectivity
TestStand Runtime Engine Installation
User Interface
Test Limit is Single Sided
Some of the result values in the report are shown as NAN.
NAN is IEEE denition for “Not a Number”. The possible causes are as follows:
The captured patte
rn (HFTP, MFTP, LFTP, LBP waveform les) for the analysis does not contain
a valid pattern.
TheNANvalueisco
mmonly seen in TSG measurements when LFTP pattern is required for analysis
but the captured pattern is not true LFTP.
The NAN value can
be seen in the nal reports if a test algorithm does not successfully evaluate a
result due to one or more reasons listed above.
For trouble shoo available in
ting, you can analyze the captured waveform using pattern analyzer utility which is
TekExpress\ACP folder. The patternAnalyzer.exe need to be run from MS DOS prompt
and t akes the following command line argument:
patternAnalyzer.exe <InterfaceSpeed> <WaveformFile> <OutputTXTfile> where,
ed
InterfaceSpe
Waveform file is complete waveform le path.
OutputTXTfile is output text le path.
For example,
sion\DUT001\20080206_185914\BISTL_HFTP_G2_Drive_DW2_Diff.wfm” “X:\results.txt”
Open the contents of
should be specied as either Gen1 or Gen2.
patternAnalyzer.exe “Gen2” “X:\DisplayPort\SavedSes-
X:\results.txt to see the results.
.
80 TekExpress DisplayPort Automated Compliance Solutions
Reference Shortcut Keys
Reference
Shortcut Keys
The following table lists the short cut keys to access the application:
Table 10: Keyboard shortcut keys
Menu Shortcut keys
File Alt + F
New Session Ctrl + N
Open Session... Ctrl + O
Save Session... Ctrl + S
Save Session As...
Print Preview Report Alt + F + V
Print Report...
Recent Sessions
Exit
View Alt + V
Log File
Tools Alt + T
Instrument Bench...
Help Alt + H
TekExpress Help (F1)
About... Alt + H + A
Alt + F + A
Ctrl + P
Alt + F + E
Ctrl + X
Ctrl + L
Ctrl + I
Alt + H + H
TekExpress DisplayPort Automated Compliance Solutions 81
Reference Error Codes for TekExpress
Error Codes for TekExpress
The following table lists the error codes for the application. Most of the errors require that you restart the system.
Table 11: Error codes and Description
Error Code Description
<10000
10001 - 11000 – Data Manager related errors
10001
10002
11001 - 14000 – ICP related errors
11001
11002
11003
11004
11005
11006
12001
12002 Display state is not set to required value.
03
120
004
12
12005 Vertical Position is not set to required value.
12006
12007
14001 - 18000 – SCP related errors
14001 Timeout Error: Application could not be activated.
14002 JIT3 Application is already running.
14003
14004
14005
14006 Error in closing the Application.
14007
TestStand generated error.
Insufcient Data. The Record could not be inserted. The following elds are empty or have insufcient data.
Could not retrieve the record. The specied index is not valid.
Operation mode is not set as specied.
SetUp le Error: Specied SetUp le is not s e t.
Operation state is not set as specied.
Specied waveform is not loaded into channel memory.
Specied channel is not enabled.
Interleave State could not be set to off.
Operation State is not set to required value.
Horizontal Scale is not set to required value.
rtical scale is not set to required value.
Ve
Deskew is not set to specied value.
Out of Range Error-RunTime Error Message.
Cannot activate JIT3 application. Some other application is running on Scope.
Error recalling the specied setup.
Error setting the specied Sequencer State.
Error loading the default setup.
82 TekExpress DisplayPort Automated Compliance Solutions
Index
Index
A
About menu, 23 About TekExp Activating License, 9 Analyze Parameters, 28 Application Summary, 15
ress, 15
B
Before clicking Run, 11
C
Client, 53 Complia Congure button, 26 Controlling the Server, 54
nce mode, 27
D
Data Storage, 35 Default Directory Usage, 7 Directory Structure, 7
le, 16
dong
E
Equipment Setup
Drive RSG-RMT, 37 Error Codes, 82 Exiting the Application, 17
F
File Name Extensions, 8
G
General parameters, 27 Global Controls, 18
I
Instrument Bench, 21 Instrument Bench menu, 30 Instrument discovery, 30 Instrument initialization, 77
Interface, 53 Interface commands
ChangeDutId, 65 Connect, 58 Disconnect GetDutId, 64 GetTimeOut, 63 LockSession, 60 RecallSession, 68 Run, 69 SaveSess SaveSessionAs, 67 SetTimeOut, 62 Status, 71 Stop, 70 TransferReport, 72 Unloc
Interface error codes, 74
,59
ion, 66
kSession, 61
L
Log File, 20
M
Mapping My TekExpress
folder, 11
Menus
le, 19
Fi Help, 23 Tools, 21
View, 20 My TekExpress, 35 My TekExpress folder, 11
N
NAN, 80 Non VISA resources, 22
O
Overview, 15
P
Parameters to congure, 27 Pattern Sequ
AWG, 4 5 Indy(7102), 45
Shannon(7122), 48 Programmatic Interface, 53 Progress of Analysis, 32 Proxy Obj
Client, 55
Remote, 55
ence
ect
R
Reactiving License, 9 Recent Sessions, 19 Related Documentation, 2
t
Repor
NAN, 80 Report panel overview, 34 Resizing the Application, 17 Retrieved Instruments, 22 RSG test on SATA drive, 38 Run
Run button, 18 Run button, 18
S
Safety Summary, v SATA devices, 25 Save
Report, 19
Session, 19 Select panel, 25 Selecting Connected
Instruments, 31 Server, 53 Session folder, 35 Shortcut Keys, 81 Show MOI button, 26 Show Schematic button, 26 Single Sided, 79 Software version, 23 Starting the Application, 16
TekExpress DisplayPort Automated Compliance Solutions 83
Index
System Requirements, 6
T
Technical Support, 3 TekVISA Inst Test Lim it
Single Sided, 79 Test Limits, 28 Test Param eters, 28 Test Related Files, 35 Test Suite
rument Manager, 30
,26
Test(s)
Congure, 2 7 Report, 34
Select, 25 TestStand Client example, 75 TroubleShooting
Instrument Connectivity, 77
TestStand Run-time Engine
Installati
User Interface, 77
on, 78
U
Untitled Sesssion, 11 USB dongle, 16 User dened mode, 27
V
View Scorecard, 34 Viewing Connected
Instrument
s, 30
84 TekExpress DisplayPort Automated Compliance Solutions
Loading...