Information On Scripting And Programming; Files - Keithley 3700A Series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700A Series:
Table of Contents

Advertisement

Section 9: Introduction to TSP operation
For example, to print the channel images on this card when it is in slot 2 after a reset, send the
following:
reset()
print(channel.getimage("slot2"))
Output from above code:
2001;2002;2003;2004;2005;2006;2007;2008;2009;2010;2011;2012;2013;2014;2015;
2016;2017;2018;2019;2020;2021;2022;2023;2024;2025;2026;2027;2028;2029;2030;
2031;2032;2033;2034;2035;2036;2037;2038;2039;2040;2041;2042;2911;2912;2913;
2914;2915;2916;2921;2922;2923;2924;2925;2926;2917;2927;2928
The commonside ohms backplane relays (2917, 2927, and 2928) are listed based on bank location
(for more details about the Model 3721, see the Series 3700 Switch and Control Cards Reference
Manual).

Information on scripting and programming

If you need information about using scripts with your TSP-enabled instrument, see
scripting for TSP
If you need information about using the Lua programming language with the instrument, see
Fundamentals of programming for TSP

Files

File formats
Each script, reading buffer, and saved setup is represented on a flash drive as a separate file.
Directories on a flash drive used with the Series 3700A can only contain a limited number of files. The
top-level directory is limited to approximately 150 files, while subdirectories are limited to
approximately 500 files. Once the limit has been reached, a "file system full" error message is
generated.
Default file extensions
You must specify the full filename, including the extension, when sending commands. Note, however,
that the front panel automatically generates a generic filename that you can use as a base for naming
your files. Also, some commands (for example,
relative or absolute path to the current working directory.
The Series 3700A has the following set of default extensions:
.tsp (Test Script Processor) for scripts
.csv (comma-separated values) for reading buffers
.set for saved setups
9-4
(on page 10-1).
(on page 10-15).
Series 3700A System Switch/Multimeter Reference Manual
io.open()
(on page 11-255)) will work with either a
3700AS-901-01 Rev. D/June 2018
Fundamentals of

Advertisement

Table of Contents
loading

Table of Contents