Calculations (CALCulate)


Set or query an arithmetic operator

Syntax

(Command)

(Query)


:CALCulate:ACCOunt A,B,C$,D

:CALCulate:ACCOunt? A

(Response)

A<NR1>,B<NR1>,C$,D<NR1>

A = 2 to 32 (Calculation No. to be set)
B = 1 to 31 (Calculation No. 1 used for making the four arithmetic operations)
C$ = PLUS, MINUs, MULT, DIV
D = 1 to 31 (Calculation No. 2 used for making the four arithmetic operations)

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 3,1,PLUS,2
:CALCulate:ACCOunt? 3
(Response)  :CALCULATE:ACCOUNT 3,1,PLUS,2  (when headers are enabled)

Note

-

Usage
Conditions

This command is not applicable to logic channels.
Applicable calculation modes are the following:

CALC (Basic arithmetic)




Set or query a integration processing

Syntax

(Command)

(Query)


:CALCulate:ACCUmu A,B$

:CALCulate:ACCUmu? A

(Response)

A<NR1>,B$

A = 1 to 32 (Calculation No.)
B$ = SUM, ABS, POS, NEG

Details

Sets a integration processing.
Returns a currently integration processing.

SUM  Add all
ABS  Add only absolute value
POS  Add only positive values
NEG  Add only negative values

Example

:CALCulate:ACCUmu 1,SUM
:CALCulate:ACCUmu? 1
(Response)  :CALCULATE:ACCUMU 1,SUM  (when headers are enabled)

Note

-

Usage
Conditions

This command is not applicable to logic channels.
Applicable calculation modes are the following:

AREA (Area value)
ACCUmulate (Accumulation)




Query a calculation result

Syntax

(Query)


:CALCulate:ANSWer? A,B$

(Response)

A<NR1>,B$,C$,D

A = 1 to 32 (Calculation No.)
B$ = CH1_1 to CH8_4, L1A1 to L8D4, W1 to W16, Z1 to Z16, XY, OPE, ANG
C$ = OFF, AVE, RMS, PP, MAX, MAXT, MIN, MINT, PERI, FREQ, RISE, FALL, STD, AREA, XYARea, LEVEl, TIME, PWIDth, DUTY, PCOUnt, CALC, DIFF, PHASe, HI, LOW, MIDdle, AMPlitude, OVSHoot, UNSHoot, WIDPos, WIDNeg, BURSt, ACCUmulate, ANGLe
D = Calculation result, NONE (when no calculation result can be obtained)

Details

Returns the calculation operator and result of specified numerical calculation.

CH1_1 to CH8_4, L1A1 to L8D4, W1 to W16, Z1 to Z16 (Channel)
XY (XY area value)
OPE (Basic arithmetic)
ANG (XY waveform angle)

OFF 
AVE  Average value
RMS  RMS value
PP  Peak-to-peak value
MAX  Maximum value
MAXT  Time to maximum value
MIN  Minimum value
MINT  Time to minimum value
PERI  Period
FREQ  Frequency
RISE  Rise time
FALL  Fall time
STD  Standard deviation
AREA  Area value
XYARea  XY area value
LEVEl  Time to specified level
TIME  Level to specified time
PWIDth  Pulse width
DUTY  Duty ratio
PCOUnt  Pulse count
CALC  Basic arithmetic
DIFF  Time difference
PHASe  Phase difference
HI  High level
LOW  Low level
MIDdle  Middle level
AMPlitude  Amplitude
OVSHoot  Overshoot
UNSHoot  Undershoot
WIDPos +Width
WIDNeg -Width
BURSt  Burst width
ACCUmulate  Accumulation
ANGLe  XY waveform angle

Example

:CALCulate:ANSWer? 1,CH1_1
(Response)  :CALCULATE:ANSWER 1,CH1_1,AVE,+1.234567E-03  (when headers are enabled)

Note

If calculation results could not be obtained, D = "NONE".
For XY area value, XY waveform angle and the four arithmetic operations, calculations other than XY or OPE for B$ cannot be specified.

Usage
Conditions

-




Set or query for the channels that will be used for conducting numerical calculations

Syntax

(Command)

(Query)


:CALCulate:BCH A,B$

:CALCulate:BCH? A

(Response)

A<NR1>,B$

A = 1 to 32 (Calculation No.)
B$ = CH1_1 to CH8_4, L1A1 to L8D4, W1 to W16, Z1 to Z16

Details

Makes settings for the channels used for numerical calculations.
Returns the calculation target channel of the current numerical operation.
When time level (TIME) is the specified , it becomes the setting / inquiry of the target channel of the operation number (No.).

