
SCPI programming - buffer
Buffer commands are summarized in
. TRACe subsystem commands are used to
store and recall readings in the buffer, and CALCulate2 commands are used to obtain statistics
from the buffer data. Additional information on these commands is provided after the table.
TRACe subsystem
— The FEED command controls the source of the readings. With the
SENSe parameter selected, raw input readings are stored in the buffer. With the CALCulate
parameter selected, results of the mX+b or Percent (%) calculation are stored in the buffer.
Commands to control and configure the mX+b and Percent calculations are summarized in
FEED:CONTrol is used to control the storage process. NEXT starts the storage process and
NEVer stops it. After storage is completed, buffer control automatically returns to NEVer.
CALCulate2 subsystem
— After the selected statistic is enabled, IMMediate or IMMediate?
must be sent to calculate the statistic from the data in the buffer. The DATA? command does not
initiate a calculate operation. It simply returns the result of the last calculation. If new data is
stored in the buffer, you must again send the IMMediate or IMMediate? to recalculate the
statistic from that new data.
There is no SCPI command to obtain the Peak-to-Peak statistic. To get the Peak-to-Peak
statistic, your program will have to calculate it from the MAX and MIN statistics.
NOTE
Since CALC2:IMM and CALC2:IMM? are slow responding when performing the
standard deviation calculation on large buffers, *OPC or *OPC? should be used with
them. Details on *OPC and *OPC? are provided in
Table 6-1
SCPI commands - buffer
Commands
Description
Default
:TRACe
TRACe Subsystem:
See Note
:CLEar
Clear readings from buffer.
:FREE?
Query bytes available and bytes in use.
:POINts <n>
Specify number of readings to store; 2 to 1024.
:FEED <name>
Select source of readings; SENSe, CALCulate, or NONE.
:CONTrol <name>
Select buffer control mode; NEVer or NEXT.
:DATA?
Read all readings in buffer.
:CALCulate2
CALCulate2 Subsystem:
:FORMat <name>
Select buffer statistic; MINimum, MAXimum, MEAN,
SDEViation or NONE.
NONE
:STATe <b>
Enable or disable statistic calculation.
OFF
:IMMediate
Recalculate raw input data in buffer.
:IMMediate?
Perform calculation and read result.
:DATA?
Read result of statistic calculation.
Note
: SYSTem:PRESet and *RST have no effect on :TRACe commands.
Buffer
6-5
Содержание 2182
Страница 1: ...www tek com keithley Model 2182 2182A Nanovoltmeter User s Manual 2182A 900 01 Rev B May 2017...
Страница 18: ......
Страница 22: ......
Страница 23: ...1 Getting Started Getting Started...
Страница 41: ...2 VoltageandTemperature Measurements Voltageand Temperature Measurements...
Страница 68: ...2 28 Voltage and Temperature Measurements...
Страница 69: ...3 Range Digits Rate andFilter Range Digits Rate andFilter...
Страница 82: ...3 14 Range Digits Rate and Filter...
Страница 83: ...4 Relative mX b and Percent Relative mX b andPercent...
Страница 91: ...5 RatioandDelta Ratioand Delta...
Страница 117: ...6 Buffer Buffer...
Страница 123: ...7 Triggering Triggering...
Страница 140: ...7 18 Triggering...
Страница 141: ...8 Limits Limits...
Страница 149: ...9 SteppingandScanning Steppingand Scanning...
Страница 168: ...9 20 Stepping and Scanning...
Страница 169: ...10 AnalogOutput Analog Output...
Страница 175: ...11 RemoteOperation Remote Operation...
Страница 205: ...12 CommonCommands Common Commands...
Страница 221: ...13 SCPISignalOriented Measurement Commands SCPISignalOri entedMeasure ment Commands...
Страница 225: ...14 SCPIReferenceTables SCPIRefer enceTables...
Страница 239: ...15 AdditionalSCPI Commands Additional SCPICom mands...
Страница 260: ...15 22 Additional SCPI Commands...
Страница 261: ...A Specifications Specifications...
Страница 263: ...B Statusand ErrorMessages StatusandError Messages...
Страница 268: ...B 6 Status and Error Messages...
Страница 269: ...C Measurement Considerations Measurement Consider ations...
Страница 278: ...C 10 Measurement Considerations...
Страница 279: ...D Model182Emulation Commands Model182 EmulationCom mands...
Страница 284: ...D 6 Model 182 Emulation Commands...
Страница 285: ...E Example Programs ExamplePro grams...
Страница 293: ...F IEEE 488 BusOverview IEEE 488Bus Overview...
Страница 307: ...G IEEE 488andSCPI ConformanceInformation IEEE 488and SCPIConform anceInforma tion...
Страница 310: ...G 4 IEEE 488 and SCPI Conformance Information...
Страница 311: ...H Measurement Queries Measurement Queries...
Страница 316: ...H 6 Measurement Queries...
Страница 317: ...I Delta PulseDelta and DifferentialConductance Delta Pulse Deltaand Dif ferentialCon ductance...