System Commands 5
FUNCTION
DEFINE, DEF
Command/Query
Standard Oscilloscopes
DESCRIPTION The DEFINE command specifies the mathematical expression to
be evaluated by a function.
Notation
MAXPTS
SWEEPS
EQN
C1
C3
maximum number of points
maximum number of sweeps
equation AVGS
average summed
Channel 1 C2 Channel 2
Channel 3~: C4 Channel 4~
COMMAND SYNTAX
QUERY SYNTAX
Response format
<function>:DEFine EQN,’<equation>’,MAXPTS,<max_points>,
SWEEPS ,<max_sweeps>
<function> := {MC~:, MD~:, FE, FF}
<equation> := {<source>, - <source>, <source> + <source>,
<source> - <source>, AVGS (<source>)}
<source> := {C1, C2, C35, C45}
<max_points> :=
9410114
All others
50 to 10000 50 to 50000
<max_sweeps> := 1 to 1000
Note 1: Parameters are grouped in pairs. The first one names the
variable to be modified and the second one gives the new value to
be assigned. Pairs may be given in any order and may be restricted
to the variables to be changed.
Note 2: The pair SWEEPS,<max..sweeps> applies only when aver-
aging (AVGS) has been chosen. Otherwise it is ignored.
<function>: DEFine?
<function>:DEFine EQN, ’<equation>’, MAXPTS,<max_points>
[,SWEEPS,<max_sweeps>]
:[: 4-channel oscilloscopes only
67