CH1_1 to CH8_4  Analog channel
L1A1 to L8D4  Logic channel
W1 to W16  DSP channel (Real-time waveform calculation channel)
Z1 to Z16  Waveform calculation channel

Example

:CALCulate:BCH 1,CH1_1
:CALCulate:BCH? 1
(Response)  :CALCULATE:BCH 1,CH1_1  (when headers are enabled)

Note

-

Usage
Conditions

This command is not applicable to logic channels.
Applicable calculation modes are the following:

TIME (Level to specified time)
DIFF (Time difference)
PHASe (Phase difference)




Set or query a burst judgement

Syntax

(Command)

(Query)


:CALCulate:BLEVel A,B,C

:CALCulate:BLEVel? A

(Response)

A<NR1>,B,C

A = 1 to 32 (Calculation No.)
B = -9.9999E+29 to +9.9999E+29
C = -9.9999E+29 to +9.9999E+29

Details

Sets a burst judgement.
Returns a burst judgement.

B  Judgment upper limit
C  Decision lower limit

Example

:CALCulate:BLEVel 1,10,-10
:CALCulate:BLEVel? 1
(Response)  :CALCULATE:BLEVEL 1,+1.00000E+01,-1.00000E+01  (when headers are enabled)

Note

-

Usage
Conditions

This command is not applicable to logic channels.
Applicable calculation modes are the following:

Burst width (BURSt)




Set or query a burst-end filter

Syntax

(Command)

(Query)


:CALCulate:BURStend A,B

:CALCulate:BURStend? A

(Response)

A<NR1>,B<NR1>

A = 1 to 32 (Calculation No.)
B = 0, 10, 20, 50, 100, 150, 200, 250, 500, 1000, 2000, 5000, 10000 (Filtering points)

Details

Sets a burst-end filter.
Return a burst-end filter.
When B is 0, the filter setting is disabled (OFF).

Example

:CALCulate:BURStend 1, 250
:CALCulate:BURStend? 1
(Response)  :CALCULATE:BURSTEND 1,250  (when headers are enabled)

Note

-

Usage
Conditions

This command is not applicable to logic channels.
Applicable calculation modes are the following:

Burst width (BURSt)




Set or query the CAN statistics channel

Syntax

(Command)

(Query)


:CALCulate:CANCh A,B$

:CALCulate:CANCh? A

(Response)

A<NR1>,B$

A = 1 to 32 (Calculation No.)
B$ = C1, C2, C3, C4

Details

Selects the CAN statistics channel.
Returns the CAN statistics channel.

Example

:CALCulate:CANCh 1,C1
:CALCulate:CANCh? 1
(Response)  :CALCULATE:CANCH 1,C1  (when headers are enabled)

Note

-

Usage
Conditions

Applicable calculation modes are the following:

CAN (CAN Statistics)




Set or query the CAN ID for CAN statistics

Syntax

(Command)

(Query)


:CALCulate:CANId A,B$

:CALCulate:CANId? A

(Response)

A<NR1>,B$

A = 1 to 32 (Calculation No.)
B$ = 0x00000000 to 0x1fffffff (Hexadecimal string)

Details

Selects the CAN ID for CAN statistics.
Returns the CAN ID for CAN statistics.

Example

:CALCulate:CANId 1,12ab
:CALCulate:CANId? 1
(Response)  :CALCULATE:CANID 1,12ab  (when headers are enabled)

Note

-

Usage
Conditions

Applicable calculation modes are the following:

CAN (CAN Statistics)




Set or query a calculation comparator state

Syntax

(Command)

(Query)


:CALCulate:COMP A,B$

:CALCulate:COMP? A

(Response)

A<NR1>,B$

A = 1 to 32 (Calculation No.)
B$ = OFF, ON

Details

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

OFF  Invalidate numerical judgment
ON  Enable numeric judgment

Example

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

Note

-

Usage
Conditions

-




Set or query comparator thresholds for a numerical calculation

Syntax

(Command)

(Query)


:CALCulate:COMPArea A,B,C

:CALCulate:COMPArea? A

(Response)

A<NR1>,B,C

A = 1 to 32 (Calculation No.)
B = -9.9999E+29 to +9.9999E+29
C = -9.9999E+29 to +9.9999E+29

Details

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

B  Threshold upper limit
C  Threshold lower limit

Example

:CALCulate:COMPArea 1,10,-10
:CALCulate:COMPArea? 1
(Response)  :CALCULATE:COMPAREA 1,+1.00000E+01,-1.00000E+01  (when headers are enabled)

