Calculations (CALCulate)


Sets and queries the numerical calculation.

Syntax

(Command)

(Query)


:CALCulate:MEASure A$

:CALCulate:MEASure?

(Response)

A$

A$ = OFF, ON, EXEC

Details

Sets the numerical calculation.
Returns the current setting of the numerical calculation as character data.

OFF Disabled
ON Enabled
EXEC Execute numerical calculation

Example

:CALCulate:MEASure ON
:CALCulate:MEASure?
(Response)  :CALCULATE:MEASURE ON  (when headers are enabled)

Note

-

Usage
Conditions

A$=EXEC is valid only when the numerical calculation is set to ON.




Queries result of a numerical calculation.

Syntax

(Query)


:CALCulate:MEAS:ANSWer? no$,ch$

(Response)

no$,ch$,A<NR3> (5 decimal places)

no$ = NO1 to NO10
ch$ = , ,
A = calculation result

Details

Returns the calculation result for the numerical calculation number and channel specified by no$, ch$.

Example

:CALCulate:MEAS:ANSWer? NO1,CH1_1
(Response)  :CALCULATE:MEAS:ANSWER NO1,CH1_1,+1.23456E-03  (when headers are enabled)

Note

Returns A=NONE for the following conditions:
  •Numerical calculation is OFF
  •Numerical calculation item for the specified numerical calculation number is OFF
  •Calculation result does not exist or is not obtained

It is also possible to query using conventional commands. (:CALCulate:ANSWer? no$,ch$)

Usage
Conditions

-




Sets and queries the calculation area when performing manual numerical calculation.

Syntax

(Command)

(Query)


:CALCulate:MEAS:AREA A$

:CALCulate:MEAS:AREA?

(Response)

A$

A$ = ALL, AB, TOP_A, TOP_B, A_END, B_END

Details

Sets the calculation area when performing manual numerical calculation.
Returns the current setting of the calculation area when performing manual numerical calculation as character data.

ALL Whole waveform
TOP_A Waveform from the start to the A cursor
TOP_B Waveform from the start to the B cursor
A_END Waveform from the A cursor to end
B_END Waveform from the B cursor to end

Example

:CALCulate:MEAS:AREA ALL
:CALCulate:MEAS:AREA?
(Response)  :CALCULATE:MEAS:AREA ALL  (when headers are enabled)

Note

It is also possible to set and query using the following conventional commands.
:CALCulate:MEASArea A$ / :CALCulate:MEASArea?

Usage
Conditions

-




Sets and queries the calculation result display kind.

Syntax

(Command)

(Query)


:CALCulate:MEAS:DISP A$

:CALCulate:MEAS:DISP?

(Response)

A$

A$ = USUAL, SPLIT

Details

Sets the calculation result display kind.
Returns the current setting of the calculation result display kind as character data.

USUAL Usual
SPLIT Split

Example

:CALCulate:MEAS:DISP USUAL
:CALCulate:MEAS:DISP?
(Response)  :CALCULATE:MEAS:DISP USUAL  (when headers are enabled)

Note

It is also possible to set and query using the following conventional commands.
:CALCulate:MEASDisp A$ / :CALCulate:MEASDisp?

Usage
Conditions

-




Sets and queries the calculation file division.

Syntax

(Command)

(Query)


:CALCulate:MEAS:FILE A$

:CALCulate:MEAS:FILE?

(Response)

A$

A$ = OFF, ON

Details

Sets the calculation file division.
Returns the current setting of the calculation file division as character data.

OFF Single file
ON Individual calc

Example

:CALCulate:MEAS:FILE ON
:CALCulate:MEAS:FILE?
(Response)  :CALCULATE:MEAS:FILE ON  (when headers are enabled)

Note

It is also possible to set and query using the following conventional commands.
:CALCulate:MEASFile A$ / :CALCulate:MEASFile?

Usage
Conditions

-




Sets and queries the accumulation/integrations method.

Syntax

(Command)

(Query)


:CALCulate:MEAS:INTegra no$,A$

:CALCulate:MEAS:INTegra? no$

(Response)

no$,A$

