IEEE-488 Reference
4-65
Programming example
OUTPUT 716; “:trig:sour bus”
OUTPUT 716; “:calc:form mxb; stat on; kmat:mmf 1; mbf 50”
OUTPUT 716; “calc:imm”
First Program Message: Sets the measure control source for bus triggers. This places the instru-
ment in a non-continuous measurement mode. The last reading will remain displayed.
Second Program Message: Four commands in this message; the first selects the mX+b calcula-
tion, the second enables the calculation, the third sets the “m” factor to one, and the last com-
mand sets the “b” factor to 50. Notice that after these commands are executed, the displayed
reading will not change.
Third Program Message: Immediately updates the displayed reading to reflect the mX+b calcu-
lation. In this case, a value of 50 was added to the reading.
4.13.2
:
CALCulate2
This Calculate subsystem is used to configure and control CALC 2 operations on readings stored
in the buffer.
:FORMat <name>
:CALCulate2:FORMat <name> Specify CALC 2 format
Parameters
<name> = MEAN Mean value of readings in buffer
= SDEV Standard deviation of readings in buffer
= MAX Largest reading in buffer
= MIN Lowest reading in buffer
= PKPK Peak-to-peak value of readings in buffer
= NONE No calculation
Format
:calc2:form <name>
Defaults
Power-up Saved power-on setup
*RST NONE
:SYSTem:PRESet NONE
Query
:FORMat? Query programmed math format
Short-form format: :calc2:form?
Response message: MEAN, SDEV, MAX, MIN, PKPK or NONE
Description
This command is used to specify the format for the CALC 2 math calculation. The calculation
operations for CALC 2 use data stored in the buffer.
With NONE selected, no CALC 2 calculation will be performed. With one of the other formats
selected and CALC 2 enabled (see :STATe), the calculation will be performed every time the
:IMMediate or :IMMediate? command is executed.