(12) CALCulate command (Calculation setting and querying)

 

(1) Sets and queries waveform parameter calculation.

Common

 

Syntax

 

 

command

query

 

:CALCulate:MEASure A$

:CALCulate:MEASure?

response

 

A$

A$ = OFF, ON, EXEC (execute)

 

 

Explanation

 

 

Sets the waveform parameter calculation.

Returns the current setting of the waveform parameter calculation as character data.

Only valid when execution (EXEC) is enabled.

 

 

Example

 

 

:CALCulate:MEASure ON

Sets the waveform parameter calculation to ON.

 

 

When allowed

 

 

In MEM.

 

 

(2) Sets and queries printing calculation results.

Except 8720

 

Syntax

 

 

command

query

 

:CALCulate:MEASPrint A$

:CALCulate:MEASPrint?

response

 

A$

A$ = OFF, ON

 

 

Explanation

 

 

Sets printing waveform parameter calculation results.

Returns the setting for printing waveform parameter calculation results as character data.

 

 

Example

 

 

:CALCulate:MEASPrint ON

Sets printing waveform parameter calculation results to ON.

 

 

When allowed

 

 

In MEM.

 

 

(3) Sets and queries storing a calculation result.

Common

 

Syntax

 

 

command

query

 

:CALCulate:MEASFsave A$

:CALCulate:MEASFsave?

response

 

A$

A$ = OFF, FD, PC (8835, 8835-01)

      = OFF, FD, PC, SCSI, MO (8826, 8841, 8842, 8720)

 

 

Explanation

 

 

Sets the store destination of a waveform parameter calculation result.

Returns the current store destination of a waveform parameter calculation result as character data.

 

 

Example

 

 

:CALCulate:MEASFsave FD

Saves a calculation result on a floppy disk.

 

 

When allowed

 

 

In MEM.

 

 

(4) Sets and queries waveform parameter calculations.

Common

 

Syntax

 

 

command

 

query

 

:CALCulate:MEASSet NO$,A$,ch$

:CALCulate:MEASSet NO$,A$,ch1$,ch2$ (XYAREA: 8826, 8841, 8842)

:CALCulate:MEASSet?

response

 

A$,ch$

A$,ch1$,ch2$(XYAREA: 8826, 8841, 8842)

NO$ = NO1 to NO4

A$ = OFF

         AVE : average value (except 8720)

         RMS : effective value (except 8720)

         PP : peak value

         MAX : maximum value

         MAXT : time to maximum value

         MIN : minimum value

         MINT : time to minimum value

         PERI : period (except 8720)

         FREQ : frequency (except 8720)

         RISE : rise time (except 8720)

         FALL : fall time (except 8720)

         STD : standard deviation (except 8720)

         AREA : area value (except 8720)

         XYAREA : X-Y area value (except 8720)

 

ch$, ch1$, ch2$ = CH1 to CH4, ALL (8835)

                               CH1 to CH8, ALL (8835-01)

                               CH1 to CH32, ALL (8826)

                               CH1 to CH16, ALL (8841, 8842, 8720)

                                (when A$ is set to other than OFF)

 

 

Explanation

 

 

Sets the channel and the calculation item of the waveform parameter calculation designated by NO$.

Returns the channel and the calculation item of the waveform parameter calculation designated by NO$.

 

 

Example

 

 

:CALCulate:MEASSet NO1,MAX,CH1

Sets the calculation to be of the maximum value on channel 1 for the calculation NO1.

 

 

When allowed

 

 

In MEM.

 

 

(5) Queries result of waveform parameter calculation.

Common

 

Syntax

 

 

query

 

 

:CALCulate:ANSWer? NO$,ch$

:CALCulate:ANSWer? NO$ (XYAREA: 8826, 8841, 8842)

response

 

A$,B<NR3>

NO$ = NO1 to NO4

A$ = OFF, AVE, RMS, PP, MAX, MAXT, MIN, MINT, AREA, PERI, FREQ, RISE, FALL, STD, XYAREA, NONE

