High Voltage SourceMeter Instrument Reference Manual Section 13:
Introduction to TSP commands
2470-901-01 Rev. A / May 2019 13-41
To run the last used run configuration, click the Run icon in the main TSB toolbar. To run a
different run configuration, right-click in the script editor area and select Run As > Run
Configurations. Select a different run configuration, and then click Run in the Run Configurations
dialog box.
Suggestions for increasing the available memory
If the amount of memory used is over 95 percent, or if you receive out-of-memory event messages,
you should reduce the amount of memory that is used.
Some suggestions for increasing the available memory:
• Turn the instrument off and on. This deletes scripts that have not been saved and reloads only
scripts that have been stored in nonvolatile memory.
• Consider removing unused reading buffers.
• Consider resizing reading buffers to a smaller size.
• Reduce the number of TSP-Link
®
nodes.
• Delete unneeded global variables from the run-time environment by setting them to nil.
• Adjust the collectgarbage() settings in Lua. See Lua memory management (on page 13-28)
for more information.
• Review scripts to improve their memory usage. In particular, you can see memory gains by
changing string concatenation lines into a Lua table of string entries. You can then use t
he
tabl
e.concat() function to create the final string concatenation.
About TSP Commands
This section contains an overview of the TSP commands for the instrument. The commands are
organized into groups, with a brief description of each group. Each section contains links to the
detailed descriptions for each command in the TSP command reference section of this documentation
(see TSP commands (on page 14-8
)).
Beeper control
The beeper command allows you to sound the instrument beeper:
beeper.beep() (on page 14-8
)