![background image](http://html2.mh-extra.com/html/keithley/2520/2520_quick-reference-manual_4000673024.webp)
Quick Reference Guide
15
Programming example
Table 4
shows a typical command sequence for basic laser diode testing. This program-
ming example sets up the current and voltage sources, the measurement functions, and
triggers and acquires one set of voltage and current readings.
Table 4
Basic laser diode test programming example
Step
Action
Commands
1.2
Comments
1
2
3
4
5
6
7
Configure laser diode measure.
Configure detector measure.
Configure laser source.
Configure detector bias sources.
Turn on outputs.
Trigger and read data.
Turn off outputs.
*RST
:SENS1:VOLT:RANG 10
:SENS1:VOLT:POL POS
:SENS2:CURR:POL NEG
:SENS3:CURR:POL NEG
:SOUR1:CURR:RANG 0.5
:SOUR1:CURR 0.5
:SOUR1:VOLT:PROT 5
:SOUR1:CURR:POL POS
:SOUR1:FUNC PULS
:SOUR1:PULS:DEL 200e-6
:SOUR1:PULS:WIDT 10e-6
:SOUR1:CURR:LOW 10e-3
:SOUR2:VOLT 20
:SOUR3:VOLT 10
:OUTP1 ON
:READ?
:OUTP1 OFF
Restore GPIB defaults.
LD measure range = 10V.
LD positive polarity.
Det. #1 negative polarity.
Det. #2 negative polarity.
0.5A LD source range.
LD source output = 0.5A.
5V LD source voltage limit.
LD source positive polarity.
LD source pulse mode.
200
µ
sec pulse delay.
10
µ
sec pulse width.
10mA low current pulse.
Det. #1 source output = 20V.
Det. #2 source output = 10V.
All source outputs on.
Get detector readings.
Outputs off after measuring.
1
Commands must be sent in order given.
2
Instrument must be addressed to talk after :READ?, to acquire data.