CALCulate Commands (Set and Query Calculations)


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 = 1 to 8 (calculation number)
B = 1 to 8 (calculation number 1 used for making the four arithmetic operations)
C$ = PLUS, MINUs, MULT, DIV
D = 1 to 8 (calculation number 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


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




Queries a calculation result


Syntax


(Query)


:CALCulate:ANSWer? A,CH$

(Response)

A,CH$,B$,C<NR3>
NO$ = NO1 to NO16
CH$ = CH1_1 to CH4_15, P1 to P2, LA1 to LB4, L1_1 to L4_16, W1_1 to W4_2, Z1 to Z8, XY, OPE, LAT, LON, ALT, DIR, SPD, DST
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
C = Calculation result (unless A$ = OFF), NONE (when no calculation result can be obtained)


Details


Returns the calculation operator and result of specified numerical calculation A.

[CH$]
CH1_1 to CH4_15, P1 to P2, LA1 to LB4, L1_1 to L4_16, W1_1 to W4_2, Z1 to Z8  (channel)
XY  (X-Y area value)
OPE  (Basic arithmetic)
LAT  (Latitude)
LON  (Longitude)
ALT  (Altitude)
DIR  (Direction)
SPD  (Speed)
DST  (Distance)

[B$]
OFF  (No calculation performed)
AVE  (Average value)
RMS  (RMS value)
PP  (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  (X-Y 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)


Example


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


Note


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


Usage
Conditions


W1_1 to W4_2 or Z1 to Z8 is available in V2.00 or later.
LAT, LON, ALT, DIR, SPD or DST are available in V2.10 or later.




Obtain and set the channels to make numerical calculations


Syntax


(Command)
(Query)


:CALCulate:CH A,B$,CH$
:CALCulate:CH? A,B$

(Response)

A<NR1>,B$,CH$
A = 1 to 8
B$ = OBJect, BASE
CH$ = AALL, LALL, CALL, PALL, WALL, ZALL, GALL, CH1_1 to CH4_15, P1 to P2, LA1 to LB4, L1_1 to L4_16, W1_1 to W4_2, Z1 to Z8, LAT, LON, ALT, DIR, SPD, DST


Details


Makes settings for the channels used for numerical calculations.
The settings will be returned as a text string.

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

AALL (ALL analog channels)
LALL (ALL internal logic channels)
CALL (ALL CAN logic channels)
PALL (ALL pulse channels)
WALL (ALL channel calculation channels)
ZALL (ALL waveform calculation channels)
GALL (ALL GPS channels)
CH1_1 to CH4_15 (Analog channel)
P1 to P2 (Pulse channel)
LA1 to LB4 (Internal logic channel)
L1_1 to L4_16 (CAN logic channel)
W1_1 to W4_2 (Channel calculation channel)
Z1 to Z8 (Waveform calculation channel)
LAT, LON, ALT, DIR, SPD, DST (GPS channel)


Example


:CALCulate:CH 3,BASE,CH1_1
:CALCulate:CH? 3,BASE
(Response)  :CALCULATE:CH 3,BASE,CH1_1  (when headers are enabled)


Note


-


Usage
Conditions


W1_1 to W4_2 or Z1 to Z8 is available in V2.00 or later.
GALL, LAT, LON, ALT, DIR, SPD or DST are available in V2.10 or later.




Set or query a calculation comparator state


Syntax


(Command)
(Query)


:CALCulate:COMP A,B$
:CALCulate:COMP? A

(Response)

A<NR1>,B$
A = 1 to 8
B$ = 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 1,ON
(Sets the calculation comparator state of NO1 to 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<NR3>,C<NR3>
A = 1 to 8
B = -9.99999E+29 to +9.99999E+29
C = -9.99999E+29 to +9.99999E+29


Details


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

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


Example


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

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


Note


-


Usage
Conditions


-




Query the comparison result of a numerical calculation


Syntax


(Query)


:CALCulate:COMPJudge? A(,CH$)

(Response)

A<NR1>,CH$,B$,C$ (except A = 0)
A<NR1>,C$ (A = 0)
A = 0 to 8
CH$ = CH1_1 to CH4_15, P1 to P2, LA1 to LB4, L1_1 to L4_16, W1_1 to W4_2, Z1 to Z8, XY, OPE, LAT, LON, ALT, DIR, SPD, DST (except A = 0)
B$ = OFF, AVE, RMS, PP, MAX, MAXT, MIN, MINT, PREI, FREQ, RISE, FALL, STD, AREA, XYARea, LEVEl, TIME, PWIDth, DUTY, PCOUnt, CALC, DIFF, PHASe, HI, LOW (except A = 0)
C$ = GO, NG, *


Details


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

OFF  (No calculation performed)
AVE  (Average value)
RMS  (RMS value)
PP  (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  (X-Y 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)


Example


:CALCulate:COMPJudge? 0
(Response)  :CALCULATE:COMPJUDGE 0,NG  (when headers are enabled)

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


Note


-


Usage
Conditions


W1_1 to W4_2 or Z1 to Z8 is available in V2.00 or later.
LAT, LON, ALT, DIR, SPD or DST are available in V2.10 or later.




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


-




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


V2.00 or later.




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 8
B$ = WHOLe, A_B, C_D


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
A_B  (between A/B cursors)
C_D  (between C/D cursors)


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 and channel(s) for a numerical calculation


Syntax


(Command)
(Query)


:CALCulate:MEASSet A,B$

:CALCulate:MEASSet? A

(Response)

A<NR1>,B$
A = 1 to 8
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


Details


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

OFF  No calculation performed
AVE  Average value
RMS  RMS value
PP  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  X-Y 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


Example


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

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


Example


:CALCulate:MEASure ON
:CALCulate:MEASure EXEC
: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.


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 8
B$ = OBJect, BASE
C = 0, 10, 20, 50, 100, 150, 200, 250, 500, 1000


Details


Sets filtering for numerical calculationA.
Queries the current filter setting for numerical calculation A.

When "B" = 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
(Sets the filter for numerical calculation NO1 to be 500 samples.)

:CALCulate:MFILter? 1,OBJect
(Response)  :CALCULATE:MFILTER 1,OBJECT,500  (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


-




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<NR3>
A = 1 to 8
B$ = OBJect, BASE
C = level


Details


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

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


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


-




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 8
B$ = OBJect, BASE
C$ = UP, DOWN


Details


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

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


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


-




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 8
B$ = FIRSt, AVE, MAX, MIN


Details


Makes settings for the numerical calculation statistics.
Query the settings made for the numerical calculation statistics.

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


Example


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

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


Note


-


Usage
Conditions


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




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 (B$ = CALC)
A = 1 to 8
B$ = TIME, CALC
C = <NR3>(second) (B$ = TIME)
D = 1 to 8 (calculation number) (B$ = CALC)


Details


A query is made for the calculation item specified by A 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.00000E+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 8
B = 5 to 30


Details


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


Example


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


Note


The available calculation modes are as follows.

RISE  (Rise time)
FALL  (Fall time)


Usage
Conditions


-




Select or query CH 1 for channel calculation


Syntax


(Command)
(Query)


:CALCulate:RCH1 CH$,A
:CALCulate:RCH1? CH$

(Response)

CH$,A<NR1>
CH$ = W1_1 to W4_2
A = 1 to 4 (internal module channel)


Details


Settings are made for the CH$ specified by A for channel calculations.
Text string will be returned for CH$ specified by A for channel calculations.


Example


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


Note


-


Usage
Conditions


V2.00 or later.




Select or query CH 2 for channel calculation


Syntax


(Command)
(Query)


:CALCulate:RCH2 CH$,A
:CALCulate:RCH2? CH$

(Response)

CH$,A<NR1>
CH$ = W1_1 to W4_2
A = 1 to 4 (internal module channel)


Details


Settings are made for the CH$ specified by A for channel calculations.
Text string will be returned for CH$ specified by A for channel calculations.


Example


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


Note


-


Usage
Conditions


V2.00 or later.




Select or query the arithmetic operator for channel calculation


Syntax


(Command)
(Query)


:CALCulate:ROPErator CH$,A$
:CALCulate:ROPErator? CH$

(Response)

CH$,A$
CH$ = W1_1 to W4_2
A$ = PLUS, MINUs, MULT


Details


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

PLUS (+)
MINUs (-)
MULT (*)


Example


:CALCulate:ROPErator W1_1,PLUS
:CALCulate:ROPErator? W1_1
(Response)  :CALCULATE:ROPERATOR W1_1,PLUS  (when headers are enabled)


Note


-


Usage
Conditions


V2.00 or later.




Select or query area setting for waveform calculation


Syntax


(Command)
(Query)


:CALCulate:WVARea A$
:CALCulate:WVARea?

(Response)

A$
A$ = WHOLe, A_B, C_D


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
A_B  (between A/B cursors)
C_D  (between C/D cursors)


Example


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


Note


-


Usage
Conditions


V2.00 or later.




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


V2.00 or later.




Set or query auto/manual scaling for a waveform calculation


Syntax


(Command)
(Query)


:CALCulate:WVSCale A,B$
:CALCulate:WVSCale? A

(Response)

A<NR1>,B$
Z$ = 1 to 8
A$ = AUTO, MANUal


Details


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

AUTO
MANUal


Example


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


Note


-


Usage
Conditions


V2.00 or later.




Set or query Channel X used for numerical calculations


Syntax


(Command)
(Query)


:CALCulate:XCH A,CH$
:CALCulate:XCH? A

(Response)

A<NR1>,CH$
A = 1 to 8
CH$ = CH1_1 to CH4_15, P1 to P2, W1_1 to W4_2, Z1 to Z8, LAT, LON, ALT, DIR, SPD, DST


Details


Settings are made for the Channel X specified by A for numerical calculations.
Text string will be returned for Channel X specified by A for numerical calculations.


Example


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


Note


-


Usage
Conditions


The numerical calculation type must be the X-Y area value.
W1_1 to W4_2 or Z1 to Z8 is available in V2.00 or later.
LAT, LON, ALT, DIR, SPD or DST are available in V2.10 or later.




Set or query Channel Y used for numerical calculations


Syntax


(Command)
(Query)


:CALCulate:YCH A,CH$
:CALCulate:YCH? A

(Response)

A<NR1>,CH$
A = 1 to 8
CH$ = CH1_1 to CH4_15, P1 to P2, W1_1 to W4_2, Z1 to Z8, LAT, LON, ALT, DIR, SPD, DST


Details


Settings are made for the Channel Y specified by A for numerical calculations.
Text string will be returned for Channel Y specified by A for numerical calculations.


Example


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


Note


-


Usage
Conditions


The numerical calculation type must be the X-Y area value.
W1_1 to W4_2 or Z1 to Z8 is available in V2.00 or later.
LAT, LON, ALT, DIR, SPD or DST are available in V2.10 or later.




Set or query a waveform calculation formula


Syntax


(Command)
(Query)


:CALCulate:Z A,"B"
:CALCulate:Z? A

(Response)

A<NR1>,"B$"
A = 1 to 8
B$ = (formula)


Details


Assigns a formula to waveform calculation A.
Returns the formula of waveform calculation A as text string B$.

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


Example


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


Note


-


Usage
Conditions


V2.00 or later.




Set or query the unit name assigned to a waveform calculation


Syntax


(Command)
(Query)


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

(Response)

Z$,"A"
A = 1 to 8
B$ = Unit name (up to 7 characters)


Details


Assigns unit "B" to be used for waveform calculation A.
Returns the name of the unit (module) assigned to waveform calculation A.

Special characters can be entered as follows:
(Special characters other than the following are replaced by spaces.)

PC

ˆ2

ˆ3

˜u

˜o

˜e

˜c

˜+

˜,

˜;

ˆˆ

˜˜

MR8875

2

3

μ

Ω

ε

°

±

'

"

ˆ

˜


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


Example


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


Note


-


Usage
Conditions


V2.00 or later.