This section covers math and move commands which modify data and store the results in memory. In addition, four rules are provided for using math with trace arrays and elements.
Each math and move command requires both source and destination arguments. The value of the source is used to obtain the data stored in the destination. Only variables or traces can be a destination. Sources can be variables, traces, real numbers, or any command listed in the following table. (The commands in this table can only be used with commands whose syntax diagram shows predefined function as a source. Syntax diagrams for each command are illustrated in Chapter 7.)
Commands That Can Be a Source
Command |
|
|
|
| Denition | |
AMPU | conversion | |||||
FUNCDEF | Create | |||||
MEAN | Mean value of data points | |||||
MEASU | conversion | |||||
MEM | Available | internal memory | ||||
MKBW | Marker | bandwidth |
| |||
MODADD | Return slave module's | |||||
MODID | Identify | module | or | instrument | ||
PEAKS | Trace peaks | found |
| |||
POSU | conversion | |||||
PWRBW | Power bandwidth |
| ||||
RMS | Root mean square |
| ||||
STB | Status b yte |
|
|
| ||
STDEV | Standard deviation | of trace values | ||||
SUM | Sum |
|
|
|
| |
SUMSQR | Sum of squares |
| ||||
VARIANCE | Variance |
|
|
|
| |
WLUNITS | ||||||
|
|
|
|
|
|
Below, the MOV command transfers a value from the source (predened variable) to the destination