|
MACROS
The most powerful feature of Umeasure is its ability to run custom macros. By controlling the beamline, the microscope and the CCD, as well as other instruments, it is possible to remote control an experiment to your desire, and perform very complex tasks. The macro language is Jython, the "Java" version of Python. This approach guarantees high flexibily, enabling us to quickly and easily develop complex macros for user experiments. Several macros have been written through the years. They can be used to perform any routine measurement.
The microscope and beamline are controlled from Jython using Java classes (Operations.java and BeamlineOperations.java). For convenience of use, the classes API can be accessed from here:
Beamline Operations API;
Operations API
|
|
ABORTING MACROS
In order to stop a macro before acquisition is completed, go to the "acquire" menu and select "Abort macro". Before proceeding with the next measurement, it is essential to wait until the computer beeps and the message "macro aborted" is printed on the log window. Technically speaking, a macro is an independent thread. If not properly stopped will interfere with the next thread (macro).
|