beautypg.com

Errors – Teledyne LeCroy WaveRunner XI SERIES Operator’s Manual User Manual

Page 202

background image

W

AVE

R

UNNER

X

I

S

ERIES

202

WRXi-OM-E Rev C

Note t

VBS,

the error message may go on flashing

for a few seconds, or a fe

pt OK" message. Be patient

before assuming

If your calculation

l positions than their original ones, make sure

that your algorith

rray positions, that is, beyond the edges of the

screen

may

ns with the instrument's Enhanced Resolution and

Boxcar functions.

No o

l em

No ou

ill em

udes the case where the input data are

not use

e acquisition before you see anything.

Becau

u can

s not check your spelling.

on of a trace disappear if you set the values to 32767 or -32768.

You c

light

king the points alternately too high and too low by a suitable amount.

Providing the me

hort, the compaction algorithm will give the effect of a thicker trace.

The

f th

ace need not be the same. You can even make the output trace

longe

e input tra

zoom it to see it all. This feature can be used to avoid

com

obl

r horizontal scales. It can also be used to show several versions of a function

at the same time,

rate script for each one.

If yo

m s

ll the IFs, ELSEIFs, ENDIFs, FORs, NEXTs, etc and

then

pp

m will tell you if the structure is acceptable. Then you

can in

act

Alwa

mak

possible of variables such as V/Div, T/Div, and memory length,

unless that would ma

derstand. If so, give some values as examples, and explain how the script

woul

ch

bles changed.

Error

The ins

ent V

to help you when errors occur.

le because the interpreter cannot construct a logical structure from it.

may be usable, but may fail while running because an incomputable function has been requested.

or is of this general

type:

1. Missing "Nex

2. Extra "Next"

This happens bec

If at some point d

allowed range, the calculation

will stop, and you will se
displa

revio

of

new and old valu

hat in

after you have corrected an error and clicked on "Apply,"

w acquisitions, before being erased. Look for the "Scri

that you still have a bug.

requires data to be used at some other horizonta

m does not try to send data to non-existent a

have to truncate your output trace, as happe

. You

utput wil

erge from a script until you press Apply.

tput w

d in calcul

erge from a script until it has received an input. This incl

ating the output data. So you must have had at least on

se yo

introduce undeclared variables at any point in a calculation, VBS doe

You can make a porti

an high

a section of a trace by ma

mory length is not too s

lengths o

r than th

e output trace and the input tr

ce, but you will need to un

paction pr

ems with non-linea

without having to set up a sepa

ur progra

clicking A

tructure is complicated, consider typing a
ly. You wont get any output, but the syste

sert the

ual program statements.

ys try to

e the script as independent as

ke it harder to un

ange if the varia

d have to

s

trum

BS tries hard

Errors may be of two main types:

y not be usab

1. The script ma

2. The script

Sometimes the line number given for an error is wrong. This can happen when the err

t" Missing "End If"

Missing "Until" etc.

ause VBS cannot know where you should have put the statement.

uring the calculation of an output array, a value goes outside the

e the new values up to the point of the stoppage. To the right of that point, the trace will

us values. In fact, if you deliberately recalculate only a part of a trace, you can have a mixture

es.

y the p