
:IMMediate
:CALCulate2:IMMediate
Perform CALC2
Query
:IMMediate?
Perform calculation and read result (equivalent to
:CALCulate2:IMMediate; DATA?)
Description
The :IMMediate command is used to perform the selected CALC2 operation
on the readings in the buffer (assuming CALC2 is enabled; see :STATe). Af-
ter performing the calculation, the result can be read by using the
:CALCulate2:DATA? query command.
Another way to perform the calculation and read the result is to use the query
form of the command (:IMMediate?). When this command is sent, the cal-
culation is performed and the result is queried.
Program
This example assumes that there are readings stored in the buffer and that
CALC2 is enabled:
PRINT #1, “output 02; :calc2:form max” ‘ Select format
PRINT #1, “output 02; :calc2:imm?”
‘ Perform math and query result
PRINT #1, “enter 02”
‘ Get response from 2000
:DATA?
:CALCulate2:DATA?
Read CALC2 result
Description
This query command is used to read the result of the CALC2 calculation. If
CALC2 is disabled or NONE is selected, the “raw” reading will be read.
SCPI Command Reference
5-23
Summary of Contents for 2000
Page 1: ...Model 2000Multimeter User s Manual A G R E A T E R M E A S U R E O F C O N F I D E N C E...
Page 13: ...1 General Information...
Page 19: ...2 Basic Measurements...
Page 54: ...2 36 Basic Measurements...
Page 55: ...3 Measurement Options...
Page 87: ...4 Remote Operation...
Page 139: ...5 SCPI CommandReference...
Page 215: ...A Specifications...
Page 226: ...A 12 Specifications...
Page 227: ...B Statusand ErrorMessages...
Page 233: ...C Example Programs...
Page 246: ...C 14 Example Programs...
Page 247: ...D Models196 199and 8840A 8842ACommands...
Page 255: ...E IEEE 488 BusOverview...