standard
¶
This is the standard macro module
-
class
wa
(*args, **kwargs)[source]¶ Show all motor positions
-
class
wm
(*args, **kwargs)[source]¶ Show the position of the specified motors.
-
class
umv
(*args, **kwargs)[source]¶ Move motor(s) to the specified position(s) and update
-
class
ct
(*args, **kwargs)[source]¶ Count for the specified time on the active measurement group
-
class
uct
(*args, **kwargs)[source]¶ Count on the active measurement group and update
-
class
logmacro
(*args, **kwargs)[source]¶ Turn on/off logging of the spock output.
Note
The logmacro class has been included in Sardana on a provisional basis. Backwards incompatible changes (up to and including its removal) may occur if deemed necessary by the core developers
-
class
repeat
(*args, **kwargs)[source]¶ This macro executes as many repetitions of a set of macros as specified by nr parameter. The macros to be repeated can be given as parameters or as body hooks. If both are given first will be executed the ones given as parameters and then the ones given as body hooks. If nr has negative value, repetitions will be executed until you stop repeat macro.
Note
The repeat macro has been included in Sardana on a provisional basis. Backwards incompatible changes (up to and including removal of the macro) may occur if deemed necessary by the core developers.