EasyManuals Logo
Home>Keithley>Measuring Instruments>2500

Keithley 2500 User Manual

Keithley 2500
428 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 #415 background imageLoading...
Page #415 background image
H-4 Example Programs Models 2500 and 2502 User’s Manual
Photodiode measurement program
The program listing below performs photodiode measurements as covered in Section 4.
This program sets up the following operating modes:
Channel 1 measurement: current measurement, auto range
Channel 2 measurement: optical power, R = 1, D = 0.
Channel 2 MX + B units: M = 8.33333, B = 0.
Channel 1 source: 10V range, +10V amplitude
Channel 2 source: 100V, +20V amplitude
' Photodiode Measurement Program
OPEN "IEEE" FOR OUTPUT AS #1 ' Open IEEE-488 output path.
OPEN "IEEE" FOR INPUT AS #2 ' Open IEEE-488 input path.
PRINT #1, "INTERM CRLF" ' Set input terminator.
PRINT #1, "OUTTERM LF" ' Set output terminator.
PRINT #1, "REMOTE 25"
CLS
PRINT #1, "OUTPUT 25;*RST" ' Restore GPIB defaults.
PRINT #1, "OUTPUT 25;:FORM:ELEM CURR1" ' Select channel 1 for READ?.
PRINT #1, "OUTPUT 25;:CALC2:FORM OP2" ' Select optical power.
PRINT #1, "OUTPUT 25;:CALC2:KMAT:RESP 1"' R = 1.
PRINT #1, "OUTPUT 25;:CALC2:KMAT:DC 0" ' D = 0.
PRINT #1, "OUTPUT 25;:SOUR1:VOLT:RANG 10"' Select 10V Ch. 1 source range.
PRINT #1, "OUTPUT 25;:SOUR1:VOLT 10" ' Output 10V on channel 1.
PRINT #1, "OUTPUT 25;:SOUR2:VOLT:RANG 100"' Select 100V Ch. 2 source range.
PRINT #1, "OUTPUT 25;:SOUR2:VOLT 20" ' Output 20V on channel 2.
PRINT #1, "OUTPUT 25;:OUTP1 ON" ' Turn on channel 1 output.
PRINT #1, "OUTPUT 25;:OUTP2 ON" ' Turn on channel 2 output.
PRINT #1, "OUTPUT 25;:SENS1:CURR:RANG:AUTO ON"' Ch. 1 auto measure range.
PRINT #1, "OUTPUT 25;:SENS2:CURR:RANG:AUTO ON"' Ch. 2 auto measure range.
PRINT #1, "OUTPUT 25;:READ?" ' Trigger and request Ch. 1 reading.
PRINT #1, "ENTER 25" ' Address 2500 to talk.
LINE INPUT #2, R$ ' Input Ch. 1 reading string.
PRINT "Channel 1 reading: "; R$ ' Print Ch 1 reading string.
PRINT #1, "OUTPUT 25;:CALC2:STAT ON" ' Enable Ch. 2 math.
PRINT #1, "OUTPUT 25;:INIT" ' Trigger Ch. 2 math reading.
PRINT #1, "OUTPUT 25;:CALC2:DATA?" ' Trigger request Ch. 2 math reading.
PRINT #1, "ENTER 25" ' Address 2500 to talk.
LINE INPUT #2, R$ ' Input Ch. 2 reading string.
PRINT "Channel 2 reading: "; R$ ' Print Ch 2 reading string.
PRINT #1, "OUTPUT 25;:OUTP1 OFF" ' Turn off channel 1 output.
PRINT #1, "OUTPUT 25;:OUTP2 OFF" ' Turn off channel 2 output.
END
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176
TestEquipmentDepot.com

Table of Contents

Other manuals for Keithley 2500

Questions and Answers:

Question and Answer IconNeed help?

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

Keithley 2500 Specifications

General IconGeneral
BrandKeithley
Model2500
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals