Z E S ZIMMER Electronic Systems GmbH Chapter 4
61
With Load you can recall a previously saved script.
4.4.4.1 General
The script editor is similar like a simple programming language. The code is entered line by
line. It is allowed to have several instructions in one line. Each instruction has to end with a
‘
;
’. Therefore an instruction can be written in more than one line. It is also allowed to have
white spaces in the instruction as long as the keywords and identifiers are not divided by them.
At the end of a line an automatic carriage return and linefeed are performed. A ‘
#
’ indicates the
begin of a comment. The comment lasts, until a return is detected (can be entered with new
line). An automatic inserted newline will NOT end the comment!
The instruction
v0=Utrms*Itrms;
is identical to
v0 = Utrms* Itrms ;
or
v0 =
Utrms * Itrms;
<- deletes the character left of the cursor. If the cursor is at the first position of a line, it jumps
to the last position of the previous line.
You leave the script editor by pressing End. The program is now checked for correct syntax.
Above the editor window you see then how many percent of the available memory space have
been used.
The script (which includes the formulas) is executed when all values of a cycle have been
calculated.
With Reset all variables are preset to 0.0 but the script is still valid. This is important if you use
recursive formulas or conditions.
4.4.4.2 Grammar
4.4.4.2.1 Instructions
Instructions control the program flow while execution. If there are no conditioned instructions,
the flow is in the same order like the listing. The results of an instruction can be used
afterwards.
Содержание LMG450
Страница 1: ...4 Channel LMG450 Power Meter User manual Status 2009 02 17...
Страница 2: ......
Страница 4: ......
Страница 5: ......
Страница 6: ......
Страница 8: ......
Страница 10: ......
Страница 18: ......
Страница 22: ......
Страница 36: ......
Страница 76: ......
Страница 102: ......
Страница 112: ......
Страница 118: ......
Страница 124: ......
Страница 230: ......
Страница 240: ......
Страница 270: ...System design LMG450 270 14 2 Functional block diagram LMG450 Figure 47 Functional block diagram LMG450...
Страница 292: ......