Note

-

Usage
Conditions

-




Query the comparison result of a numerical calculation

Syntax

(Query)


:CALCulate:COMPJudge? A (A = 0)
:CALCulate:COMPJudge? A,B$ (A ≠ 0)

(Response)

A<NR1>,D$ (A = 0)
A<NR1>,B$,C$,D$ (A ≠ 0)

A = 1 to 32 (Calculation number, 0 indicates ALL)
B$ = CH1_1 to CH8_4, L1A1 to L8D4, W1 to W16, Z1 to Z16, XY, OPE, ANG
C$ = OFF, AVE, RMS, PP, MAX, MAXT, MIN, MINT, PERI, FREQ, RISE, FALL, STD, AREA, XYARea, LEVEl, TIME, PWIDth, DUTY, PCOUnt, CALC, DIFF, PHASe, HI, LOW, MIDdle, AMPlitude, OVSHoot, UNSHoot, WIDPos, WIDNeg, BURSt, ACCUmulate, ANGLe
D$ = PASS, FAIL, * (No judgment)

Details

Returns the comparator judgment result of numerical calculation.
When A = 0, the returned result is the combined judgment of all calculation results.
If D$ = "*", no judgment is available for the specified numerical calculation.

CH1_1 to CH8_4, L1A1 to L8D4, W1 to W16, Z1 to Z16 (Channel)
XY (XY area value)
OPE (Basic arithmetic)
ANG (XY waveform angle)

OFF 
AVE  Average value
RMS  RMS value
PP  Peak-to-peak value
MAX  Maximum value
MAXT  Time to maximum value
MIN  Minimum value
MINT  Time to minimum value
PERI  Period
FREQ  Frequency
RISE  Rise time
FALL  Fall time
STD  Standard deviation
AREA  Area value
XYARea  XY area value
LEVEl  Time to specified level
TIME  Level to specified time
PWIDth  Pulse width
DUTY  Duty ratio
PCOUnt  Pulse count
CALC  Basic arithmetic
DIFF  Time difference
PHASe  Phase difference
HI  High level
LOW  Low level
MIDdle  Middle level
AMPlitude  Amplitude
OVSHoot  Overshoot
UNSHoot  Undershoot
WIDPos +Width
WIDNeg -Width
BURSt  Burst width
ACCUmulate  Accumulation
ANGLe  XY waveform angle

Example

:CALCulate:COMPJudge? 1,CH1_1
(Response)  :CALCULATE:COMPJUDGE 1,CH1_1,AVE,PASS  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query calculation comparator judgment to stop measurement

Syntax

(Command)

(Query)


:CALCulate:COMPStop A$

:CALCulate:COMPStop?

(Response)

A$

A$ = PASS, FAIL, BOTH

Details

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

PASS  Stops when the judgment result becomes PASS
FAIL  Stops when the judgment result becomes FAIL
BOTH  Stops when the judgment result becomes either PASS or FAIL

Example

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

Note

-

Usage
Conditions

-




Set or query the on/off status of calculation channels

Syntax

(Command)

(Query)


:CALCulate:ENABle A,B$,C$

:CALCulate:ENABle? A,B$

(Response)

A<NR1>,B$,C$

A = 1 to 32 (Calculation No.)
B$ = CH1_1 to CH8_4, L1A1 to L8D4, Z1 to Z16, W1 to W16
C$ = OFF, ON

Details

Set calculation channels on/off status.
Returns calculation channels on/off status.

OFF  Disabled
ON  Enabled

Example

:CALCulate:ENABle 1,CH1_1,ON
:CALCulate:ENABle? 1,CH1_1
(Response)  :CALCULATE:ENABLE 1,CH1_1,ON  (when headers are enabled)

Note

-

Usage
Conditions

-




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

Syntax

(Command)

(Query)


:CALCulate:FACTor A$,B

:CALCulate:FACTor? A$

(Response)

A$,B

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.00000E+03  (when headers are enabled)

Note

-

Usage
Conditions

-




Select or query area (interval) setting for numerical calculations

Syntax

(Command)

(Query)


:CALCulate:MEASArea A,B$

:CALCulate:MEASArea? A

(Response)

A<NR1>,B$

A = 1 to 32 (Calculation No.)
B$ = WHOLe, 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).

WHOLe  Whole
A  Segment 1
B  Segment 2
TRIG  After trigger

Example