B = calculation result (A$ = except NONE)

 

 

Explanation

 

 

Returns the calculation result for the waveform parameter calculation item and result specified by NO$ and ch$.

When A$ is "NONE", there is no calculation result.

 

 

Example

 

 

query         :CALCulate:ANSWer? NO1,CH1

response  :CALCulate:ANSWER MIN,-1.2345E-2  (HEADER ON)

Queries the calculation result of NO1 for the channel 1.

 

 

When allowed

 

 

In MEM.

 

 

(6) Enables and disables, and queries decision for waveform parameter calculation.

8835(A), 8835-01(A), 8826, 8841, 8842, 8720

 

Syntax

 

 

command

query

 

:CALCulate:COMP NO$,A$

:CALCulate:COMP? NO$

response

 

A$

NO$ = NO1 to NO4

A$ = OFF, ON

 

 

Explanation

 

 

Enables and disables the decision for the waveform parameter calculation.

Returns, as character data, the current enablement state of the decision for the waveform parameter calculation.

 

 

Example

 

 

:CALCulate:COMP NO1,ON

Sets the decision of the calculation result of NO1 to ON.

 

 

When allowed

 

 

In MEM.

 

 

(7) Sets and queries upper and lower limits for decision for waveform parameter calculation.

8835(A), 8835-01(A), 8826, 8841, 8842, 8720

 

Syntax

 

 

command

query

 

:CALCulate:COMPArea NO$,upper,lower

:CALCulate:COMPArea? NO$

response

 

upper<NR3>,lower<NR3>

NO$ = NO1 to NO4

upper, lower = -9.9999E+29 to +9.9999E+29

 

 

Explanation

 

 

Sets the upper limit and the lower limit for the decision for the waveform parameter calculation designated by NO$.

Returns the settings of the upper limit and the lower limit for the decision for the waveform parameter calculation designated by NO$ as NR3 numerical values.

 

 

Example

 

 

:CALCulate:COMPArea NO1,+1.000E+0,-1.000E+0

Sets the decision value for the waveform parameter calculation NO1 to be in the range -1.000E+0 < NO1 < +1.000E+0

 

 

When allowed

 

 

In MEM.

 

 

(8) Sets and queries the stop mode.

8835-01, 8826, 8841, 8842

 

Syntax

 

 

command

query

 

:CALCulate:COMPStop A$

:CALCulate:COMPStop?

response

 

A$

A$ = GO, NG, G_N

 

 

Explanation

 

 

Sets the stop condition for the judgement.

Returns the current setting of the stop condition as character data.

 

 

Example

 

 

:CALCulate:COMPStop NG

Sets the stop condition for the judgement to NG.

 

 

When allowed

 

 

In MEM.

 

 

(9) Queries the result of the judgemdnt.

8835-01, 8826, 8841, 8842

 

Syntax

 

 

query

 

:CALCulate:COMPJudge? NO$,ch$

response

 

A$

A$ = GO, NG, *

NO$ = NO1 to NO4

 

 

Explanation

 

 

Returns the result of the waveform parameter calculation designated by NO$ and ch$ as character data.

 

 

When allowed

 

 

In MEM.

 

 

(10) Sets and queries waveform processing calculation.

8835(A), 8835-01(A), 8826, 8841, 8842

 

Syntax

 

 

command

query

 

:CALCulate:WVCAlc

:CALCulate:WVCAlc?

response

 

A$

A$ = OFF, ON, EXEC (execute)

 

 

Explanation

 

 

Sets the waveform processing calculation.

Returns the current setting of the waveform processing calculation as character data.

Only valid when execution (EXEC) is enabled.

 

 

Example

 

 

:CALCulate:WVCAlc ON

Sets the waveform processing calculation to ON.

 

 

When allowed

 

 

In MEM.

 

 

(11) Sets and queries the waveform processing calculation equation.

