EasyManua.ls Logo

Keithley 6485 - Programming examples

Keithley 6485
312 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
Loading...
E-2 Example Programs Model 6485 Picoammeter Instruction Manual
Programming examples
This section contains example programs (pseudo-code) to achieve speed specications
(for a specic example of a QuickBasic program using SRQ, see Figure G-2):
1000 readings/second into internal buffer
NOTE This program configures the Model 6485 to 0.01 PLC, digital filters off, front
panel off, auto-zero off, as well as takes and stores 2500 readings.
*RST ' Return 6485 to RST defaults.
TRIG:DEL 0 ' Set trigger delay to zero seconds
TRIG:COUNT 2500 ' Set trigger count to 2500
SENS:CURR:RANG:AUTO OFF ' Turn auto-range off
SENS:CURR:NPLC .01 ' Set integration rate to .01 PLC
SENS:CURR:RANG .002 ' Use 2mA range
SYST:ZCH OFF ' Turn zero check off
SYST:AZER:STAT OFF ' Turn auto-zero off
DISP:ENAB OFF ' Turn display off
*CLS ' Clear status model
TRAC:POIN 2500 ' Set buffer size to 2500
TRAC:CLE ' Clear buffer
TRAC:FEED:CONT NEXT ' Set storage control to start on next
' reading
STAT:MEAS:ENAB 512 ' Enable buffer full measurement event
*SRE 1 ' Enable SRQ on buffer full measurement
' event
*OPC? ' operation complete query
' (synchronize completion of commands)
read back result of *opc?
INIT ' start taking and storing readings
wait for GPIB SRQ line to go true
DISP:ENAB ON ' turn display back on
TRAC:DATA? ' Request data from buffer
read back result

Table of Contents

Other manuals for Keithley 6485

Related product manuals