EasyManuals Logo

Tektronix Keithley SourceMeter 2470 Reference Manual

Tektronix Keithley SourceMeter 2470
995 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #589 background imageLoading...
Page #589 background image
2470
High Voltage SourceMeter Instrument Reference Manual Section 13:
Introduction to TSP commands
2470-901-01 Rev. A / May 2019 13-3
Example 3: Set an attribute using a constant
format.data = format.REAL64
Using the constant REAL64 sets the print
format to double precision floating point
format.
Reading an attribute
To read an attribute, you can use the attribute as the parameter of a function or assign it to another
variable.
Example 1: Read an attribute using a function
print(display.lightstate)
Reads the status of the light state by passing
the attribute to the print function. If the
display light state is set to 50%, the output is:
display.STATE_LCD_50
Example 2: Read an attribute using a variable
light = display.lightstate
print(light)
This reads the light state by assigning the
attribute to a variable named light. If the
display light state is set to 25%, the output is:
display.STATE_LCD_25
Queries
Test Script Processor (TSP
®
) enabled instruments do not have inherent query commands. Like any
other scripting environment, the print() and printnumber() commands generate output in t
he
f
orm of response messages. Each print() command creates one response message.
Example
x = 10
print(x)
Example of an output response message:
10
Note that your output may be different if you
set your ASCII precision setting to a different
value.
USB flash drive path
You can use the file commands to open and close directories and files, write data, or to read a file on
an installed USB flash drive.
The root folder of the USB flash drive has the absolute path:
"/usb1/"

Table of Contents

Other manuals for Tektronix Keithley SourceMeter 2470

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tektronix Keithley SourceMeter 2470 and is the answer not in the manual?

Tektronix Keithley SourceMeter 2470 Specifications

General IconGeneral
BrandTektronix
ModelKeithley SourceMeter 2470
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals