260
SDA-OM-E Rev H
It is possible to make a For loop with steps greater than 1, as in the following example in which K
takes the values 3, 7, 11, 15, . . . . 83.
For K = 3 To 82 Step 4
AnyVBScripting
Next K
You may place loops inside one another (nested loops), but they must all use different control
variables. Example:
For K = 0 To N
VBScriptingK
For L = - 7 To 17
VBScriptingL
For M = S To T
VBScriptingM
Next
Next
Next
VBS keywords and functions
Note:
The following Items in
italics
do not apply to this instrument.
+
Add two values or concatenate two strings.
-
Subtract two values.
*
Multiply two values.
/
Divide two values.
\
Divide two values to obtain an integer result
Abs
Make absolute value.
Asc
Make ASCII value of a character.
Atn
Make tan
-1
of a value. Result in range from -
π
/2 to +
π
/2 radians.
Cdbl
Convert a value to double precision floating point.
Chr
Create a character from an integer in range 0 to 255.
Cint
Convert a value to nearest integer in the range -32768 to +32767
Clng
Convert a value to nearest long integer in the range -2
31
to +2
31
- 1.
Close
Close a file.
Cos
Make the cosine of an angle expressed in radians.
Csng
Convert a number to single precision floating point.
Cstr
Convert a variable to a string.
Exp
Raise e to the power of the input.
Get
Get a value from a file.
Input
Get some ASCII data from a file.
Instr
Find the position of a string in a longer string.
Int
Convert to nearest integer below the input value.
Left
Take some characters at the left end of a string.
Log
Take the natural logarithm of a positive value.
Ltrim
Remove spaces at the left end of a string.
Mid
Take or insert some characters in a string.
Summary of Contents for SDA
Page 1: ...SERIAL DATA ANALYZER OPERATOR S MANUAL December 2007 ...
Page 223: ...SDA Operator s Manual Example 6 SDA OM E Rev H 223 ...
Page 225: ...SDA Operator s Manual SDA OM E Rev H 225 ...
Page 246: ...246 SDA OM E Rev H ...
Page 247: ...SDA Operator s Manual Excel Example 5 Using a Surface Plot SDA OM E Rev H 247 ...
Page 279: ...SDA Operator s Manual Convolving two signals SDA OM E Rev H 279 ...
Page 310: ...The jitter wizard is accessed from the Analysis drop down menu 310 SDA OM E Rev H ...
Page 327: ...SDA Operator s Manual SDA OM E Rev H 327 ...
Page 328: ...328 SDA OM E Rev H ...
Page 394: ...394 SDA OM E Rev H ...