E-2
Example Programs
Model 6485 Picoammeter Instruction Manual
Programming examples
This section contains example programs (pseudo-code) to achieve speed specifications
(for a specific example of a QuickBasic program using SRQ, see
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
Содержание 6485
Страница 1: ...Model 6485Picoammeter Instruction Manual A G R E A T E R M E A S U R E O F C O N F I D E N C E ...
Страница 20: ......
Страница 24: ......
Страница 44: ...1 20 Getting Started Model 6485 Picoammeter Instruction Manual ...
Страница 66: ...3 6 Measurements Model 6485 Picoammeter Instruction Manual ...
Страница 138: ...9 20 Remote Operation Model 6485 Picoammeter Instruction Manual ...
Страница 159: ...11 CommonCommands ...
Страница 164: ...11 6 Common Commands Model 6485 Picoammeter Instruction Manual ...
Страница 165: ...12 SCPISignalOriented MeasurementCommands ...
Страница 190: ...14 12 SCPI Reference Tables Model 6485 Picoammeter Instruction Manual ...
Страница 214: ...16 14 Calibration Model 6485 Instruction Manual ...
Страница 219: ...A Specifications ...
Страница 221: ...B StatusandErrorMessages ...
Страница 227: ...C GeneralMeasurement Considerations ...
Страница 233: ...D DDCEmulationCommands ...
Страница 247: ...E ExamplePrograms ...
Страница 250: ...E 4 Example Programs Model 6485 Picoammeter Instruction Manual ...
Страница 251: ...F IEEE 488BusOverview ...
Страница 266: ...F 16 IEEE 488 Bus Overview Model 6485 Picoammeter Instruction Manual ...
Страница 267: ...G IEEE 488andSCPI ConformanceInformation ...
Страница 311: ......