EasyManuals Logo
Home>Keithley>Multimeter>3700A Series

Keithley 3700A Series Reference Manual

Keithley 3700A Series
936 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 #816 background imageLoading...
Page #816 background image
Series 3700A System Switch/Multimeter Reference Manual Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018 11-437
Details
This command sends a command string to the remote instrument. A termination is added to the
command string when it is sent to the remote instrument (tspnet.termination()). You can also
specify a format string, which causes the command to wait for a response from the remote
instrument. The Series 3700A decodes the response message according to the format specified in
the format string and returns the message as return values from the function (see tspnet.read()
for format specifiers).
When this command is sent to a TSP-enabled instrument, the Series 3700A suspends operation until
a timeout error is generated or until the instrument responds. The TSP prompt from the remote
instrument is read and discarded. The Series 3700A places any remotely generated errors into its
error queue. When the optional format string is not specified, this command is equivalent to
tspnet.write(), except that a termination is automatically added to the end of the command.
Example 1
tspnet.execute(instrumentID, "runScript()")
Command the remote device to run a script named runScript.
Example 2
tspnet.timeout = 5
id_instr = tspnet.connect("192.0.2.23", 23, "*rst\r\n")
tspnet.termination(id_instr, tspnet.TERM_CRLF)
tspnet.execute(id_instr, "*idn?")
print("tspnet.execute returns:", tspnet.read(id_instr))
Print the *idn? string from the remote device.
Also see
tspnet.connect() (on page 11-434)
tspnet.read() (on page 11-438)
tspnet.termination() (on page 11-440)
tspnet.write() (on page 11-445)
tspnet.idn()
This function retrieves the response of the remote device to *IDN?.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
idnString = tspnet.idn(connectionID)
idnString
The returned *IDN? string
connectionID
The connection ID returned from tspnet.connect()
Details
This function retrieves the response of the remote device to *IDN?.

Table of Contents

Other manuals for Keithley 3700A Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 3700A Series and is the answer not in the manual?

Keithley 3700A Series Specifications

General IconGeneral
BrandKeithley
Model3700A Series
CategoryMultimeter
LanguageEnglish

Related product manuals