EasyManua.ls Logo

Keithley 6482 - Page 339

Keithley 6482
350 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
F-4 Return to Section Topics 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 Section 7. 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.

Table of Contents

Related product manuals