Download User manual

Transcript
SRON { SPEX
User's/Tutorial Manual
Document:
Date:
Issue:
SPEX Log File Structure
SRON/SPEX/TRUM
April 24, 1995
Version 1.06
Page 130 of 131
....
exe NAME lename
exe OPEN
....
where lename is the explicit le name of the log le, without the extension *.com of course. After
the line containing exe OPEN commands will follow that need to be executed after the execution of
the commands in the log le named lename.
Note that whenever SPEX reads from one log le and, at the same time, writes to another log le,
the commands that were read will not be stored again. In this situation, the same construction as
presented above may be used.
7.4 Using Log Files
It is important to know that whenever log les are used to execute commands, the menus will not be
displayed when SPEX is run in terminal mode.
Various examples of log les can be found in chapter 2 of this manual and in document SRON/SPEX/TRCB01 .
7.4.1 Error handling
When SPEX encounters an error in a log le, the program will return immediately to the log le
executing the specic log le. When the log le was executed from the interactive mode, SPEX will
return to the interactive mode. In both situations, SPEX will report an error in the log le and all
consecutive commands will be disregarded. SPEX returns to the menu that was called last by the log
le.
When SPEX has executed a log le succesfully, this will be reported too and SPEX will return to the
menu that was called last by the log le.