:CALCulate:MEASArea 1,WHOLe
:CALCulate:MEASArea? 1
(Response)  :CALCULATE:MEASAREA 1,WHOLE  (when headers are enabled)

Note

-

Usage
Conditions

-




Specify or query the function for a numerical calculation

Syntax

(Command)

(Query)


:CALCulate:MEASSet A,B$

:CALCulate:MEASSet? A

(Response)

A<NR1>,B$

A = 1 to 32 (Calculation No.)
B$ = OFF, AVE, RMS, PP, MAX, MAXT, MIN, MINT, PERI, FREQ, RISE, FALL, STD, AREA, XYARea, LEVEl, TIME, PWIDth, DUTY, PCOUnt, CALC, DIFF, PHASe, HI, LOW, MIDdle, AMPlitude, OVSHoot, UNSHoot, WIDPos, WIDNeg, BURSt, ACCUmulate, ANGLe, CAN

Details

Defines numerical calculation function.
Returns the calculation function.

OFF 
AVE  Average value
RMS  RMS value
PP  Peak-to-peak value
MAX  Maximum value
MAXT  Time to maximum value
MIN  Minimum value
MINT  Time to minimum value
PERI  Period
FREQ  Frequency
RISE  Rise time
FALL  Fall time
STD  Standard deviation
AREA  Area value
XYARea  XY area value
LEVEl  Time to specified level
TIME  Level to specified time
PWIDth  Pulse width
DUTY  Duty ratio
PCOUnt  Pulse count
CALC  Basic arithmetic
DIFF  Time difference
PHASe  Phase difference
HI  High level
LOW  Low level
MIDdle  Middle level
AMPlitude  Amplitude
OVSHoot  Overshoot
UNSHoot  Undershoot
WIDPos +Width
WIDNeg -Width
BURSt  Burst width
ACCUmulate  Accumulation
ANGLe  XY waveform angle
CAN  CAN statistics

Example

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

Note

-

Usage
Conditions

-




Set or query execution of numerical calculations

Syntax

(Command)

(Query)


:CALCulate:MEASure A$

:CALCulate:MEASure?

(Response)

A$

A$ = OFF, ON, EXEC

Details

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

OFF  Disabled
ON  Enabled
EXEC  Perform execution

Example

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

Note

An error will occur if a command is sent during calculation.
After sending :CALCulate:MEASure EXEC, send the *OPC? command, and check that calculations are completed before sending the next command.
Ex) :CALCulate:MEASure EXEC;*OPC?

Usage
Conditions

-




Set or query filtering for a numerical calculation

Syntax

(Command)

(Query)


:CALCulate:MFILter A,B$,C

:CALCulate:MFILter? A,B$

(Response)

A<NR1>,B$,C<NR1>

A = 1 to 32 (Calculation No.)
B$ = OBJect, BASE
C = 0, 10, 20, 50, 100, 150, 200, 250, 500, 1000, 2000, 5000, 10000 (Filtering points)

Details

Sets filtering for numerical calculation.
Returns the current filter setting for numerical calculation .
When "C" = 0, the filter setting is OFF.

OBJect  Channel(s) used for making numerical calculations
BASE  Standard channel used when the numerical calculation is for determining the phase or time difference

Example

:CALCulate:MFILter 1,OBJect,500
:CALCulate:MFILter? 1,OBJect
(Response)  :CALCULATE:MFILTER 1,OBJECT,500  (when headers are enabled)

Note

-

Usage
Conditions

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)
WIDPos (+Width)
WIDNeg (-Width)
BURSt (Burst width)




Set or query the level for a numerical calculation

Syntax

(Command)

(Query)


:CALCulate:MLEVel A,B$,C

:CALCulate:MLEVel? A,B$

(Response)

A<NR1>,B$,C

A = 1 to 32(Calculation No.)
B$ = OBJect, BASE
C = Level

Details

Specifies the level (amplitude) for numerical calculation.
Returns the currently specified level for numerical calculation.

OBJect  Channel(s) used for making numerical calculations
BASE  Standard channel used when the numerical calculation is for determining the phase or time difference

Example

:CALCulate:MLEVel 1,OBJect,1.23456E-06
:CALCulate:MLEVel? 1,OBJect
(Response)  :CALCULATE:MLEVEL 1,OBJECT,+1.23456E-06  (when headers are enabled)

Note

-

Usage
Conditions

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)




Set or query the slope for a numerical calculation

Syntax

(Command)

(Query)


:CALCulate:MSLOpe A,B$,C$

:CALCulate:MSLOpe? A,B$

(Response)

A<NR1>,B$,C$

