Example 1: Start A Custom Scan And Download Results - Tektronix TMT4 User Manual

Margin tester
Table of Contents

Advertisement

Example 1: Start a Custom Scan and download results

This example uses Python and shows how to use the TMT4 API to do the following.
1. Format and send a login request.
2. Format and send a Custom Scan request.
3. Monitor the progress of a scan.
4. Download and extract scan results.
Format and send a login request
First you send a login request and then you send an authentification token. An authentification token is required to use any endpoint that
changes the state or accesses certain information about the Margin Tester.
Format and send a Custom Scan request
Custom scans can be configured to specify which lanes, presets, and PCIE generations to scan. You can also set the Pass/Fail limits for
TX eye height and eye width.
A scan can be divided into multiple tests. A test is a Tx or Rx test with a given Generation (Speed) and Clock settings.
This example is a scan with two tests. This first test is running on Generation 3 and the second test is running on Generation 4.
In this example, both Tx and Rx tests will run for Generation 3 with all lanes and presets enabled for both tests, with SSC disabled. In
the Generation 4, only a Tx scan is specified to run for lanes 0-3 for preset 5.
TMT4 Margin Tester User Manual
REST API Programming
39

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMT4 and is the answer not in the manual?

Table of Contents