no$ = NO1 to NO10
A$ = TOTAL, POSitive, NEGative, ABSolute

Details

Sets the accumulation/integrations method.
Returns the current accumulation/integrations method as character data.

TOTAL Add all values
POSitive Add only positive values
NEGative Add only negative values
ABSolute Add absolute values

Example

:CALCulate:MEAS:INTegra NO1,TOTAL
:CALCulate:MEAS:INTegra? NO1
(Response)  :CALCULATE:MEAS:INTEGRA NO1,TOTAL  (when headers are enabled)

Note

-

Usage
Conditions

Only the following types of calculation can be set.

Accumulation (ACC)
Integration (INT)




Sets and queries the time split calculation kind.

Syntax

(Command)

(Query)


:CALCulate:MEAS:KIND A$

:CALCulate:MEAS:KIND?

(Response)

A$

A$ = OFF, DIVide, ONTIME

Details

Sets the time split calculation kind.
Returns the current setting of the time split calculation kind as character data.

OFF No split
DIVide With split
ONTIME With split (Fix time)

Example

:CALCulate:MEAS:KIND DIVide
:CALCulate:MEAS:KIND?
(Response)  :CALCULATE:MEAS:KIND DIVIDE  (when headers are enabled)

Note

It is also possible to set and query using the following conventional commands.
:CALCulate:MEASKind A$ / :CALCulate:MEASKind?

Usage
Conditions

-




Sets and queries the split calculation division length.

Syntax

(Command)

(Query)


:CALCulate:MEAS:LEN day,hour,min

:CALCulate:MEAS:LEN?

(Response)

day<NR1>,hour<NR1>,min<NR1>

day = 0 to 30(day)
hour = 0 to 23(hour)
min = 0 to 59(min)

Details

Sets the split calculation division length to a numerical value.
Returns the currently set value of the split calculation division length as an NR1 numerical value.

Example

:CALCulate:MEAS:LEN 0,1,30
:CALCulate:MEAS:LEN?
(Response)  :CALCULATE:MEAS:LEN 0,1,30  (when headers are enabled)

Note

The setting of division length might be limited by a set value of interval.
It is also possible to set and query using the following conventional commands.
:CALCulate:MEASLen day,hour,min / :CALCulate:MEASLen?

Usage
Conditions

-




Sets and queries the thresholds for numerical calculation.

Syntax

(Command)

(Query)


:CALCulate:MEAS:LEVEl ch$,A

:CALCulate:MEAS:LEVEl? ch$

(Response)

ch$,A<NR3> (4 decimal places)

ch$ = , ,
A = -9.9999E+29 to +9.9999E+29

Details

Sets the thresholds for numerical calculation.
Returns the current setting of numerical calculation threshold as an NR3 numerical value.

Example

:CALCulate:MEAS:LEVEl CH1_1,0.123
:CALCulate:MEAS:LEVEl? CH1_1
(Response)  :CALCULATE:MEAS:LEVEl CH1_1,+1.2340E-01  (when headers are enabled)

Note

Only the following types of calculation can be set.

Usage ratio (OPE)
ON time (ONT)
OFF time (OFFT)
ON count (ONC)
OFF count (OFFC)

If you enter a value greater than the configurable limit, the maximum value is set.
If you enter a value less than the configurable lower limit, the minimum value is set.

Usage
Conditions

-




Sets and queries the reference time for time-division calculations.

Syntax

(Command)

(Query)


:CALCulate:MEAS:REG hour,min

:CALCulate:MEAS:REG?

(Response)

hour<NR1>,min<NR1>

hour = 0 to 23
min = 0 to 59

Details

Sets the separation time for time-separated calculation.
Returns the separation time setting for the current time separation operation.

Example

:CALCulate:MEAS:REG 1,30
:CALCulate:MEAS:REG?
(Response)  :CALCULATE:MEAS:REG 1,30  (when headers are enabled)

Note

It is also possible to set and query using the following conventional commands.
:CALCulate:MEASReg hour,min / :CALCulate:MEASReg?

Usage
Conditions

-




Sets and queries the numerical calculations item.

