![background image](http://html2.mh-extra.com/html/keithley/6487/6487_user-manual_3951658097.webp)
C-4
Example Programs
3000 readings into internal buffer
NOTE
Due to memory limitations, the maximum product of the trigger count times the
arm count is 2,048. Consequently, two triggers are required to completely fill the
buffer to its 3,000 reading maximum. See Section 7 of the Model 6487 Reference
Manual for triggering details.
*RST
' Return 6487 to RST defaults.
TRIG:DEL 0
' Set trigger delay to zero seconds.
TRIG:COUN 1500
' Set trigger count to 1500.
NPLC .01
' Set integration rate to .01 PLC.
RANG .002
' Use 2mA range.
SYST:ZCH OFF
' Turn zero check off.
*CLS
' Clear status model.
TRAC:POIN 3000
' Set buffer size to 3000.
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
' First trigger to store 1500 readings
' wait for reading storage complete.
INIT
' Take and store last 1500 readings
' wait for GPIB SRQ line to go true.
TRAC:DATA?
' Request data from buffer.
read back result
Summary of Contents for 6487
Page 13: ......
Page 15: ......
Page 35: ...1 20 Getting Started Model 6487 User s Manual...
Page 47: ...2 12 Connections Model 6487 User s Manual...
Page 61: ...3 14 Measurements and Sourcing Voltage Model 6487 User s Manual...
Page 85: ...7 8 Remote Operation and Commands Model 6487 User s Manual...
Page 86: ...A Specifications...
Page 88: ...B GeneralMeasurement Considerations...
Page 94: ...C ExamplePrograms...
Page 101: ......
Page 103: ......
Page 104: ......