CALCulate Commands (Set and Query Calculations)


Set or query an arithmetic operator


Syntax


(Command)
(Query)


:CALCulate:ACCOunt NO$,N1,A$,N2
:CALCulate:ACCOunt? NO$

(Response)

NO$,N1<NR1>,A$,N2<NR1>
NO$: NO1 to NO16
N1, N2: 1 to 16
A$: PLUS, MINUS, MULT, DIV


Details


Specifies an arithmetic operator for numerical calculation.
Returns the currently specified arithmetic operator.

PLUS  addition (+)
MINUS  subtraction (-)
MULT  multiplication (*)
DIV  division (/)


Example


:CALCulate:ACCOunt NO3,1,PLUS,2
:CALCUlate:ACCOunt? NO3
(Response)  :CALCULATE:ACCOUNT NO3,1,PLUS,2  (when headers are enabled)


Note


-


Usage
Conditions


MEM
CALC when the state of the numerical calculation is set to basic arithmetic.




Queries a calculation result(six significant figures)


Syntax


(Query)


:CALCulate:ANSWer? NO$

(Response)

NO$,A<NR3>
NO$ = NO1 to NO16
A$ = Calculation result. ********* (when no calculation result can be obtained)


Details


Returns the calculation operator and result of specified numerical calculation NO$.



Example


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


Note


-


Usage
Conditions


MEM




Query the average value over the specified range


Syntax


(Query)


:CALCulate:AVERage? CH$,Start,End(,NO$)

(Response)

B<NR3>
B = Calculation result or NONE(when no calculation result can be obtained)
CH$ = CH1 to
Start = Calculation start position (s)
End = Calculation end position (s)
NO$ = NO1 to NO16, MNO1 to MNO16


Details


Obtains the average value from Start assigned by CH$ to End and returns calculation result.
When NO$ is assigned, the average value will be obtained using the below values.

Calculation start position  Start + Calculation result of calculation NO$(s)
Calculation end position   End + Calculation result of calculation NO$(s)


Example


:CALCulate:AVERage? CH1,-0.0015,0.002
(Obtains the average value between -1.5ms to 2ms in CH1 triggering.)

(Response)  :CALCULATE:AVERAGE -1.23456E-03  (when headers are enabled)


Note


When the calculation result is not obtained, for example, due to the out of
range error of the specified range, B will be a character string (NONE).
When the specified time is located between the sample data collection
times, the calculation range will cover to the nearest data to the
specified time. The calculation once started cannot be aborted until end.

Results are stored as MNO1 to MNO16, When calculation is executed by ":CALCulate:MEASure MEMEXEC".


Usage
Conditions


MEM




Select or query area (interval) setting for waveform calculations


Syntax


(Command)
(Query)


:CALCulate:CALCArea A$
:CALCUlate:CALCArea?

(Response)

A$
A$ = ALL, A_B


Details


Selects whether waveform calculations apply to the whole waveform, or just to a specified portion (area).
Returns a text string indicating whether waveform calculations apply to the whole waveform or a specified portion (area).

ALL  Whole waveform
A_B  Waveform between A/B cursors


Example


:CALCulate:CALCArea ALL
:CALCulate:CALCArea?
(Response)  :CALCULATE:CALCAREA ALL  (when headers are enabled)


Note


-


Usage
Conditions


MEM




Set or query a calculation comparator state


Syntax


(Command)
(Query)


:CALCulate:COMP NO$,A$
:CALCulate:COMP? NO$

(Response)

NO$,A$
NO$ = NO1 to NO16
A$ = OFF, ON


Details


Enables or disables the calculation comparator (for judgment).
Returns the current on/off state of the calculation comparator as a text string.


Example


:CALCulate:COMP NO1,ON
(Sets the calculation comparator state of NO1 to ON.)

:CALCulate:COMP? NO1
(Response)  :CALCULATE:COMP NO1,ON  (when headers are enabled)


Note


-


Usage
Conditions


MEM




Set or query comparator thresholds for a numerical calculation


Syntax


(Command)
(Query)


:CALCulate:COMPArea NO$,A,B
:CALCulate:COMPArea? NO$

(Response)

NO$,A<NR3>,B<NR3>
NO$ = NO1 to NO16
A, B = -9.9999E+29 to +9.9999E+29