A = 1 to 32 (Calculation No.)
B$ = OBJect, BASE
C$ = UP, DOWN

Details

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

OBJect  Channel(s) used for making numerical calculations
BASE  Standard channel used when the numerical calculation is for determining the phase or time difference

Example

:CALCulate:MSLOpe 1,OBJect,UP
:CALCulate:MSLOpe? 1,OBJect
(Response)  :CALCULATE:MSLOPE 1,OBJECT,UP  (when headers are enabled)

Note

-

Usage
Conditions

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)
BURSt (Burst width)




Set or query the stat for a numerical calculation

Syntax

(Command)

(Query)


:CALCulate:MSTAtis A,B$

:CALCulate:MSTAtis? A

(Response)

A<NR1>,B$

A = 1 to 32 (Calculation No.)
B$ = FIRSt, AVE, MAX, MIN, TIMEs

Details

Makes settings for the numerical calculation statistics.
Returns the statistics setting of the current numerical operation.

FIRSt  First calcuration result
AVE  Average value
MAX  Largest value
MIN  Smallest value
TIMEs  Event times

Example

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

Note

-

Usage
Conditions

Applicable calculation modes are the following:

PERI (Period)
FREQ (Frequency)
RISE (Rise time)
FALL (Fall time)
PWIDth (Pulse width)
DUTY (Duty ratio)
DIFF (Time difference)
PHASe (Phase difference)
WIDPos (+Width)
WIDNeg (-Width)
BURSt (Burst width)




Set or query the parameters to conduct numerical calculation and the time/calculation number

Syntax

(Command)


(Query)


:CALCulate:MTIMe A,B$,C (B$ = TIME)
:CALCulate:MTIMe A,B$,D (B$ = CALC)

:CALCulate:MTIMe? A

(Response)

A<NR1>,B$,C (B$ = TIME)
A<NR1>,B$,D<NR1> (B$ = CALC)

A = 1 to 32 (Calculation No.)
B$ = TIME, CALC
C = Second
D = 1 to 15 (Target calculation number)

Details

Set the parameters to conduct numerical calculation and the time/calculation number.
Query for the parameters to conduct numerical calculation and the time/calculation number.

TIME  Specified time
CALC  Specified calculation

Example

:CALCulate:MTIMe 1,TIME,1
:CALCulate:MTIMe? 1
(Response)  :CALCULATE:MTIME 1,TIME,+1.000000000E+00  (when headers are enabled)

Note

-

Usage
Conditions

The numerical calculation type must be the level to specified time.




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

Syntax

(Command)

(Query)


:CALCulate:PERCent A,B

:CALCulate:PERCent? A

(Response)

A<NR1>,B<NR1>

A = 1 to 32 (Calculation No.)
B = 5 to 30 (%)

Details

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

Example

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

Note

Parameter B is the starting point level at the rise time, and the end point level at the fall time.

Usage
Conditions

Applicable calculation modes are the following:

RISE (Rise time)
FALL (Fall time)




Set or query the phase difference representation

Syntax

(Command)

(Query)


:CALCulate:PHASe A,B$

:CALCulate:PHASe? A

(Response)

A<NR1>,B$

A = 1 to 32 (Calculation No.)
B$ = 180, 360

Details

Selects the phase difference representation.
Returns the phase difference representation.

180 Displays the phase difference in the range of -180° to 180°
360 Displays the phase difference in the range of 0° to 360°

Example

:CALCulate:PHASe 1,180
:CALCulate:PHASe? 1
(Response)  :CALCULATE:PHASE 1,180  (when headers are enabled)

Note

-

Usage
Conditions

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




Set or query the event times for a numerical calculation

Syntax

(Command)

(Query)


:CALCulate:TIMEs A,B

:CALCulate:TIMEs? A

(Response)

A<NR1>,B$

A = 1 to 32 (Calculation No.)
B = 1 to 1000 (Event times.)

Details

Makes settings for the numerical calculation event times.
Returns the event times setting of the current numerical operation.

Example

:CALCulate:TIMEs 1,3
:CALCulate:TIMEs? 1
(Response)  :CALCULATE:TIMES 1,3  (when headers are enabled)

Note

-

Usage
Conditions

Applicable calculation modes are the following:

PERI (Period)
FREQ (Frequency)
RISE (Rise time)
FALL (Fall time)
PWIDth (Pulse width)
DUTY (Duty ratio)
DIFF (Time difference)
PHASe (Phase difference)
WIDPos (+Width)
WIDNeg (-Width)
BURSt (Burst width)
LEVEl (Time to specified level)




