User manual

Table Of Contents
MAUI Oscilloscopes Remote Control and Automation Manual
FUNCTION - DEFINE, DEF
Description
The DEFINE command specifies the mathematical expression to be evaluated by a function. This
command is used to control all math tools in the standard oscilloscope along with those in the optional
math software packages.
Only functions available on your instrument may be specified as parameters.
Refer to your oscilloscope Operator's Manual for details regarding the standard operators. See software
option manuals for other math operators.
Command Syntax
<function>:DEFINE <parameter>,<value>[,<parameter>,<value>,...]
<function>:= F1 to Fn
Parameters are specified in pairs. The first in the pair names the parameter to be modified, <param_
name>, while the second one gives the new value to be assigned. As many pairs may be added as are
needed. Pairs can be given in any order and restricted to the variables to be changed.
See the Equation Notation and following tables for formatting of the <equation> value and additional
parameters related to each operation. Space characters inside equations are optional.
Tip: The best way to learn the required syntax is to set up the function as desired on the
oscilloscope and run the Fn: DEF? query. The response will be formatted exactly as required,
especially if you have set the oscilloscope to suppress command headers using COMM_HEADER.
Query Syntax
<function>:DEFINE?
Response Format
<function>:DEFINE EQN,'<equation>'[,<parameter>,<value>,...]
Function Parameters
At least one of the following parameter pairs is required for the command. Generally, this is the EQN
parameter, but other parameters shown can be sent as incremental changes to current EQN.
Parameters Values Description
EQN '<equation>' Mathematical operation to perform. Enclose the operation in quotes. Follow with
additional parameter pairs as needed. See table below.
BITS <num bits> Number of bits to interpolate in ERES equation.
CENTER <time or div> Horizontal center position for Histogram function.
6-92