Details


Sets upper and lower comparator judgment thresholds for numerical calculation NO$.
Returns the current values of the upper and lower thresholds for numerical calculation NO$ as NR3 numerical values.

"A" is the upper threshold and "B" is the lower threshold.


Example


:CALCulate:COMPArea NO1,+1.0000E+00,-1.0000E+00
(Sets the comparison range for numerical calculation NO1 to -1.000E+00 to +1.000E+00.)

:CALCulate:COMPArea? NO1
(Response)  :CALCULATE:COMPAREA NO1,+1.0000E+00,-1.0000E+00  (when headers are enabled)


Note


-


Usage
Conditions


MEM




Set or query calculation comparator judgment to stop measurement


Syntax


(Command)
(Query)


:CALCulate:COMPStop A$
:CALCulate:COMPStop?

(Response)

A$
A$ = GO, NG, G_N


Details


Specifies the numerical calculation judgment criterion that will stop measurement.
Queries the judgment criterion currently specified to stop measurement.


Example


:CALCulate:COMPStop NG
(Measurement storage stops when the result of comparison of a numerical calculation is NG.)

:CALCulate:COMPStop?
(Response)  :CALCULATE:COMPSTOP NG  (when headers are enabled)


Note


-


Usage
Conditions


MEM




Queries a calculation result(nine significant figures)


Syntax


(Query)


:CALCulate:DANSwer? NO$

(Response)

NO$,A<NR3>
NO$ = NO1 to NO16
A$ = Calculation result. ********* (when no calculation result can be obtained)


Details


Returns the calculation operator and result of specified numerical calculation NO$.



Example


:CALCulate:DANSwer? NO1
(Response)  :CALCULATE:DANSWER NO1,-1.23456789E-03  (when headers are enabled)


Note


-


Usage
Conditions


MEM




Set or query waveform calculation factor (constant) A to P


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


Details


Assigns a value to waveform calculation constant A to P.
Returns the value currently assigned to constant A to P.


Example


:CALCulate:FACTor A,1000
:CALCulate:FACTor? A
(Response)  :CALCULATE:FACTOR A,+1.0000E+03  (when headers are enabled)


Note


-


Usage
Conditions


MEM




Query the comparison result of a numerical calculation


Syntax


(Query)


:CALCulate:JUDGe? NO$

(Response)

NO$,A
NO$ = ALL, NO1 to NO16
A = 0:no comp , 1:GO , 2:NG


Details


Returns the comparator judgment result of numerical calculation NO$.



Example


:CALCulate:JUDGe? NO1
(Response)  :CALCULATE:JUDGE NO1,1  (when headers are enabled)


Note


-


Usage
Conditions


MEM




Set or query B phenomenon channel


Syntax


(Command)
(Query)


:CALCulate:MBCH NO$(A$,)CH$(,B)
:CALCulate:MBCH? NO$

(Response)

NO$,CH$
NO$,A$,CH$,B(CH$ is logic channel)
NO$ = NO1 to NO16
CH$ = CH1 to , CHA to CHD
A$ = L0 to L8
B = 1 to 4


Details


Sets B phenomenon channel for numerical calculation NO$.
Returns B phenomenon channel as specified numerical calculation NO$.


Example


:CALCulate:MBCH NO1,CH1
:CALCulate:MBCH? NO1
(Response)  :CALCULATE:MBCH NO1,CH1  (when headers are enabled)


Note


Applicable calculation modes are the following:
DIFF (Time difference)
PHASe (Phase difference)


Usage
Conditions


MEM




Set or Query B phenomenon filtering for numerical calculation


Syntax


(Command)
(Query)


:CALCulate:MBFILter NO$,A
:CALCulate:MBFILter? NO$

(Response)

NO$, A<NR2>
NO$ = NO1 to NO16
A = 0(OFF), 0.1, 0.2, 0.5, 1.0, 1.5, 2.0, 2.5, 5.0, 10.0


Details


Sets B phenomenon filtering for numerical calculation NO$.
Queries B phenomenon filter setting for numerical calculation NO$.
When "A" = 0, the filter setting is OFF.


Example


:CALCulate:MBFILter NO1,0.5
:CALCulate:MBFILter? NO1
(Response)  :CALCULATE:MBFILTER NO1,0.5  (when headers are enabled)


