beautypg.com

Teledyne LeCroy X-STREAM OSCILLOSCOPES Remote Control User Manual

Page 138

background image

P

A R T

T

W O

:

C O M M A N D S

132

ISSUED: February 2005

WM-RCM-E Rev D

The following instruction defines Trace f1 to compute the Power
Spectrum of the FFT of Channel 1. The window function is

Rectangular.

CMD$=“F1:DEF EQN,‘PS(FFT(C1))’,WINDOW, RECT”:
CALL IBWRT(SCOPE%,CMD$)

The following instruction defines Trace F2 to compute the Power
Average of the Power Spectrum of Channel 1, over a maximum of 244

sweeps.

CMD$=“F2:DEF EQN,
'AVG(FFT(C1))',TYPE,POWERSPECTRUM,WINDOW,RECTA
NGULAR,ALGORITHM,POWER2,

FILLTYPE,TRUNCATE,SUPPRESSDC,ON,AVERAGETYPE,SU
MMED,SWEEPS,244":

The following instruction defines Trace F3 to construct the histogram

of the rise time measurements made on source Channel 1. The rise time
measurement is defined on custom line 2. The histogram has a linear

vertical scaling, accumulates up to 1000 parameter values, and rescales
automatically. The rise time parameter values are binned into 100 bins.

CMD$=“PACU 2,RISE,C1”:CALL IBWRT(SCOPE%,CMD$)

CMD$="F3:DEF
EQN,‘HIST(P2)',VALUES,1000,BINS,100,HORSCALE,1
S,CENTER,0E-12
S,VERSCALETYPE,LINEAR,AUTOFINDSCALE,ON":

CALL IBWRT(SCOPE%,CMD$)

RELATED COMMANDS

FIND_CTR_RANGE, FUNCTION_RESET, INR?,
PARAMETER_CUSTOM, PARAMETER_VALUE?,
PASS_FAIL_CONDITION

MORE EXAMPLES OBTAINED USING F1:DEF?

NOTE New lines in these examples have been inserted for clarity. The actual strings are continuous.

F1:DEF EQN,"CORR(C1,C2)",CORRLENGTH,5 DIV,CORRSTART,0E-3 DIV

F1:DEF EQN,"DERI(C1)",VERSCALE,1E+6 V/S,VEROFFSET,48E+3 V/S,ENABLEAUTOSCALE,ON