
F-4
Return to
6482-901-01 Rev. A / August 2012
Appendix F: Example Programs
Model 6482 Dual-Channel Picoammeter / Voltage Source Reference Manual
Linear sweep program
The program listing below performs a linear sweep as covered in
. This program sets up
the following operating modes:
•
Source and measure channel: channel 2
•
Source mode: sweep
•
Current range: 20 mA
•
Start voltage: 1 V
•
Stop voltage: 10 V
•
Step voltage: 1 V
•
Source delay: 100 ms
' Linear Sweep Program
*RST
' Restore GPIB defaults.
:FORM:ELEM CURR2
' Select channel 2 measure data.
:SENS2:CURR:RANG 20e-3
' Enable 20 mA measure range.
:SOUR2:VOLT:START 1
' 1 V Channel 2 start voltage.
:SOUR2:VOLT:STOP 10
' 10 V Channel 2 stop voltage.
:SOUR2:VOLT:STEP 1
' 1 V Channel 2 step voltage.
:SOUR2:VOLT:MODE SWE
' Select Channel 2 source sweep mode.
:SOUR2:SWE:RANG AUTO
' Channel 2 automatic source range mode.
:SOUR2:SWE:SPAC LIN
' Channel 2 linear sweep mode.
:TRIG:COUN 10
' Trigger count = sweep points.
:SOUR2:DEL 0.1
' Source delay = 0.1 s.
:OUTP2 ON
' Turn on channel 2 output.
:READ?
' Trigger and acquire readings.
' Read back result
:OUTP2 OFF
' Turn off channel 2 output.
Содержание 6482
Страница 3: ......
Страница 62: ...Section 4 Range Digits Speed and Filters In this section Topic Page Range and digits 4 2 Speed 4 4 Filters 4 6...
Страница 90: ...Section 7 Sweep Operation In this section Topic Page Sweep types 7 2 Configuring and running a sweep 7 5...
Страница 182: ...Section 14 Common Commands In this section Topic Page Command summary 14 2 Command reference 14 2...