Waveform Programming Language
3-176
AWG610 Arbitrary Waveform Generator User Manual
UserĆDefined Variables
All user-defined variable names must satisfy the following requirements:
H The first character must be an alphabetical character.
H The rest of the name must consist of an alphabetical character(s), digit(s),
and/or an underscore(s) (_).
H The maximum number of characters is 16. All characters in excess of 16 are
ignored. Variables that have the same first 16 characters will be regarded as
identical.
H Alphabetical characters are case-insensitive. For example, FooBar and foobar
are handled as the same variable name.
H You can use user-defined variables in the program without first declaring
them.
H User-defined variables are 64-bit floating-point decimal numbers.
H A maximum of 100 variables may be included in a program; this includes
the reserved variables, such as clock.
H There are no string variables; all variables require a numeric value.
H Initial variable values are undefined.
The following are unavailable for user-defined variables.
H Reserved word variable names
H Constant names
H Function names
H Keywords (for example, if and marker1)