Syntax

(Command)

(Query)


:CALCulate:MEAS:SET no$,A$

:CALCulate:MEAS:SET? no$

(Response)

no$,A$

no$ = NO1 to NO10
A$ = OFF, AVE, PP, MAX, MIN, MAXT, MINT, ACC, INT, OPE, ONT, OFFT, ONC, OFFC

Details

Sets the calculation item of the numerical calculation designated by no$.
Returns the calculation item of the numerical calculation designated by no$ as character data.

OFF No calculation performed
AVE Average value
PP Peak-to-peak value
MAX Maximum value
MIN Minimum value
MAXT Time to maximum value
MINT Time to minimum value
ACC Accumulation
INT Integration
OPE Usage ratio
ONT ON time
OFFT OFF time
ONC ON count
OFFC OFF count

Example

:CALCulate:MEAS:SET NO1,AVE
:CALCulate:MEAS:SET? NO1
(Response)  :CALCULATE:MEAS:SET NO1,AVE  (when headers are enabled)

Note

It is also possible to set and query using the following conventional commands.
:CALCulate:MEASSet no$,A$ / :CALCulate:MEASSet? no$

Usage
Conditions

-




Sets and queries the calculation target channel.

Syntax

(Command)

(Query)


:CALCulate:MEAS:TARGet no$,ch$

:CALCulate:MEAS:TARGet? no$

(Response)

no$,ch$

no$ = NO1 to NO10
ch$ = ALL, , ,

Details

Sets the numerical calculation target channel designated by no$.
Returns the numerical calculation target channel designated by no$ as character data.

Example

:CALCulate:MEAS:TARGet NO1,CH1_1
:CALCulate:MEAS:TARGet? NO1
(Response)  :CALCULATE:MEAS:TARGET NO1,CH1_1  (when headers are enabled)

Note

-

Usage
Conditions

-




Sets and queries the time split calculation division time

Syntax

(Command)

(Query)


:CALCulate:MEAS:TIME A

:CALCulate:MEAS:TIME?

(Response)

A<NR1>

A = 1, 2, 5, 10, 15, 20, 30, 60, 120, 180, 240, 360, 480, 720, 1440 (unit is min)

Details

Sets the division time for time-separated operations.
Returns the split time of the current time-separated operation.

Example

:CALCulate:MEAS:TIME 1
:CALCulate:MEAS:TIME?
(Response)  :CALCULATE:MEAS:TIME 1  (when headers are enabled)

Note

If you specify a value that is not in the setting and there is a time longer than the value you are trying to set, it will be set to the nearest time.
It is also possible to set and query using the following conventional commands.
:CALCulate:MEASTime A / :CALCulate:MEASTime? A

Usage
Conditions

-




Sets and queries the wave calculation kind.

Syntax

(Command)

(Query)


:CALCulate:WAVE:KIND w$,A$

:CALCulate:WAVE:KIND? w$

(Response)

w$,A$

w$ =
A$ = OPE, SUM, AVE, MOV, INT

Details

Sets the wave calculation kind designated by w$.
Returns the wave calculation kind designated by w$ as character data.

OPE Four arithmetic
SUM Accumulation
AVE Simple average
MOV Moving average
INT Integration

Example

:CALCulate:WAVE:KIND W1,OPE
:CALCulate:WAVE:KIND? W1
(Response)  :CALCULATE:WAVE:KIND W1,OPE  (when headers are enabled)

Note

It is also possible to set and query using the following conventional commands.
:CALCulate:HTKINd w$,A$ / :CALCulate:HTKINd? w$

Usage
Conditions

-




Sets and queries the wave calculation unit.

Syntax

(Command)

(Query)


:CALCulate:WAVE:STR w$,"A$"

:CALCulate:WAVE:STR? w$

(Response)

w$,"A$"

w$ =
A$ = scaling unit (up to 7 characters)

Details

Sets the wave calculation unit for the channel designated by w$.
Returns the current wave calculation unit for the channel designated by w$ as character data.

