Tektronix KEITHLEY SourceMeter 2606B Reference Manual page 13

Table of Contents

Advertisement

Table of contents
TSP-Link ............................................................................................................................... 13-17
TSP-Net ................................................................................................................................ 13-18
Userstrings ............................................................................................................................ 13-18
Factory scripts .................................................................................................................. 13-19
Running a factory script ........................................................................................................ 13-19
Retrieving and modifying a factory script listing .................................................................... 13-20
KISweep factory script .......................................................................................................... 13-20
KIPulse factory script ............................................................................................................ 13-20
KIHighC factory script ........................................................................................................... 13-22
KIParlib factory script ............................................................................................................ 13-22
KISavebuffer factory script .................................................................................................... 13-22
Instrument programming ....................................................................................... 14-1
Fundamentals of scripting for TSP ..................................................................................... 14-1
What is a script? ...................................................................................................................... 14-2
Runtime and nonvolatile memory storage of scripts ................................................................ 14-2
What can be included in scripts? ............................................................................................. 14-2
Commands that cannot be used in scripts .............................................................................. 14-3
Manage scripts ........................................................................................................................ 14-3
Working with scripts in nonvolatile memory........................................................................... 14-10
Programming example: Interactive script .............................................................................. 14-13
Fundamentals of programming for TSP ........................................................................... 14-14
What is Lua? ......................................................................................................................... 14-14
Lua basics ............................................................................................................................. 14-14
Standard libraries .................................................................................................................. 14-28
Programming example: User script ....................................................................................... 14-32
Test Script Builder ............................................................................................................ 14-32
Installing the TSB software.................................................................................................... 14-32
Using Test Script Builder (TSB) ............................................................................................ 14-33
Project navigator ................................................................................................................... 14-34
Script editor ........................................................................................................................... 14-35
Outline view........................................................................................................................... 14-35
Programming interaction ....................................................................................................... 14-36
Password management ................................................................................................... 14-36
Setting the password from a command or web interface ...................................................... 14-36
Unlocking the remote interface .............................................................................................. 14-37
Resetting the password ......................................................................................................... 14-37
Working with TSB Embedded .......................................................................................... 14-38
Simplify the display ............................................................................................................... 14-38
Create a script using TSB Embedded ................................................................................... 14-39
Copy an existing script .......................................................................................................... 14-39
Run a script ........................................................................................................................... 14-39
Delete a script ....................................................................................................................... 14-40
Modify a script ....................................................................................................................... 14-40
Import a script from a computer ............................................................................................ 14-40
Export a script to a computer ................................................................................................ 14-41
Export a script to the instrument USB ................................................................................... 14-41
Reset the instrument using TSB Embedded ......................................................................... 14-41
Send individual instrument commands with TSB Embedded ................................................ 14-41
Advanced scripting for TSP ............................................................................................. 14-42
Global variables and the script.user.scripts table .................................................................. 14-42
Create a script using the script.new() command ................................................................... 14-43
Rename a script .................................................................................................................... 14-46
Retrieve a user script ............................................................................................................ 14-48
Delete user scripts from the instrument ................................................................................. 14-49
Model 2606B System SourceMeter® Instrument Reference Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the KEITHLEY SourceMeter 2606B and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents