beautypg.com

Variables (predefined) – Tektronix AWG610 User Manual

Page 313

background image

Command Descriptions

AWG610 Arbitrary Waveform Generator User Manual

3-195

Variables (predefined)

The following table lists predefined programming language variables that you
can use as part of a waveform equation expression (except where noted).

Table 3-49: Predefined variables

Function

Description

clock

Sets the current instrument sample clock rate.

fname.clock

Returns the sample clock rate of the specified file name. You cannot use

this variable in a waveform expression.

pi

The Ludolphian number p.

point

Current data point number value, starting at 0. Read only. Only useable

within an equation expression.

scale

Returns the current scale value that increase 0 to 1. Read only. Only

useable within an equation expression.

size

Sets the current waveform record length.

fname.size

Returns the number of waveform data points of the specified file name.

Youcannot use this variable in a waveform expression.

time

Current data time value, starting at 0. Read only. Only useable within an

equation expression.