Keithley 2601 User Manual page 45

Series 2600 system sourcemeter instruments
Hide thumbs Also See for 2601:
Table of Contents

Advertisement

Series 2600 System SourceMeter
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 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 2600
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 2600 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.
2600S-900-01 Rev. C / January 2008
®
Instruments User's Manual
Figure 2-9 on page
2-14.
value of 26.
®
(NI) VISA. The VISA resource is for an instrument at address 26 connected
Return to
Section Topics
Section 2: Remote Operation
2-13

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

26022612261126352636

Table of Contents