EDIT Menu

rnd (integer from 1 to 16,777,215)

When an argument is specified, generates a random number

sequence using that argument as the initial value. If the argument is omitted, 1 is used.

Example:

range(0,100 ms)

 

rnd(2)/3

Figure 3 ￿112: Equation Using rnd(

See ªRandom (rnd) Functionº in Appendix F for a discussion of the algorithms for rnd functions.

diff(

Differentiates the function over the range specified with range(). Specified with diff(). The diff() comprises an entire line.

Example:

range(0,33 ms)

 

±0.5

 

range(33 ms,66 ms)

 

0.5

 

range(66 ms,100 ms)

 

±0.5

 

range(0,100 ms)

 

diff()

Differentiating the waveform in Figure 3 -113 gives the waveform shown in Figure 3 -114.

AWG2021 User Manual

3 ￿153