Language Reference

INT

Item

 

 

Description

 

 

Source or Destination Amplitude

0 {

10,000 measurement units

for linear trace data in

TRA, TRB , TRC,

Range

trace

range , or user-de￿ned trace .

 

 

 

032,768 { +32,767 measurement units for logarithmic trace data in

 

 

TRA,

TRB , TRC, trace range ,

or user-de￿ned trace .

 

 

 

6 1.8 2 10308 when using

number , prede￿ned v ariable , or

 

 

user-de￿ned v ariable .

 

 

 

Source-L ength Range

1 {

2048 position units. Default is 800 position units

when using

TRA,

 

TRB, TRC . Truncated if longer than destination length. If shorter than

 

 

destination length, last element is extended for operation.

 

Destination-L ength Range

 

2048 position units.

 

 

 

1 {

 

 

 

Example Obtain the integer value of a number.

130 OUTPUT 723;"ST 2.5S;TS;"

Set sweep time . Sweep.

140OUTPUT 723;"INT ST,ST;" Reset the sweep time using the integer value of the previous sweep time.

150 OUTPUT 723;"TS;"

Sweep with the new sweep time.

Description The INT command calculates the largest integer which is less than or equal to the value of the source, then stores the integer in the destination. The MOV

and INT commands are the same for trace data, since trace data is in integer form (measurement units) already. Use SNGLS and TS to ensure trace data re￿ects one complete sweep when using TRA, TRB, TRC, or trace range for source.

7-179