Model 2701 User’s Manual
Buffer
6-15
Programming example
The following command sequence stores 20 readings in the buffer and then calculates the
mean for those readings:
NOTE
The following example can be run from the KE2700 Instrument Driver using the
example named “BufStats” in Table G-1 of Appendix G.
' Store readings:
TRAC:CLE:AUTO ON
' Enable buffer auto-clear.
TRAC:POIN 20
' Set buffer size to 20.
TRAC:FEED SENS
' Select raw readings for storage.
TRAC:FEED:CONT NEXT
' Start storage process.
TRAC:DATA?
' Request all stored readings.
' Calculate mean:
CALC2:FORM MEAN
' Select mean calculation.
CALC2:STAT ON
' Enable mean calculation.
CALC2:IMM?
' Perform calculation and request result.
2701-900-01.book Page 15 Wednesday, August 3, 2011 9:43 AM
Содержание 2701
Страница 344: ...12 CommonCommands 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 352: ...13 SCPISignalOriented MeasurementCommands 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 366: ...15 SCPIReferenceTables 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 393: ...A Specifications 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 399: ...B Model7700ConnectionGuide 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 410: ...C StatusandErrorMessages 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 417: ...D SignalProcessing SequenceandDataFlow 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 430: ...E MeasurementConsiderations 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 450: ...G KE2700InstrumentDriver Examples 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...