8835(A), 8835-01(A), 8826, 8841, 8842

 

Syntax

 

 

command

query

 

:CALCulate:Z Z$,"A$"

:CALCulate:Z? Z$

response

 

Z$,"A$"

Z$ = Z1 to Z16

A$ = calculation equation (up to 80 characters, alphabets in small letter, operator in capital letter)

 

 

Explanation

 

 

Sets the waveform processing calculation equation.

Single quotation marks(f) can be used instead of double quotation marks (").

Returns the setting of the waveform processing calculation equation as character data.

 

 

Example

 

 

:CALCulate:Z Z1,"a+b-ABS(CH1)"

Sets up the calculation equation for Z1 to be Z1 = a+b+ABC(CH1)

 

 

When allowed

 

 

In MEM.

 

 

(12) Sets and queries coefficients a to p.

8835(A), 8835-01(A), 8826, 8841, 8842

 

Syntax

 

 

command

query

 

:CALCulate:FACTor A$,B

:CALCulate:FACTor? A$

response

 

A$,B<NR3>

A$ = A to P

B = -9.9999E+29 to +9.9999E+29

 

 

Explanation

 

 

Sets the one of the coefficients which is designated by A$.

Returns as an NR3 numerical value the current setting of that one of the coefficients which is designated by A$.

 

 

Example

 

 

:CALCulate:FACTor A,+1.234E+1

Sets the coefficient a to be equal to +1.234E+1.

 

 

When allowed

 

 

In MEM.

 

(13) Sets and queries the display channel for the calculated result.

8835(A), 8835-01(A), 8826, 8841, 8842

 

Syntax

 

 

command

query

 

:CALCulate:ZDIsplay Z$,ch$,A$

:CALCulate:ZDIsplay? Z$

response

 

Z$,ch$(,A$)

Z$ = Z1 to Z16

ch$ = CH1 to CH32, NONE

A$ = MANUal, AUTO (when ch$ is set to CH1 to CH32)

 

 

Explanation

 

 

Displays the calculated result of the calculation equation for Z$ on the channel designated by ch$.

When A$ is MANUal, displays within upper and lower limits on the variable screen. (When scaling, displays in its unit.)

Returns the currently set display channel of the calculated result of the calculation equation for Z$ .

 

 

Example

 

 

:CALCulate:ZDIsplay Z1,ch1,MANUal

Displays the calculated result of the waveform processing calculation equation for Z1 on channel 1. Displays the range between upper and lower limits for the channel 1 on the variable screen.

 

 

When allowed

 

 

In MEM.

 

 

(14) Sets the moving averaging.

8835(A), 8835-01(A), 8826, 8841, 8842

 

Syntax

 

 

command

query

 

:CALCulate:MOVE Z$,A

:CALCulate:MOVE? Z$

response

 

Z$,A<NR1>

Z$ = Z1 to Z16

A = 0 to 4000 <NR1>

 

 

Explanation

 

 

Sets the moving averaging for the calculation designated by Z$.

Returns as an <NR1> numerical value the current setting of the value of the moving averaging for the calculation designated by Z$.

 

 

Example

 

 

:CALCulate:MOVE Z1,200

Sets the moving averaging of Z1 equation to 200.

 

 

When allowed

 

 

In MEM.

 

 

(15) Sets the parallel movement.

8835(A), 8835-01(A), 8826, 8841, 8842

 

Syntax

 

 

command

query

 

:CALCulate:SLIDe Z$,A

:CALCulate:SLIDe? Z$

response

 

Z$,A<NR1>

Z$ = Z1 to Z16

A = -4000 to 4000 <NR1>

 

 

Explanation

 

 

Sets the parallel movement for the calculation designated by Z$.

Returns as an <NR1> numerical value the current setting of the value of the parallel movement for the calculation designated by Z$.

 

 

Example

 

 

:CALCulate:SLIDe Z1,200

Sets the parallel movement of Z1 equation to 200.

 

 

When allowed

 

 

In MEM.