beautypg.com

Teledyne LeCroy WaveExpert 100H Operators Manual User Manual

Page 291

background image

Wave Expert

WE-OM-E Rev A

289

been requested.

Sometimes the line number given for an error is wrong. This can happen when the error is of this
general type:

Missing "Next" Missing "End If"

Extra "Next" Missing "Until" etc.

This happens because VBS cannot know where you should have put the statement.

If at some point during the calculation of an output array, a value goes outside the allowed range,
the calculation will stop, and you will see the new values up to the point of the stoppage. To the right
of that point, the trace will display the previous values. In fact, if you deliberately recalculate only a
part of a trace, you can have a mixture of new and old values.

In the figure below is a type of error message that you may see if one of your calculations has tried
to set a value outside the range -32768 to +32767. It takes extra time to guard against this, but
unless you are sure that it will not happen, you need some kind of check. In the example on the next
page, the red trace has gone outside the allowed range at the beginning, resulting in the message
at the bottom of the instrument screen: This array is fixed or temporarily locked:
OutResult.DataArray

.