Note


Applicable calculation modes are the following:
DIFF (Time difference)
PHASe (Phase difference)


Usage
Conditions


MEM




Set or Query B phenomenon level for numerical calculation


Syntax


(Command)
(Query)


:CALCulate:MBLEVel NO$,A
:CALCulate:MBLEVel? NO$

(Response)

NO$, A<NR3>
NO$ = NO1 to NO16
A = level(-9.9999E+09 to 9.9999E+09)


Details


Sets B phenomenon level for numerical calculation NO$.
Queries B phenomenon level for numerical calculation NO$.


Example


:CALCulate:MBLEVel NO1,1.2345E-06
:CALCulate:MBLEVel? NO1
(Response)  :CALCULATE:MBLEVEL NO1,1.2345E-06  (when headers are enabled)


Note


This command is not applicable to logic channels.
Applicable calculation modes are the following:
DIFF (Time difference)
PHASe (Phase difference)


Usage
Conditions


MEM




Set or Query B phenomenon slope for numerical calculation


Syntax


(Command)
(Query)


:CALCulate:MBSLOpe NO$,A$
:CALCulate:MBSLOpe? NO$

(Response)

NO$,A$
NO$ = NO1 to NO16
A$ = UP, DOWN


Details


Sets B phenomenon slope for numerical calculation NO$.
Returns B phenomenon slope direction for numerical calculation NO$.


Example


:CALCulate:MBSLOpe NO1,UP
:CALCulate:MBSLOpe? NO1
(Response)  :CALCULATE:MBSLOPE NO1,UP  (when headers are enabled)


Note


Applicable calculation modes are the following:
DIFF (Time difference)
PHASe (Phase difference)


Usage
Conditions


MEM




Select or query area (interval) setting for numerical calculations


Syntax


(Command)
(Query)


:CALCulate:MEASArea A$
:CALCulate:MEASArea?

(Response)

A$
A$ = ALL, A_B, TRIG


Details


Selects whether numerical calculations apply to the whole waveform, or just to a specified portion (area).
Returns a text string indicating whether numerical calculations apply to the whole waveform or a specified portion (area).

ALL  (Whole waveform)
A_B  (Waveform between A/B cursors)
TRIG  (Waveform from Trigger)


Example


:CALCulate:MEASArea ALL
:CALCulate:MEASArea?
(Response)  :CALCULATE:MEASAREA ALL  (when headers are enabled)


Note


-


Usage
Conditions


MEM




Set or query auto-saving of calculation results


Syntax


(Command)
(Query)


:CALCulate:MEASFsave A$(,B$,"NAME1$","NAME2$")
:CALCulate:MEASFsave?

(Response)

A$(,B$,"NAME1$","NAME2$")
A$ = OFF, ON
B$ = NEW, EXIST
NAME1$ = SAVE PATH NAME
NAME2$ = SAVE FILE NAME


Details


Selects whether numerical calculation results are saved by the auto-save function.
Returns the current selection of whether numerical calculation results are auto-saved.


B$, NAME1$, NAME2$ are enabled when A$=ON.
For using ' or ~ in the pass name or filename, please refer to the below.

On the PC screen

˜,

˜˜

On the MR8847 screen

'

˜



Example


