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.
Summary of Contents for LMG450
Page 1: ...4 Channel LMG450 Power Meter User manual Status 2009 02 17...
Page 2: ......
Page 4: ......
Page 5: ......
Page 6: ......
Page 8: ......
Page 10: ......
Page 18: ......
Page 22: ......
Page 36: ......
Page 76: ......
Page 102: ......
Page 112: ......
Page 118: ......
Page 124: ......
Page 230: ......
Page 240: ......
Page 292: ......