Keithley 2601A User Manual page 52

2600a series system sourcemeter
Table of Contents

Advertisement

Section 2: Remote Operation
5.
Enable source autorange.
6.
Set source level to 5V.
7.
Set current compliance to 100mA.
8.
Set current measurement range to 100mA.
9.
Set integration time to 1PLC.
10.
Turn on SMU A output.
11.
Measure the current and put reading in instrument output queue. This step is similar to
using a SCPI "READ?" query to take a single reading.
12.
Turn off SMU A output.
Command sequence
The commands that implement the pseudocode are listed below. The syntax for the "send" and
"enter" commands is designed for a Keithley Instruments GPIB card. To use a Keithley Instruments
GPIB card in Visual Basic, you must include the "ieeevb.bas" module in your project. This module
is included on the CD that comes with your GPIB card.
When you click the Run with GPIB button on the GUI, the commands are sent to the Series
2600A and executed. The single reading returned by these commands is displayed in the Data
text box as shown in
NOTE Addr% is the GPIB address of the instrument and is assigned the
Call send(Addr%, "localnode.prompts = 0", intStatus)
Call send(Addr%, "reset()", intStatus)
Call send(Addr%, "display.screen = display.SMUA", intStatus)
Call send(Addr%, "display.smua.measure.func = display.MEASURE_DCAMPS",
intStatus)
Call send(Addr%, "smua.source.func = smua.OUTPUT_DCVOLTS", intStatus)
Call send(Addr%, "smua.source.autorangev = smua.AUTORANGE_ON", intStatus)
Call send(Addr%, "smua.source.levelv = 5", intStatus)
Call send(Addr%, "smua.source.limiti = 0.1", intStatus)
Call send(Addr%, "smua.measure.rangei = 0.1", intStatus)
Call send(Addr%, "smua.measure.nplc = 1", intStatus)
Call send(Addr%, "smua.source.output = smua.OUTPUT_ON", intStatus)
Call send(Addr%, "print(smua.measure.i())", intStatus)
Call send(Addr%, "smua.source.output = smua.OUTPUT_OFF", intStatus)
Call enter(strBuffer, 256, intNbytes, Addr%, intStatus)
txtData.Text = strBuffer
Using VISA
Clicking on the "Run with VISA" button will send the same commands to the Series 2600A using
National Instruments
to GPIB interface #1. Once again, a Keithley Instruments GPIB card was used for this example.
However, VISA allows the same code to be used with GPIB cards made by other manufacturers,
or with altogether different interfaces such as the RS-232 or the Ethernet.
2-20
Figure
2-13.
value of 26.
®
(NI) VISA. The VISA resource is for an instrument at address 26 connected
Return to
Section Topics
Series 2600A System SourceMeter® Instruments User's Manual
2600AS-900-01 Rev. B / September 2008

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

2635a2602a2611a2612a2636a

Table of Contents