![background image](http://html2.mh-extra.com/html/keithley/6487/6487_user-manual_3951658096.webp)
Example Programs
C-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 6487 to 0.01 PLC, digital filters off, front
panel off, auto-zero off, binary transfer, and IEEE-488.1 (language).
Model 6487 must be set to IEEE-488.1 operation from the front panel. Press
CONFIG then COMM, select LANG: 488.1, then press ENTER. See reference
manual for details.
*RST
' Return 6487 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:COUN 8
' Set trigger count to 8.
NPLC .01
' Set integration rate to .01 PLC.
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.
*OPC?
' Operation complete query
' (synchronize completion of commands).
read back result of *opc?
for i = 1 to 1000
"talk" the Model 6487.
' In 488.1 mode this will
' automatically do a READ?
' (see Reference manual).
read back the binary data
next i
DISP:ENAB ON
' Turn display back on.
Содержание 6487
Страница 13: ......
Страница 15: ......
Страница 35: ...1 20 Getting Started Model 6487 User s Manual...
Страница 47: ...2 12 Connections Model 6487 User s Manual...
Страница 61: ...3 14 Measurements and Sourcing Voltage Model 6487 User s Manual...
Страница 85: ...7 8 Remote Operation and Commands Model 6487 User s Manual...
Страница 86: ...A Specifications...
Страница 88: ...B GeneralMeasurement Considerations...
Страница 94: ...C ExamplePrograms...
Страница 101: ......
Страница 103: ......
Страница 104: ......