Set or query the force average of power calculation

Syntax

(Command)

(Query)


:CALCulate:WPAVErage A$,B$

:CALCulate:WPAVErage? A$

(Response)

A$,B$

A$ = A,B,C,D (Wiring)
B$ = OFF, ON

Details

Selects the force average of power calculation.
Returns the force average of power calculation.

Example

:CALCulate:WPAVErage A,ON
:CALCulate:WPAVErage? A
(Response)  :CALCULATE:WPAVERAGE A,ON  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the force average time of power calculation

Syntax

(Query)


:CALCulate:WPAVTime? A$,B

(Response)

A$ = A,B,C,D (Wiring)

B = 0 to 10,000

Details

Selects the force average time of power calculation.
Returns the force average time of power calculation.

Example

:CALCulate:WPAVTime A,1000
:CALCulate:WPAVTime? A
(Response)  :CALCULATE:WPAVTIME A,1.00000E+03  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the voltage and current input channels of power calculation

Syntax

(Command)

(Query)


:CALCulate:WPCH A$,B$,C$

:CALCulate:WPCH? A$,B$

(Response)

A$,B$,C$

A$ = A,B,C,D (Wiring)
B$ = U1,U2,U3,I1,I2,I3
C$ = CH1_1 to CH8_4

Details

Selects the voltage and current input channels of power calculation.
Returns the voltage and current input channels of power calculation.

Example

:CALCulate:WPCH A,U1,CH1_1
:CALCulate:WPCH? A,U1
(Response)  :CALCULATE:WPCH A,U1,CH1_1  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the delta-Y conversion of power calculation

Syntax

(Command)

(Query)


:CALCulate:WPDElta A$,B$

:CALCulate:WPDElta? A$

(Response)

A$,B$

A$ = A,B,C,D (Wiring)
B$ = OFF, ON

Details

Selects the delta-Y conversion of power calculation.
Returns the delta-Y conversion of power calculation.

Example

:CALCulate:WPDElta A,ON
:CALCulate:WPDElta? A
(Response)  :CALCULATE:WPDELTA A,ON  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the low pass filter of power calculation

Syntax

(Command)

(Query)


:CALCulate:WPFIlter A$,B$

:CALCulate:WPFIlter? A$

(Response)

A$,B$

A$ = A,B,C,D (Wiring)
B$ = OFF, ON

Details

Selects the low pass filter of power calculation.
Returns the low pass filter of power calculation.

Example

:CALCulate:WPFIlter A,ON
:CALCulate:WPFIlter? A
(Response)  :CALCULATE:WPFILTER A,ON  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the cutoff frequency of power calculation

Syntax

(Command)

(Query)


:CALCulate:WPFReq A$,B

:CALCulate:WPFReq? A$

(Response)

A$,B

A$ = A,B,C,D (Wiring)
B = 0 to 1E+08

Details

Selects the cutoff frequency of power calculation.
Returns the cutoff frequency of power calculation.

Example

:CALCulate:WPFReq A,1000
:CALCulate:WPFReq? A
(Response)  :CALCULATE:WPFREQ A,1.00000E+03  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the hysteresis of power calculation

Syntax

(Command)

(Query)


:CALCulate:WPHYst A$,B

:CALCulate:WPHYst? A$

(Response)

A$,B

A$ = A,B,C,D (Wiring)
B = -9.9999E+29 to +9.9999E+29

Details

Selects the hysteresis of power calculation.
Returns the hysteresis of power calculation.

Example

:CALCulate:WPHYst A,1.000
:CALCulate:WPHYst? A
(Response)  :CALCULATE:WPHYST A,1.00000E+00  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the wiring method of power calculation

Syntax

(Command)

(Query)


:CALCulate:WPMOde A$,B$

:CALCulate:WPMOde? A$

(Response)

A$,B$

A$ = A,B,C,D (Wiring)
B$ = 1P2W, 1P3W, 3P3W, 3V3A, 3P4W, DC

Details

Selects the wiring method of power calculation.
Returns the wiring method of power calculation.

1P2W 1P2W
1P3W 1P3W
3P3W 3P3W
3V3A 3V3A
3P4W 3P4W
DC DC

Example

:CALCulate:WPMOde A,1P2W
:CALCulate:WPMOde? A
(Response)  :CALCULATE:WPMODE A,1P2W  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the synchronous source of power calculation

Syntax

(Command)

(Query)


:CALCulate:WPSYnc A$,B$

:CALCulate:WPSYnc? A$

(Response)

A$,B$

