Model 6485 Picoammeter Instruction Manual Example Programs E-3
900 readings/second to IEEE-488 bus
This program uses multiple reading queries to get high speed measurements over the bus
in real time. To improve continuity of readings, reduce the trigger count. To improve
throughput, increase the trigger count.
NOTE This program configures the Model 6485 to 0.01 PLC, digital filters off, front
panel off, auto-zero off, binary transfer, and IEEE-488.1 (language).
Model 6485 must be set to IEEE-488.1 operation from the front panel, see
page G-4.
*RST ' Return 6485 to RST defaults.
FORM:ELEM READ ' Return readings only
FORM:BORD SWAP ' Set for swapped byte order
FORM:DATA SRE ' Return single precision floating
' point binary
TRIG:DEL 0 ' Set trigger delay to zero seconds
TRIG:COUNT 8 ' Set trigger count to 8
SENS:CURR:NPLC .01 ' Set integration rate to .01 PLC
SENS:CURR:RANG .002 ' Use 2mA range
SENS:CURR:RANG:AUTO OFF ' Turn auto-range off
SYST:ZCH OFF ' Turn zero check off
SYST:AZER:STAT OFF ' Turn auto-zero off
DISP:ENAB OFF ' Turn display off
*OPC? ' Operation complete query (synchro
' nize completion of commands)
read back result of *opc?
for i = 1 to 1000
"talk" the Model 6485. ' In 488.1 mode this will
' automatically do a READ?
' (see “Trigger-on-talk,” page G-7)
read back the binary data
next i
DISP:ENAB ON ' Turn display back on