:CALCulate:MEASFsave ON,NEW,"CF:\ABC","MEAS"
(Sets auto-saving = ON, save-file method = New, save pass name="CF:\ABC"and save file name="MEAS)

:CALCulate:MEASFsave?
(Response)  :CALCULATE:MEASFSAVE ON,NEW,"CF:\ABC","MEAS"  (when headers are enabled)


Note


-


Usage
Conditions


MEM




Set or query print output of calculation results


Syntax


(Command)
(Query)


:CALCulate:MEASPrint A$
:CALCulate:MEASPrint?

(Response)

A$
A$ = OFF, ON


Details


Specifies the output device for printing calculation results.
Returns a text string indicating the currently specified printing device for numerical calculation results.


Example


:CALCulate:MEASPrint ON
:CALCulate:MEASPrint?
(Response)  :CALCULATE:MEASPRINT ON  (when headers are enabled)


Note


-


Usage
Conditions


MEM




Specify or query the function and channel(s) for a numerical calculation


Syntax


(Command)



(Query)


:CALCulate:MEASSet NO$,A$
  (A$ = OFF, CALC)
:CALCulate:MEASSet NO$,A$,CH$
  (A$ = exclude OFF, CALC and XYAREA)
:CALCulate:MEASSet NO$,A$,CH1$,CH2$
  (A$ = XYAREA)
:CALCulate:MEASSet NO$,A$,B$,CH$,C
  (When calculating the logic channel)
:CALCulate:MEASSet? NO$

(Response)

NO$,A$,CH$
NO$,A$,CH1$,CH2$  (A$ is XYAREA)
NO$,A$,B$,CH$,C  (When calculating the logic channel)

NO$ = NO1 to NO16
A$ = OFF, AVE, RMS, PP, MAX, MAXT, MIN, MINT, PERI, FREQ, RISE, FALL, STD, AREA, XYARer, LEVEl, TIME, PWIDth, DUTY, PCOUnt, CALC, DIFF, PHASe, HI, LOW
CH$ = CH1 to , CHA to CHD, Z1 to Z16
CH1$, CH2$ = CH1 to
B$ = L0 to L8 (Logic unit number, L0 is built-in logic)
C = 1 to 4 (Logic channel number)


Details


Defines numerical calculation NO$ by specifying a calculation function (A$) and channel.
Returns the calculation function and channel specified for NO$.

OFF  No calculation performed
AVE  Average value(note1)
RMS  RMS value(note1)(note2)
PP  Peak value(note1)
MAX  Maximum value(note1)
MAXT  Time to maximum value(note1)
MIN  Minimum value(note1)
MINT  Time to minimum value(note1)
PERI  Period
FREQ  Frequency
RISE  Rise time(note1)(note2)
FALL  Fall time(note1)(note2)
STD  Standard deviation(note1)(note2)
AREA  Area value(note1)(note2)
XYAREA  X-Y area value(note1)(note2)
LEVEl  Time to specified level
TIME  Level to specified time(note1)
PWIDth  Pulse width
DUTY  Duty ratio
PCOUnt  Pulse count
CALC  Basic arithmetic(note1)
DIFF  Time difference
PHASe  Phase difference
HI  High level(note1)(note2)
LOW  Low level(note1)(note2)

(note1) Not available for logic channels.
(note2) Not available for DVM unit and the display of an meas result will be "******"
You specify in the calculation of the time difference and the phase difference CH$ is for A phenomenon.


Example


:CALCulate:MEASSet NO1,MAX,CH1
(Defines calculation NO1 to be the maximum value on channel 1.)

:CALCulate:MEASSet NO2,XYAREA,CH1,CH2
(Defines calculation NO2 to be the value of the area circumscribed by the X-Y waveform composed of channels 1 and 2.)

:CALCulate:MEASSet NO3,DUTY,L0,CHA,2
(Defines calculation NO3 to be the duty ratio of built-in logic, channel A-2.)

:CALCulate:MEASSet? NO1
(Response)  :CALCULATE:MEASSET NO1,MAX,CH1  (when headers are enabled)


Note


Logic channel settings are possible only to the operations as shown below.

Period (PERI)
Frequency (FREQ)
Designated level (LEVEl)
Pulse width (PWIDth)
Duty ratio (DUTY)
Pulse count (PCOUnt)
Time difference (DIFF)
Phase difference (PHASe)


In DVM unit, settings are possible only to the operations as shown below.

Average value  (AVE)
Peak value  (PP)
Maximum value  (MAX)
Time to maximum value  (MAXT)
Minimum value  (MIN)
Time to minimum value  (MINT)
Period  (PERI)
Frequency  (FREQ)
Time to specified level  (LEVEl)
Level to specified time  (TIME)
Pulse width  (PWIDth)
Duty ratio  (DUTY)
Pulse count  (PCOUnt)
Basic arithmetic  (CALC)
Time difference  (DIFF)
Phase difference  (PHASe)


Usage
Conditions


MEM




Set or query execution of numerical calculations


Syntax


(Command)
(Query)


:CALCulate:MEASure A$
:CALCulate:MEASure?

(Response)

A$
A$ = OFF, ON, EXEC, MEMEXEC


Details


Sets the numerical calculation execution state.
Returns a text indicator of the current numerical calculation execution state.
Calculation is performed when A$ = "EXEC".

Calculation is performed and calculation results are saved as MNO1 to MNO16 when A$ = "MEMEXEC".
Applicable commands for using MNO1 to MNO16 are the following:

Set the position of Cursor A(time).   :CURSor:TAPOSition A,(NO$)
Set the position of Cursor B(time).   :CURSor:TBPOSition A,(NO$)
Query the average value over the specified range  :CALCulate:AVERage? CH$,Start,End(,NO$)


Example


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


Note


The execution state is "ON" after calculation is executed by "EXEC" or "MEMEXEC".
When calculation is executed by "MEMEXEC", MNO1 to MNO16 are overwritten.


Usage
Conditions


MEM




Set or query filtering for a numerical calculation


Syntax


(Command)
(Query)


:CALCulate:MFILter NO$,A
:CALCulate:MFILter? NO$

(Response)

NO$,A<NR2>
NO$ = NO1 to NO16
A = 0.0, 0.1, 0.2, 0.5, 1.0, 1.5, 2.0, 2.5, 5.0, 10.0


Details


Sets filtering for numerical calculation NO$.
Queries the current filter setting for numerical calculation NO$.

When "A" = 0, the filter setting is OFF.


Example


:CALCulate:MFILter NO1,0.5
(Sets the filter for numerical calculation NO1 to be 0.5 divisions.)

:CALCulate:MFILter? NO1
(Response)  :CALCULATE:MFILTER NO1,0.5  (when headers are enabled)


Note


Applicable calculation modes are the following:

PERI  (Period)
FREQ  (Frequency)
LEVEl  (Time to specified level)
PWIDth  (Pulse width)
DUTY  (Duty ratio)
PCOUnt  (Pulse count)
DIFF  (Time difference)
PHASe  (Phase difference)


Usage
Conditions


MEM




Set or query the level for a numerical calculation


Syntax


(Command)
(Query)


:CALCulate:MLEVel NO$,A
:CALCulate:MLEVel? NO$

(Response)

NO$,A<NR3>
NO$ = NO1 to NO16
A = level(-9.9999E+09 to 9.9999E+09)


Details


Specifies the level (amplitude) for numerical calculation NO$.
Queries the currently specified level for numerical calculation NO$.


Example


:CALCulate:MLEVel NO1,1.2345E-06
:CALCulate:MLEVel? NO1
(Response)  :CALCULATE:MLEVEL NO1,1.2345E-06  (when headers are enabled)


Note


This command is not applicable to logic channels.

Applicable calculation modes are the following:

PERI  (Period)
FREQ  (Frequency)
LEVEl  (Time to specified level)
PWIDth  (Pulse width)
DUTY  (Duty ratio)
PCOUnt  (Pulse count)
DIFF  (Time difference)
PHASe  (Phase difference)


Usage
Conditions


MEM




Set or query the slope for a numerical calculation


Syntax


(Command)
(Query)


:CALCulate:MSLOpe NO$,A$
:CALCulate:MSLOpe? NO$

(Response)

NO$,A$
NO$ = NO1 to NO16
A$ = UP, DOWN


Details


Specifies the slope direction for numerical calculation NO$.
Returns the currently specified slope direction for numerical calculation NO$.


Example


:CALCulate:MSLOpe NO1,UP
:CALCulate:MSLOpe? NO1
(Response)  :CALCULATE:MSLOPE NO1,UP  (when headers are enabled)


Note


Applicable calculation modes are the following:

PERI  (Period)
FREQ  (Frequency)
LEVEl  (Time to specified level)
PWIDth  (Pulse width)
PCOUnt  (Pulse count)
DIFF  (Time difference)
PHASe  (Phase difference)


Usage
Conditions


MEM




Set or query statistics of a numerical calculation


Syntax


(Command)
(Query)


:CALCulate:MSTAtis NO$,A$
:CALCulate:MSTAtis? NO$

(Response)

NO$,A$
NO$ = NO1 to NO16
A$ = FIRST,AVE,MAX,MIN


Details


Sets or queries statistics of a specified numerical calculation NO$.
Applicable calculation modes are the following:

FIRST (first calcuration result)
AVE (average value)
MAX (largest value)
MIN (smallest value)


Example


:CALCulate:MSTAtis NO3,AVE
(Sets the statistics for calculation No.3 to display as the average.)

:CALCulate:MSTAtis? NO3
(Response)  :CALCULATE:MSTATIS NO3,AVE  (when headers are enabled)


Note


When cycle, frequency, rise time, fall time, pulse width, duty ratio, time diff or phase diff is selected as the type of numerical calculation.


Usage
Conditions


MEM




Configure the parameters and time/calculation number for numerical calculation.


Syntax


(Command)

(Query)


:CALCulate:MTIMe NO1$,A$,B
  (A$ = TIME)
:CALCulate:MTIMe NO1$,A$,NO2$
  (A$ = CALC)
:CALCulate:MTIMe? NO1$

(response)

NO1$,A$,B
NO1$,A$,NO2$
NO1$, NO2$ = NO1 to NO16
A$ = TIME, CALC
B = TIme(sec)(-9.99999999E+09 to 9.99999999E+09)


Details


Configure by using NO1$ as the parameter and time/calculation number
for the specified numerical calculation.
The parameter and time/calculation number of for the numerical calculation
specified as NO1$ will be returned.


Example


:CALCulate:MTIMe NO1,TIME,1.0000E+01
:CALCulate:MTIMe? NO1
(response)  :CALCULATE:MTIME NO1,TIME,1.0000E+01  (when headers are enabled)


note


The available calculation modes are as follows.

Time-Lev  (TIME)


Usage
Conditions


MEM




Set or query the rise or fall time percentage for a numerical calculation


Syntax


(Command)
(Query)


:CALCulate:PERCent NO$,A
:CALCulate:PERCent? NO$

(Response)

NO$,A<NR1>
NO$ = NO1 to NO16
A = 5 to 30


Details


Specifies the rise or fall time percentage for numerical calculation NO$.
Queries the specified rise or fall time percentage for numerical calculation NO$.


Example


:CALCulate:PERCent NO1,10
:CALCulate:PERCent? NO1
(Response)  :CALCULATE:PERCENT NO1,10  (when headers are enabled)


Note


The available calculation modes are as follows.

RISE  (Rise time)
FALL  (Fall time)


Usage
Conditions


MEM




Set or query execution of waveform calculations


Syntax


(Command)
(Query)


:CALCulate:WVCALc A$
:CALCulate:WVCALc?

(Response)

A$
A$ = OFF, ON, EXEC


Details


Sets the waveform calculation execution state.
Returns a text string indicating the current waveform calculation execution state.
Calculation is performed when A$ = "EXEC".


Example


:CALCulate:WVCALc ON
:CALCulate:WVCALc?
(Response)  :CALCULATE:WVCALC ON  (when headers are enabled)


Note


-


Usage
Conditions


MEM




Set or query the waveform color for a waveform calculation


Syntax


(Command)
(Query)


:CALCulate:WVCOLor Z$,A$
:CALCulate:WVCOLor? Z$

(Response)

Z$,A$
Z$ = Z1 to Z16
A$ = OFF, C1 to C16


Details


Assigns a color to the waveform for waveform calculation Z$.
Returns a text string indicating the color of waveform calculation Z$.
The waveform is invisible when A$ = OFF.
Correspondence table of the display color and color number.


Example


:CALCulate:WVCOLor Z1,C1
:CALCulate:WVCOLor? Z1
(Response)  :CALCULATE:WVCOLOR Z1,C1  (when headers are enabled)


Note


-


Usage
Conditions


MEM




Set or query auto/manual scaling for a waveform calculation


Syntax


(Command)
(Query)


:CALCulate:WVSCale Z$,A$
:CALCulate:WVSCale? Z$

(Response)

Z$,A$
Z$ = Z1 to Z16
A$ = AUTO, MANUal


Details


Selects auto or manual scaling for waveform calculation Z$.
Returns a text string indicating the auto/manual scaling setting for waveform calculation Z$.

AUTO
MANUal


Example


:CALCulate:WVSCale Z1,MANUal
:CALCulate:WVSCale? Z1
(Response)  :CALCULATE:WVSCALE MANUAL  (when headers are enabled)


Note


-


Usage
Conditions


MEM




Set or query a waveform calculation formula


Syntax


(Command)
(Query)


:CALCulate:Z Z$,"A$"
:CALCulate:Z? Z$

(Response)

Z$,"A$"
Z$ = Z1 to Z16
A$ = (formula)


Details


Assigns a formula to waveform calculation Z$.
Returns the formula of waveform calculation Z$ as text string A$.
(80 chars max.: variables are lower-case, formula is upper case)


Example


:CALCulate:Z Z1,"CH(1,1)*2"
:CALCulate:Z? Z1
(Response)  :CALCULATE:Z Z1,"CH(1,1)*2"  (when headers are enabled)


Note


-


Usage
Conditions


MEM




Set or query graph display of a waveform calculation


Syntax


(Command)
(Query)


:CALCulate:ZDIsplay Z$,A
:CALCulate:ZDIsplay? Z$

(Response)

Z$,A
Z$ = Z1 to Z16 (Calculation)
A = 1 to 16 (Graph number)


Details


Sets the display graph for the waveform processing.

Assigns waveform calculation NO Z$ to graph NO A and activates display of waveform calculation graph.
Returns graph number A assigned to waveform calculation Z$.

The range of values ??that can be specified in A is determined by the number of divisions of the screen.


Example


:CALCulate:ZDIsplay Z1,1
:CALCulate:ZDIsplay? Z1
(Response)  :CALCULATE:ZDISPLAY Z1,1  (when headers are enabled)


Note


The value to be specified for A depends on the display format.


Usage
Conditions


MEM




Set or query the range and position of a waveform calculation


Syntax


(Command)
(Query)


:CALCulate:ZRANGe Z$,A,B
:CALCulate:ZRANGe? Z$

(Response)

Z$,A<NR3>,B<NR3>
Z$ = Z1 to Z16
A = (Range: -9.9999E+29 to 9.9999E+29)
B = (Position: -1.0E+6 to 1.0E+6)


Details


Assigns a range and position to waveform calculation Z$.
Returns the range and position of waveform calculation Z$ as NR3 values.
There is the case where the setting is unable depending on the combination A and B.


Example


:CALCulate:ZRANGe Z1,+1.0E-03,50
:CALCulate:ZRANGe? Z1
(Response)  :CALCULATE:ZRANGE Z1,+1.0000E-03,+5.0000E+01  (when headers are enabled)


Note


-


Usage
Conditions


MEM




Set or query the unit name assigned to a waveform calculation


Syntax


(Command)
(Query)


:CALCulate:ZUNIt Z$,"A$"
:CALCulate:ZUNIt? Z$

(Response)

Z$,"A$"
Z$ = Z1 to Z16
A$ = Unit name (up to 7 characters)


Details


Assigns unit "A" to be used for waveform calculation Z$.
Returns the name of the unit (module) assigned to waveform calculation Z$.
Special characters can be entered as follows:
(Special characters other than the following are replaced by spaces.)

On the PC screen

ˆ2

ˆ3

˜ c

˜ o

˜ u

˜ e

˜ ,

˜ ;

ˆ ˆ

˜ ˜

On the MR8847 screen

2

3

°

Ω

μ

ε

'

"

ˆ

˜


Either single (') or double quotation marks (") can be used in the command argument.


Example


:CALCulate:ZUNIt Z1,"VA"
:CALCulate:ZUNIt? Z1
(Response)  :CALCULATE:ZUNIT Z1,"VA"  (when headers are enabled)


Note


-


Usage
Conditions


MEM




Set or query waveform calculation thresholds


Syntax


(Command)
(Query)


CALCulate:ZUPLow Z$,A,B
:CALCulate:ZUPLow? Z$

(Response)

Z$,A<NR3>,B<NR3>
Z$ = Z1 to Z16
A = (upper threshold: -9.9999E+29 to 9.9999E+29)
B = (lower threshold: -9.9999E+29 to 9.9999E+29)


Details


Assigns upper and lower thresholds for waveform calculation Z$.
Returns the upper and lower thresholds assigned to waveform calculation Z$ as NR3 values.


Example


:CALCulate:ZUPLow Z1, 1E-03,-1E-03
:CALCulate:ZUPLow? Z1
(Response)  :CALCULATE:ZUPLOW Z1,1.0000E-03,-1.0000E-03  (when headers are enabled)


Note


-


Usage
Conditions


MEM