EasyManuals Logo
Home>LeCroy>Test Equipment>WaveRunner XI Series

LeCroy WaveRunner XI Series User Manual

LeCroy WaveRunner XI Series
233 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #198 background imageLoading...
Page #198 background image
WAVERUNNER XI SERIES
198 WRXi-OM-E Rev C
ile for these constructions: DoLoops.Xls
ite things like:
d (C < 92677663) )
n
, or you think you know, the number of times that you want to do a job. For this case a For
eal, especially when you have an array of numbers to work with.
0 To Total
ounting variable in any loop. You can do this to terminate the loop early (but Exit
o prevent it from terminating at all.
it For
make a For loop with steps greater than 1, as in the following example in which K takes the values
), but they must all use different control variables. Example:
7 To 17
ngM
Example f
While . . . Wend
This is similar to Do While . . . Loop. You can wr
While ( (A > 2) An
AnyVBCalculatio
Wend
For . . . Next
Sometimes you know
loop is id
Examples:
For K =
HistogramBin (K) = 0
Next
Omega = TwoPi / Period
For N = 0 To Period
Y (N) = A * Sin (Omega * N)
Next
Be careful about changing the c
For is better), but you could als
For emergency exit, you can use Exit For. For example:
For K = 0 To Total
If HistogramBin(K) = 0 Then Ex
AnyVBScripting
Next
It is possible to
3, 7, 11, 15, . . . . 83.
For K = 3 To 82 Step 4
AnyVBScripting
Next K
You may place loops inside one another (nested loops
For K = 0 To N
VBScriptingK
For L = -
VBScriptingL
For M = S To T
VBScripti
Next
Next

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the LeCroy WaveRunner XI Series and is the answer not in the manual?

LeCroy WaveRunner XI Series Specifications

General IconGeneral
BrandLeCroy
ModelWaveRunner XI Series
CategoryTest Equipment
LanguageEnglish

Related product manuals