Table 2-5: Components For Assembling Equations - Sony Tektronix VX4792 User Manual

Arbitrary waveform generator
Table of Contents

Advertisement

Functional Overview
Equation Components

Table 2-5: Components for Assembling Equations

Type
Symbol
Syntax items
()
1
Operators
*
/
+
-
^
Variables
t
x
v
Constants
pi
e
k
=
1
The operators * and / have priority over + and -.
2-20
The clock frequency is obtained from the total time (period) set with the range
statement and the waveform point count. The resulting clock frequency can be
determined as follows:
Clock frequency = Waveform point count B Equation period
32-bit fixed precision is used when precision is not required (minimum unit
15 ms or greater). When precision is required, 32-bit floating point precision
(IEEE 754 compatible) is used.
Table 2–5 provides a summary of the syntax items, operators, variables,
constants, and functions you may use to assemble equations.
Figure 2–18 through Figure 2–32 provide a variety of example equations and
their resulting waveforms. Appendix D provides additional examples of
equations and their resulting waveforms, for waveform files located on the
Sample Waveform Library disk.
Description
Use parentheses (" and )" for specifying the order of operations. Each opening (left)
parenthesis must be paired with a closing (right) parenthesis. When there are two
arguments
for example, range, max, min
,"(comma).
Multiply
Divide
Add
Subtract
Expresses exponents. ^ has the same priority as * and /. Therefore, parentheses are
required to give priority to multiplication. Example: pi * (2^3) * x where 2^3 = two
raised to the third power.
Time from the head of that range() statement.
Variable taking on a value from 0.0 to 1.0 within that range(0 statement. X has a
value of 0.0 at the beginning of the range() and 1.0 at the end of the range().
Variable showing the current value of the waveform data at that position.
The circumferential ratio.
Exponent (for an implied 10) (Examples: 1e6=1 10^6=1,000,000, 1e-3=0.001) The
range for numbers expressed in this scientific notation is from |5.9e-39| to |3.4e38|.
The k0-k9 can be specified; these are constants that may be used in equations.
Specifying a new value for the same k# replaces the old value with the new one.
Equals sign. = is used with k constants. Example: k0=2*pi
the arguments are separated with a
VX4792 User Manual

Advertisement

Table of Contents
loading

Table of Contents