![LeCroy DDA-3000A Скачать руководство пользователя страница 292](http://html1.mh-extra.com/html/lecroy/dda-3000a/dda-3000a_operators-manual_1866311292.webp)
290
WM-OM-E Rev I
Variable Names
Upper and lower case have no significance in VBS, either in variable names or in keywords (the
names reserved by the system), but it is a good idea to be consistent about the spelling of a
variable name to avoid confusion. At least 36 characters may be used in a variable name. These
can include any combination of alphabetic and numeric characters, and the underscore character.
No other punctuation character may be used in a variable name.
Do not use
any of the following characters in a variable name:
! @ & $ # ? , * . { } ( ) [ ] = + - ^ % / ~ < > : ;
Just use alphanumerics and underscore, for example: Example_Name
If you have to introduce constants, give them sensible names, just like variables. For example, do
not write:
_
If RMS < 23169 Then OutputY = Y
Its meaning may not be obvious to someone else.
It is better to write something like this:
FullScale = 32767
RootTwo = Sqr (2.0)
MaxRMS = FullScale / RootTwo
. . . . .
If RMS < MaxRMS Then . . . . .
But to keep your scripts fast, leave definitions like this outside your loops.
General usage
Note that white space has no effect, so you can introduce spaces for clarity, except of course within
variable names, function names and other keywords. Indenting control statements can be a great
help in understanding a program. For example:
For K = Kstart To Kstop
X = K * Sqr (3)
For N = NStart To Nstop
Y = N * N
If Y < FullScale Then
. . . . . .
. . . . . .
End If ' End of main calculation
Next ' End of N loop
Содержание DDA-3000A
Страница 1: ...LECROY X STREAM OSCILLOSCOPES O P E R AT O R S M A N U A L SEPTEMBER 2006 ...
Страница 18: ...16 WM OM E Rev I BLANK PAGE ...
Страница 64: ...62 WM OM E Rev I icon in Channels dialog zooms one trace zooms all displayed traces ...
Страница 65: ...X Stream Operator s Manual WM OM E Rev I 63 then Math Setup then Measure Setup then Utilities Setup ...
Страница 80: ...78 WM OM E Rev I 4 Select a language 5 Click Next when the Wizard appears ...
Страница 81: ...X Stream Operator s Manual WM OM E Rev I 79 6 Select Complete setup ...
Страница 157: ...X Stream Operator s Manual WM OM E Rev I 155 ...
Страница 170: ...168 WM OM E Rev I 5 Read the status information in line StatusDescription ...
Страница 214: ...212 WM OM E Rev I Delay Parameter Find Range selected ...
Страница 263: ...X Stream Operator s Manual WM OM E Rev I 261 ...
Страница 284: ...282 WM OM E Rev I ...
Страница 285: ...X Stream Operator s Manual WM OM E Rev I 283 Using a Surface Plot Excel Example 5 ...
Страница 321: ...X Stream Operator s Manual WM OM E Rev I 319 Further Examples of MATLAB Waveform Functions Negate the input signal ...
Страница 324: ...322 WM OM E Rev I ...