Quick Reference Guide
23
Programming examples
The command sequence for a linear staircase sweep is provided in
Table 9
, while
Table 10
lists commands for a custom sweep.
Table 9
Linear staircase sweep programming example
Command
Description
*RST
:FORM:ELEMVOLT1,CURR2,CURR3
:SENS1:VOLT:RANG 5
:SOUR1:CURR:RANG 0.5
:SOUR1:CURR:STAR 10e-3
:SOUR1:CURR:STOP 100e-3
:SOUR1:CURR:STEP 10e-3
:SOUR1:CURR:MODE SWE
:SOUR1:SWE:SPAC LIN
:SOUR2:VOLT 5
:SOUR3:VOLT 5
:OUTP1 ON
:READ?
:OUTP1 OFF
Restore GPIB default conditions.
Laser diode voltage, detector current data.
5V measure range.
500mA source range.
10mA start current.
100mA stop current.
10mA step current.
Select staircase sweep mode.
1
Select linear staircase sweep.
Detector 1 bias = 5V.
Detector 2 bias = 5V.
Turn on source outputs.
Trigger sweep, request data.
Turn off source outputs.
1
This command should normally be sent after START, STOP, and STEP to avoid delays caused by
rebuilding sweep when each command is sent.
Table 10
Custom sweep programming example
Command
Description
*RST
:FORM:ELEM VOLT1,CURR2,CURR3
:SOUR1:CURR:MODE LIST
:SOUR1:LIST:CURR 0.2, 0.1, 0.4, 0.3, 0.5
:SOUR1:LIST:DEL 7e-3, 4e-3, 2e-3, 8e-3,
1e-3
:SOUR1:LIST:WIDT 10e-6, 50e-6, 35e-6,
20e-6, 60e-6
:SOUR2:VOLT 5
:SOUR3:VOLT 5
:OUTP1 ON
:READ?
:OUTP1 OFF
Restore GPIB default conditions.
Laser diode voltage, detector current data.
Current list sweep mode.
Set current sweep points.
Set pulse delay sweep points.
Set pulse width sweep points.
Detector 1 bias = 5V.
Detector 2 bias = 5V.
Turn on source outputs.
Trigger sweep, request data.
Turn off source outputs.