- abort Terminates the macro.
- checkPoint See the example in 6.1.1.
- createMacro(), see section 6.2.
- error(), prints an error message. The message is appended to
the MacroServer log file (
/var/tmp/ds.log/MacroServer_<node>.log
).
- execMacro() See section 6.2.
- getCommand Gets the command which invoked the macro.
- getEnv, setEnv, unsetEnv Get/set/delete a MacroServer environment variable, 13.3.4.
- getMacroNames Gets the list of available macros.
- getParentMacro Esp. useful in hooks.
self.getParentMacro().getCommand()
gets the scan command,
e.g.: dscan exp_dmy01 -0.005 0.005 10 0.1
- info Send a line to the info stream. The info stream can be monitored by the SardanaInfoViewer,
see 7.4.
- input Receive input from the user.
- output Print a line, 6.5.3.
- runMacro() See section 6.2.
- warning(), prints a warning message. The message is appended to
the MacroServer log file (
/var/tmp/ds.log/MacroServer_<node>.log
).