A$ = A,B,C,D (Wiring)
B$ = CH1_1 to CH8_4

Details

Selects the synchronous source of power calculation.
Returns the synchronous source of power calculation.

Example

:CALCulate:WPSYnc A,CH1_1
:CALCulate:WPSYnc? A
(Response)  :CALCULATE:WPSYNC A,CH1_1  (when headers are enabled)

Note

-

Usage
Conditions

-




Select or query area setting for waveform calculation

Syntax

(Command)

(Query)


:CALCulate:WVARea A$

:CALCulate:WVARea?

(Response)

A$

A$ = WHOLe, 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).

WHOLe  Whole
A  Segment 1
B  Segment 2

Example

:CALCulate:WVARea WHOLe
:CALCulate:WVARea?
(Response)  :CALCULATE:WVAREA WHOLE  (when headers are enabled)

Note

-

Usage
Conditions

-




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".

OFF  Disabled
ON  Enabled
EXEC  Perform execution

Example

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

Note

-

Usage
Conditions

-




Set or query auto/manual scaling for a waveform calculation

Syntax

(Command)

(Query)


:CALCulate:WVSCale A,B$

:CALCulate:WVSCale? A

(Response)

A<NR1>,B$

A = 1 to 16 (Calculation No.)
B$ = AUTO, MANUal

Details

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

Example

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

Note

-

Usage
Conditions

-




Set or query Channel X for numerical calculations

Syntax

(Command)

(Query)


:CALCulate:XCH A,B$

:CALCulate:XCH? A

(Response)

A<NR1>,B$

A = 1 to 32 (Calculation No.)
B$ = CH1_1 to CH8_4, L1A1 to L8D4, W1 to W16, Z1 to Z16

Details

Settings are made for the Channel X specified by A for numerical calculations.
Returns the computation target channel X of the current numerical operation.

Example

:CALCulate:XCH 1,CH1_1
:CALCulate:XCH? 1
(Response)  :CALCULATE:XCH 1,CH1_1  (when headers are enabled)

Note

-

Usage
Conditions

Applicable calculation modes are the following:

XYARea (X-Y area value)
ANGLe (XY waveform angle)
CALC (Basic arithmetic)




Set or query XY area calculation method

Syntax

(Command)

(Query)


:CALCulate:XYMEthod A,B$

:CALCulate:XYMEthod? A

(Response)

A<NR1>,B$

A = 1 to 32 (Calculation No.)
B$ = COORd, TRAP

Details

Set the XY area calculation method of numerical calculation.
Returns the currently XY area calculation method of numerical calculation.

COORd  Coordinate method
TRAP  Trapezoidal approximation

Example

:CALCulate:XYMEthod 1,COORd
:CALCulate:XYMEthod? 1
(Response)  :CALCULATE:XYMETHOD 1,COORD  (when headers are enabled)

Note

-

Usage
Conditions

Applicable calculation modes are the following:

XYARea (X-Y area value)




Set or query Channel Y for numerical calculations

Syntax

(Command)

(Query)


:CALCulate:YCH A,B$

:CALCulate:YCH? A

(Response)

A<NR1>,B$

A = 1 to 32 (Calculation No.)
B$ = CH1_1 to CH8_4, L1A1 to L8D4, W1 to W16, Z1 to Z16

Details

Settings are made for the Channel Y specified by A for numerical calculations.
Returns the operation target channel Y of the current numerical operation.

Example

:CALCulate:YCH 1,CH1_1
:CALCulate:YCH? 1
(Response)  :CALCULATE:YCH 1,CH1_1  (when headers are enabled)

Note

-

Usage
Conditions

Applicable calculation modes are the following:

XYARea (X-Y area value)
ANGLe (XY waveform angle)
CALC (Basic arithmetic)




Set or query a waveform calculation formula

Syntax

(Command)

(Query)


:CALCulate:Z A,"B$"

:CALCulate:Z? A

(Response)

A<NR1>,"B$"

A = 1 to 16 (Calculation No.)
B$ = Formula (up to 80 characters)

Details

Assigns a formula to waveform calculation.
Returns the formula of waveform calculation.

Example

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

Note

80 chars max.: variables are lower-case, formula is upper case

Usage
Conditions

-




Set or query the power calculation mode

Syntax

(Command)

(Query)


:CALCulate:ZPENable A,B$

:CALCulate:ZPENable? A

(Response)

A,B$

A = 1 to 16 (Calculation No.)
B$ = OFF, ON

Details

Selects the power calculation mode.
Returns the power calculation mode.