Single quotation marks (') can be used instead of double quotation marks(").
Entry of the special characters is as follows.

PC

^2

^3

~u

~o

~e

~c

~+

~,

~;

^^

~~

LR8450
LR8450-01

2

3

μ

Ω

ε

°

±

'

"

ˆ

˜


Example

:CALCulate:WAVE:STR W1,"mA"
:CALCulate:WAVE:STR? W1
(Response)  :CALCULATE:WAVE:STR W1,"mA"  (when headers are enabled)

Note

Characters exceeding the maximum number of characters are not set.
It is also possible to set and query using the following conventional commands.
:CALCulate:WVSTR w$,"A$" / :CALCulate:WVSTR? w$

Usage
Conditions

-




Wave calculate : Sets and queries the four arithmetic coefficient.

Syntax

(Command)





(Query)


:CALCulate:WAVE:ARIThmetic:COEF:A w$,A (coefficient A)
:CALCulate:WAVE:ARIThmetic:COEF:B w$,A (coefficient B)
:CALCulate:WAVE:ARIThmetic:COEF:C w$,A (coefficient C)
:CALCulate:WAVE:ARIThmetic:COEF:D w$,A (coefficient D)
:CALCulate:WAVE:ARIThmetic:COEF:E w$,A (coefficient E)

:CALCulate:WAVE:ARIThmetic:COEF:A? w$ (coefficient A)
:CALCulate:WAVE:ARIThmetic:COEF:B? w$ (coefficient B)
:CALCulate:WAVE:ARIThmetic:COEF:C? w$ (coefficient C)
:CALCulate:WAVE:ARIThmetic:COEF:D? w$ (coefficient D)
:CALCulate:WAVE:ARIThmetic:COEF:E? w$ (coefficient E)

(Response)

w$,A<NR3> (4 decimal places)

w$ =
A = -9.9999E+29 to 9.9999E+29

Details

Sets the four arithmetic coefficient of the channel specified by w$.
Returns the four arithmetic coefficient of the channel specified by w$ as an NR3 number.

Example

:CALCulate:WAVE:ARIThmetic:COEF:A W1,1
:CALCulate:WAVE:ARIThmetic:COEF:A? W1
(Response)  :CALCULATE:WAVE:ARITHMETIC:COEF:A W1,+1.0000E+00  (when headers are enabled)

Note

It is also possible to set and query using the following conventional commands.
:CALCulate:WVCOE1 w$,A / :CALCulate:WVCOE1? w$ (coefficient A)
:CALCulate:WVCOE2 w$,A / :CALCulate:WVCOE2? w$ (coefficient B)
:CALCulate:WVCOE3 w$,A / :CALCulate:WVCOE3? w$ (coefficient E)

Usage
Conditions

-




Wave calculate : Sets and queries the four arithmetic operator.

Syntax

(Command)




(Query)


:CALCulate:WAVE:ARIThmetic:OPERator:A w$,A$ (Operator A)
:CALCulate:WAVE:ARIThmetic:OPERator:B w$,A$ (Operator B)
:CALCulate:WAVE:ARIThmetic:OPERator:C w$,A$ (Operator C)
:CALCulate:WAVE:ARIThmetic:OPERator:D w$,A$ (Operator D)

:CALCulate:WAVE:ARIThmetic:OPERator:A? w$ (Operator A)
:CALCulate:WAVE:ARIThmetic:OPERator:B? w$ (Operator B)
:CALCulate:WAVE:ARIThmetic:OPERator:C? w$ (Operator C)
:CALCulate:WAVE:ARIThmetic:OPERator:D? w$ (Operator D)

(Response)

w$,A$

w$ =
A$ = OFF, PLUS, MINUS, MULTI, DIV (Operator A, B, C)
A$ = OFF, PLUS, MINUS, MULTI, DIV, EXP (Operator D)

Details

Sets the four arithmetic operator of the channel specified by w$.
Returns the four arithmetic operator of the channel specified by w$ as character data.

Example

:CALCulate:WAVE:ARIThmetic:OPERator:A W1,PLUS
:CALCulate:WAVE:ARIThmetic:OPERator:A? W1
(Response)  :CALCULATE:WAVE:ARITHMETIC:OPERator:A W1,PLUS  (when headers are enabled)

Note

It is also possible to set and query using the following conventional commands.
:CALCulate:WVKINd w$,A$ / :CALCulate:WVKINd? w$ (Operator A)

Usage
Conditions

Operator B can be set if Operator A is not OFF.
Operator C can be set if operators A and B are not OFF.




Wave calculate : Sets and queries the moving average point.

Syntax

(Command)

(Query)


:CALCulate:WAVE:MOVe:POINt w$,A

:CALCulate:WAVE:MOVe:POINt? w$

(Response)

w$,A<NR1>

w$ =
A = 1 to 600 (point)

Details

Sets the moving average point of the channel specified by w$.
Returns the moving average point of the channel specified by w$ as an NR1 number.

Example

:CALCulate:WAVE:MOVe:POINt W1,10
:CALCulate:WAVE:MOVe:POINt? W1
(Response)  :CALCULATE:WAVE:MOVE:POINT W1,10  (when headers are enabled)

Note

It is also possible to set and query using the following conventional commands.
:CALCulate:HTMVPoint w$,A / :CALCulate:HTMVPoint? w$

Usage
Conditions

-




Wave calculate : Sets and queries the reset reference time for integral, simple average.

Syntax

(Command)

(Query)


:CALCulate:WAVE:RESet:BASE w$,hour,min

:CALCulate:WAVE:RESet:BASE? w$

(Response)

w$,hour<NR1>,min<NR1>

w$ =
hour = 0 to 23(hour)
min = 0 to 59(min)

Details

Sets the reset reference time of the channel specified by w$.
Returns the reset reference time of the channel specified by w$ as an NR1 number.

Example

:CALCulate:WAVE:RESet:BASE W1,0,0
:CALCulate:WAVE:RESet:BASE? W1
(Response)  :CALCULATE:WAVE:MOVE:POINT W1,0,0  (when headers are enabled)

Note

It is also possible to set and query using the following conventional commands.
:CALCulate:HTBASE w$,hour,min / :CALCulate:HTBASE? w$

Usage
Conditions

-




Wave calculate : Sets and queries the reset interval for integral, simple average.

Syntax

(Command)

(Query)


:CALCulate:WAVE:RESet:INT w$,day,hour,min

:CALCulate:WAVE:RESet:INT? w$

(Response)

w$,day<NR1>,hour<NR1>,min<NR1>

w$ =
day = 0 to 30(day)
hour = 0 to 23(hour)
min = 0 to 59(min)

Details

Sets the reset interval of the channel specified by w$.
Returns the reset interval of the channel specified by w$ as an NR1 number.

Example

:CALCulate:WAVE:RESet:INT W1,0,0,1
:CALCulate:WAVE:RESet:INT? W1
(Response)  :CALCULATE:WAVE:MOVE:INT W1,0,0,1  (when headers are enabled)

Note

It is also possible to set and query using the following conventional commands.
:CALCulate:HTINT w$,day,hour,min / :CALCulate:HTINT? w$

Usage
Conditions

-




Wave calculate : Sets and queries the reset timing for integral, simple average.

Syntax

(Command)

(Query)


:CALCulate:WAVE:RESet:KIND w$,A$

:CALCulate:WAVE:RESet:KIND? w$

(Response)

w$,A$

w$ =
A$ = OFF, TRIG

Details

Sets the reset timing of the channel specified by w$.
Returns the reset timing of the channel specified by w$ as character data.

OFF 
TRIG Trigger position

Example

:CALCulate:WAVE:RESet:KIND W1,OFF
:CALCulate:WAVE:RESet:KIND? W1
(Response)  :CALCULATE:WAVE:MOVE:KIND W1,OFF  (when headers are enabled)

Note

It is also possible to set and query using the following conventional commands.
:CALCulate:HTRESet w$,A$ / :CALCulate:HTRESet? w$

Usage
Conditions

-




Wave calculate : Sets and queries the reset time for integral, simple average.

Syntax

(Command)

(Query)


:CALCulate:WAVE:RESet:TIME w$,A$

:CALCulate:WAVE:RESet:TIME? w$

(Response)

w$,A$

w$ =
A$ = OFF, ON, ONTIME

Details

Sets the reset time of the channel specified by w$.
Returns the reset time of the channel specified by w$ as character data.

OFF No split
ON With split
ONTIME With split (Fix time)

Example

:CALCulate:WAVE:RESet:TIME W1,OFF
:CALCulate:WAVE:RESet:TIME? W1
(Response)  :CALCULATE:WAVE:MOVE:TIME W1,OFF  (when headers are enabled)

Note

It is also possible to set and query using the following conventional commands.
:CALCulate:HTRSTTime w$,A$ / :CALCulate:HTRSTTime? w$

Usage
Conditions

-




Sets and queries the wave calculation source.

Syntax

(Command)




(Query)


:CALCulate:WAVE:SOURce:SR1 w$,ch$ (Source A)
:CALCulate:WAVE:SOURce:SR2 w$,ch$ (Source B)
:CALCulate:WAVE:SOURce:SR3 w$,ch$ (Source C)
:CALCulate:WAVE:SOURce:SR4 w$,ch$ (Source D)

:CALCulate:WAVE:SOURce:SR1? w$ (Source A)
:CALCulate:WAVE:SOURce:SR2? w$ (Source B)
:CALCulate:WAVE:SOURce:SR3? w$ (Source C)
:CALCulate:WAVE:SOURce:SR4? w$ (Source D)

(Response)

w$,ch$

w$ =
ch$ = , ,

Details

Sets the wave calculation source of the channel specified by w$.
Returns the wave calculation source of the channel specified by w$ as character data.

Example

:CALCulate:WAVE:SOURce:SR1 W1,CH1_1
:CALCulate:WAVE:SOURce:SR1? W1
(Response)  :CALCULATE:WAVE:SOURCE:SR1 W1,CH1_1  (when headers are enabled)

Note

It is also possible to set and query using the following conventional commands.
:CALCulate:WVSRC1 w$,ch$ / :CALCulate:WVSRC1? w$ (Source A)
:CALCulate:WVSRC2 w$,ch$ / :CALCulate:WVSRC2? w$ (Source B)

Usage
Conditions

-




Sets and queries the XY Synthesis area.

Syntax

(Command)

(Query)


:CALCulate:XY:AREA A$

:CALCulate:XY:AREA?

(Response)

A$

A$ = ALL, AB

Details

Sets the XY Synthesis area.
Returns the current setting of the XY Synthesis area.

ALL Whole waveform
AB Waveform from Acursor to B cursor

Example

:CALCulate:XY:AREA ALL
:CALCulate:XY:AREA?
(Response)  :CALCULATE:XY:AREA ALL  (when headers are enabled)

Note

-

Usage
Conditions

-




Sets and queries the XY Synthesis interpolation.

Syntax

(Command)

(Query)


:CALCulate:XY:INTerpolation A$

:CALCulate:XY:INTerpolation?

(Response)

A$

A$ = DOT, LINE

Details

Sets the XY Synthesis interpolation.
Returns the current setting of the XY Synthesis interpolation.


Example

:CALCulate:XY:INTerpolation DOT
:CALCulate:XY:INTerpolation?
(Response)  :CALCULATE:XY:INTERPOLATION DOT  (when headers are enabled)

Note

-

Usage
Conditions

-




Sets and queries the XY Synthesis.

Syntax

(Command)

(Query)


:CALCulate:XY:SYNThesis A$

:CALCulate:XY:SYNThesis?

(Response)

A$

A$ = OFF, ON, REDRAW

Details

Sets the XY Synthesis.
Returns the current setting of the XY Synthesis.

OFF Disabled
ON Enabled
REDRAW Execute Redraw

Example

:CALCulate:XY:SYNThesis OFF
:CALCulate:XY:SYNThesis?
(Response)  :CALCULATE:XY:SYNTHESIS OFF  (when headers are enabled)

Note

-

Usage
Conditions

A$=REDRAW is valid only when the XY Synthesisis set to ON.