REST API Programming
Example 2: Start a Quick 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 Quick Scan request.
3. Monitor the progress of a scan.
4. View and download the 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.
Initialize Quick Scan
•
Quick Scan performs both a Tx and Rx test on all available lanes.
•
Only PCIe Generation (Speed) is user-configurable. All other test configurations (lanes, presets, pass/fail limits, etc) are selected
automatically.
•
Quick Tx test lets all available lanes train to their preferred preset and reports Eye Widths, Eye Heights and Receiver Settings.
•
One and only one preset is selected per lane. Maximum eye count is 16.
42
Need help?
Do you have a question about the TMT4 and is the answer not in the manual?