Language Reference

XCH

 

 

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 .

 

 

 

 

Example

100

OUTPUT

723;"SNGLS;TS;"

Activate single-sweep mode.

 

 

 

 

 

Sweep trace A.

 

 

110OUTPUT 723;"XCH TRA[1,400],TRA[401,800];" Exchange the amplitudes of the ￿rst 400 elements of trace A with the last 400 elements .

120 OUTPUT 723;"VIEW TRA;"

View trace A.

Description The XCH command exchanges the contents of sources 1 and 2. If either of the sources is trace A, B, or C, the trace conditions are updated accordingly.

7-557