OFF Use normal waveform calculation (calculation formula)
ON Use power calculation

Example

:CALCulate:ZPENable 1,ON
:CALCulate:ZPENable? 1
(Response)  :CALCULATE:ZPENABLE 1,ON  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the phase to be calculated for efficiency calculation

Syntax

(Command)

(Query)


:CALCulate:ZPEFPhase A,B$,C$

:CALCulate:ZPEFPhase? A,B$

(Response)

A,B$,C$

A = 1 to 16 (Calculation No.)
B$ = IN, OUT
C$ = 1, 2, 3, 12, 123

Details

Selects the phase to be calculated for efficiency calculation .
Returns the phase to be calculated for efficiency calculation .

Example

:CALCulate:ZPEFPhase 1,IN,1
:CALCulate:ZPEFPhase? 1,IN
(Response)  :CALCULATE:ZPEFPHASE 1,IN,1  (when headers are enabled)

Note

-

Usage
Conditions

When the type of power calculation is "efficiency" .




Set or query the wiring of calculation target of efficiency calculation

Syntax

(Command)

(Query)


:CALCulate:ZPEFWire A,B$,C$

:CALCulate:ZPEFWire? A,B$

(Response)

A,B$,C$

A = 1 to 16 (Calculation No.)
B$ = IN, OUT
C$ = A,B,C,D (Wiring)

Details

Selects the wiring of calculation target of efficiency calculation .
Returns the wiring of calculation target of efficiency calculation .

Example

:CALCulate:ZPEFWire 1,IN,A
:CALCulate:ZPEFWire? 1,IN
(Response)  :CALCULATE:ZPEFWIRE 1,IN,A  (when headers are enabled)

Note

-

Usage
Conditions

When the type of power calculation is "efficiency" .




Set or query the phase to be calculated for power calculation

Syntax

(Command)

(Query)


:CALCulate:ZPPHase A,B$

:CALCulate:ZPPHase? A

(Response)

A,B$

A = 1 to 16 (Calculation No.)
B$ = 1, 2, 3, 12, 123

Details

Selects the phase to be calculated for power calculation .
Returns the phase to be calculated for power calculation .

Example

:CALCulate:ZPPHase 1,1
:CALCulate:ZPPHase? 1
(Response)  :CALCULATE:ZPPHase 1,1  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the calculation type of power calculation

Syntax

(Command)

(Query)


:CALCulate:ZPTYpe A,B$

:CALCulate:ZPTYpe? A

(Response)

A,B$

A = 1 to 16 (Calculation No.)
B$ = URMS, IRMS, UMN, IMN, UDC, IDC, P, S, Q, FACT, PHASe, EFFI, LOSS

Details

Selects the calculation type of power calculation.
Returns the calculation type of power calculation.

URMS Voltage effective value
IRMS Current effective value
UMN Voltage average value
IMN Current average value
UDC Voltage simple average value
IDC Current simple average value
P Active power
S Apparent power
Q Reactive power
FACT Power factor
PHASe Phase
EFFI Efficiency
LOSS Loss

Example

:CALCulate:ZPTYpe 1,URMS
:CALCulate:ZPTYpe? 1
(Response)  :CALCULATE:ZPTYpe 1,URMS  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the wiring to be calculated for power calculation

Syntax

(Command)

(Query)


:CALCulate:ZPWIre A,B$

:CALCulate:ZPWIre? A

(Response)

A,B$

A = 1 to 16 (Calculation No.)
B$ = A,B,C,D (Wiring)

Details

Selects the wiring to be calculated for power calculation.
Returns the wiring to be calculated for power calculation.

Example

:CALCulate:ZPWIre 1,A
:CALCulate:ZPWIre? 1
(Response)  :CALCULATE:ZPWIRE 1,A  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the unit name assigned to a waveform calculation

Syntax

(Command)

(Query)


:CALCulate:ZUNIt A,"B$"

:CALCulate:ZUNIt? A

(Response)

A<NR1>,"B$"

A = 1 to 16 (Calculation No.)
B$ = Unit name (up to 7 characters)

Details

Assigns the name of the unit "B$" to be used for waveform calculation.
Returns the name of the unit assigned to waveform calculation.

Either single (') or double quotation marks (") can be used in the command argument.
Special characters can be entered as follows:

PC

ˆ2

ˆ3

˜u

˜o

˜e

˜c

˜+

˜,

˜;

ˆˆ

˜˜

MR6000
MR6000-01

2

3

μ

Ω

ε

°

±

'

"

ˆ

˜


Example

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

Note

-

Usage
Conditions

-