Tektronix TSP Toolkit Software

Specificații
- Product: Tektronix TSP Toolkit Software
- Version: *P077187801* (077-1878-01)
- Release Date: September 2025 Trademark: TEKTRONIX and TEK are registered trademarks of Tektronix, Inc.
- Producator: Tektronix, Inc.
- Address: 13725 SW Karl Braun Drive, P.O. Box 500, Beaverton, OR 97077 US
Introducere
- The Tektronix TSPTM Toolkit is an open-source MicrosoftTM Visual Studio CodeTM extension that provides support for Tektronix’s Test Script Processor (TSP) technology to edit and execute scripts on TSP-enabled Tektronix instruments.
The extension includes language features such as syntax error detection, code navigation, and code-completion suggestions, as well as .tsp command set documentation and hover help. This guide will show you how to: -
- Instalați extensia TSP Toolkit
- Configurați-vă spațiul de lucru
- Conectați-vă la un instrument
- Configurați un proiect
- Rulați un script .tsp
- Utilizați terminalul
- Use the debugger
- Use automated (beta) TSP script generation
- Download and use the .tsp example scripturi
- Puteți descărca Visual Studio Code de la https://code.visualstudio.com/.
Instalați extensia TSP Toolkit
NOTA
- Before installing the extension from the Marketplace, select Help > Check for Updates to make sure that you have the most recent version of Visual Studio Code. If you are using Microsoft Windows, be sure to also have the latest Visual C++ redistribuibil library installed.
To install the extension from the Visual Studio Code Marketplace
- Select the extensions icon

- Select the search icon, then enter Tektronix. tsp-toolkit in the search field.

- Select Install under the Tektronix TSP Toolkit

- Extensia se va instala. Reîncărcați fereastra dacă vi se solicită.
Configurați-vă spațiul de lucru
Pentru a vă configura spațiul de lucru în Visual Studio Code:
- Selectați pictograma explorator.

- Selecta File.
- Selectați Deschidere folder pentru a selecta un dosar sau creați un dosar nou pe care să îl utilizați ca spațiu de lucru.

- In your workspace, use the New File și pictograme Folder nou pentru a crea .tsp noi files și subfoldere.

Conectați-vă la un instrument
- Puteți conecta instrumentul compatibil TSP la computer cu o conexiune LAN, GPIB sau USB. Conexiunile GPIB și USB necesită un driver VISA.
Pentru a vă conecta la un instrument compatibil TSP:
- Selectați pictograma TSP din stânga ecranului pentru a deschide panoul de instrumente.

- Hover over the instrument you want to connect to, then select Connect.

-
- If the connection was successful, a terminal window opens, and your instrument’s *IDN? The string will be displayed.
Configurați un proiect
- Vă puteți configura proiectul pentru a avea funcții de limbă activate pentru instrumentele dvs. TSP și rețeaua de noduri TSP-Link.
- Pentru a configura un proiect:
- Select the TSP icon on the left of the screen to open the Instruments pane.
- Be sure that the System Configurations pane is selected.

- Select the instrument tree icon to fetch the connected instrument and its TSP-Link nodes.

- If you do not have a connected instrument, select the add icon to add a new system manually

- Define your test system, then select Save.
- Când proiectul dvs. este configurat, vi se afișează sugestii relevante de completare a codului, ajutor pentru semnătură și documentație de comandă pentru instrumentele conectate.
Run a tsp script
- Pentru a rula un script .tsp:
- Deschideți un script .tsp în editor făcând clic pe el în spațiul de lucru sau selectând File > Deschide File.
- Faceți clic dreapta oriunde în editorul de script pentru a afișa meniul contextual.
- Selectați Trimitere script la terminal pentru a rula scriptul.

- Când scripturile sau comenzile sunt executate din Terminal, erorile sunt preluate numai după finalizarea acțiunii solicitate. Nu sunt tipărite erori noi în timp ce operația este în desfășurare.
Utilizarea terminalului
- Odată ce ați stabilit o conexiune cu instrumentul dvs., terminalul poate fi folosit pentru a trimite comenzi .tsp și a rula scripturi .tsp. Pentru a închide terminalul și a vă deconecta de la instrument, trimiteți comanda .exit.

Using the debugger
To debug a TSP script using the TSP Toolkit extension:
- Add a breakpoint by clicking to the left of a line number.

- In the upper-right corner of the script editor, select Debug TSP File. The script will run until the breakpoint is triggered

- When the breakpoint is triggered, use the debugger controls to step through the script.

- You can navigate to the Debug view at any time by selecting Run and Debug.

- To add expressions to the Watch pane:
- Select the add icon in the top right corner

- Enter the variable, command, or expression you wish to monitor, then press.< ENTER>
- You can also highlight the expression within the script, then right-click and select Add to Watch.

Using automated beta TSP script generation
- This feature is only compatible with the Tektronix MP5000 Series SMU and PSU modules.
To create a TSP script using the Script Generation UI:
- From the Explorer pane, select the Script Generation panel.
- Selectați + pentru a view the TSP Toolkit Script Generation user interface.

- Use the UI controls to configure the source and measure settings. The waveform previews can be used to verify that the settings will give the desired sourcing behavior.

- When you are finished adjusting parameters, select Open Script

- The generated script will be displayed in a new editor tab. You can run, save, or edit the script.
Descărcarea și utilizarea TSP example scripturi
- Example TSP Scripts are available for download on the TSP GitHub repository.
- Selectați fie Application_Specific, fie Instrument_Exampfolderul les pentru a găsi scripturi .tsp.

- Navigați prin foldere pentru a găsi exampScripturile organizate pe instrument și aplicație.
- Puteți face clic pe un script pentru view codul din GitHub. Selectați pictograma de descărcare pentru a copia scriptul pe computer.

- Când descărcarea este terminată, copiați scriptul în spațiul de lucru TSP Toolkit file locaţie.

Resurse și tutoriale suplimentare
- Notă de aplicație: Cum se scrie scripturi pentru TSP
- Tektronix TSP GitHub script example depozit
- TSP page on Tek.com
- Setul de instrumente TSP oferă un videoclip explicativ
- Pagina de produs TSP Toolkit
- Seria video TSP
FAQ
Q: Where can I find contacts for product information, sales, service, and technical support?
A: Visit tek.com and navigate to find contacts in your area. For warranty information, visit tek.com/warranty.
Q: What are the supported connection types for TSP-enabled instruments?
A: LAN, GPIB, and USB connections are supported. VISA driver is required for GPIB and USB connections.
Q: How can I ensure I have the latest version of Visual Studio Code before installing the extension?
A: Select Help > Check for Updates within Visual Studio Code.
Documente/Resurse
![]() |
Tektronix TSP Toolkit Software [pdfGhid de utilizare 077-1878-01, TSP Toolkit Software, Software |
