Scpi Programming - Buffer - Keithley 2182 User Manual

Nanovoltmeter
Hide thumbs Also See for 2182:
Table of Contents

Advertisement

SCPI programming - buffer

Buffer commands are summarized in
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.
Table 6-1
SCPI commands - buffer
Commands
:TRACe
:CLEar
:FREE?
:POINts <n>
:FEED <name>
:CONTrol <name>
:DATA?
:CALCulate2
:FORMat <name>
:STATe <b>
:IMMediate
:IMMediate?
:DATA?
Note: SYSTem:PRESet and *RST have no effect on :TRACe commands.
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
Table 4-2
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
Description
TRACe Subsystem:
Clear readings from buffer.
Query bytes available and bytes in use.
Specify number of readings to store; 2 to 1024.
Select source of readings; SENSe, CALCulate, or NONE.
Select buffer control mode; NEVer or NEXT.
Read all readings in buffer.
CALCulate2 Subsystem:
Select buffer statistic; MINimum, MAXimum, MEAN,
SDEViation or NONE.
Enable or disable statistic calculation.
Recalculate raw input data in buffer.
Perform calculation and read result.
Read result of statistic calculation.
in
Section
4.
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. TRACe subsystem commands are used to
Section
Buffer
6-5
Default
See Note
NONE
OFF
12.

Advertisement

Table of Contents
loading

This manual is also suitable for:

2182a

Table of Contents