
2600S-900-01 Rev. C / January 2008
Return to
2-13
Series 2600 System SourceMeter
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 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
value of 26.
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
®
(NI) VISA. The VISA resource is for an instrument at address 26 connected
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.