![background image](http://html2.mh-extra.com/html/keithley/6487/6487_user-manual_3951658075.webp)
6-4
Buffer and Sweeps
SCPI programming — buffer
NOTE
When programming the buffer via remote, the trigger count set with the
TRIG:COUN command should normally equal the number of buffer readings to
store set with TRAC:POIN. See Section 7 of the Model 6487 Reference Manual
for details on triggering.
Programming example
The following command sequence stores 20 readings into the buffer and then calculates
the mean average on the buffer readings:
' Select data elements:
*RST
' Return 6487 to RST defaults.
FORM:ELEM READ,TIME
' Select reading and timestamp.
' Store and Recall Readings:
TRIG:COUN 20
' Set trigger model to take to 20
readings.
TRAC:POIN 20
' Set buffer size to 20.
TRAC:FEED SENS
' Store raw input readings.
TRAC:FEED:CONT NEXT
' Start storing readings.
SYST:ZCH OFF
' Turn off zero check.
INIT
' Trigger readings.
TRAC:DATA?
' Request all stored readings.
' Acquire Mean Statistic for Buffer Readings:
CALC3:FORM MEAN
' Select mean statistic.
CALC3:DATA?
' Request mean statistic.
Table 6-1
SCPI commands — buffer
Commands
Description
TRAC:CLE
TRAC:FREE?
TRAC:POIN <n>
TRAC:POIN:ACT?
TRAC:FEED <name>
TRAC:FEED:CONT <name>
TRAC:TST:FORM <name>
TRAC:DATA?
FORM:ELEM <list>
CALC3:FORM <name>
CALC3:DATA?
Clear readings from buffer.
Query bytes available and bytes in use.
Specify number of readings to store: 1 to 3000.
Returns number of readings actually stored in buffer.
Select source of readings for buffer: SENS, CALC1, or CALC2.
Select buffer control mode: NEV or NEXT.
Select timestamp format: ABS or DELT.
Read all readings in buffer.
Specify data elements for TRAC:DATA? response message:
READ, UNIT, VSO, TIME, and STAT.
Select buffer statistic: MIN, MAX, MEAN, SDEV, or PKPK.
Read the selected buffer statistic.
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: ......