EasyManuals Logo

Keithley 2450 User Manual

Keithley 2450
878 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 #277 background imageLoading...
Page #277 background image
Section
3: Functions and features Model 2450 Interactive SourceMeter® Instrument
Reference Manual
3-132 2450-901-01 Rev. B/September 2013
Example script
The following example demonstrates how to connect to a remote device that is not TSP
®
enabled,
and send and receive data from this device:
-- Disconnect all existing TSP-Net connections.
tspnet.reset()
-- Set tspnet timeout to 5 seconds.
tspnet.timeout = 5
-- Establish connection to another device with IP address 192.168.1.51
-- at port 1394.
id_instr = tspnet.connect("192.168.1.51", 1394, "*rst\r\n")
-- Print the device ID from connect string.
print("ID is: ", id_instr)
-- Set the termination character to CRLF. You must do this
-- for each connection after the connection has been made.
tspnet.termination(id_instr, tspnet.TERM_CRLF)
-- Send the command string to the connected device.
tspnet.write(id_instr, "*idn?" .. "\r\n")
-- Read the data available, then print it.
print("instrument write/read returns: ", tspnet.read(id_instr))
-- Disconnect all existing TSP-Net sessions.
tspnet.reset()
Remote instrument errors
If the Model 2450 is connected to a TSP-enabled instrument through TSP-Net, all errors that occur on
the remote instrument are transferred to the event log of the Model 2450. The Model 2450 indicates
events from the remote instrument by prefacing these events with “Remote Error.” For example, if the
remote instrument generates error code 4909, "Reading buffer not found within device," the Model
2450 generates the error string “Remote Error: (4909) Reading buffer not found within device.”
TSP-Net instrument commands: General device control
The following instrument commands provide general device control:
tspnet.clear() (on page 8-236
)
tspnet.connect() (on page 8-237)
tspnet.disconnect() (on page 8-238)
tspnet.execute() (on page 8-239)
tspnet.idn() (on page 8-240)
tspnet.read() (on page 8-241)
tspnet.readavailable() (on page 8-242)
tspnet.reset() (on page 8-243)
tspnet.termination() (on page 8-243)
tspnet.timeout (on page 8-244)
tspnet.write() (on page 8-248)

Table of Contents

Other manuals for Keithley 2450

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2450 and is the answer not in the manual?

Keithley 2450 Specifications

General IconGeneral
Model2450
CategorySourceMeter
Voltage Source Range±200 V
Current Source Range±1 A
DC Voltage200 V
DC Current1 A
Power Output20 W
Resolution6.5 digits
Display5-inch capacitive touchscreen
Operating Temperature0°C to 50°C
ConnectivityUSB, LAN, GPIB
Dimensions213 mm × 88 mm × 370 mm

Related product manuals