Actions
Create Leginon "Simple Application" » History » Revision 1
Revision 1/4
| Next »
Amber Herold, 04/23/2010 10:14 AM
Create Leginon "Simple Application"¶
This application is meant to demonstrate how to create applications with event bindings in Leginon. This application has little functionality other than being able to take one image at a time at a given preset.
- Create a blank Leginon application called "Simple Application." Refer to <link linkend="createapp">Use the Application Editor to create Leginon applications</link> to create this blank application and for help with the instructions below.
- Add two launchers with the aliases "scope" and "main."
- Add nodes with the aliases listed in the table below.
- Add event bindings according to the table below.
- Rename the application "Simple Acquisition."
- Click Apply and Save.
Node Class: | Node alias: | Launcher: |
---|---|---|
Corrector | cor | main |
SimpleAcquisition | simple_acq | main |
PresetsManager | pm | main |
EM | em | scope |
Node to alias: | Event Binding: | Node from alias: |
---|---|---|
pm | ChangePresetEvent | simple_acq |
simple_acq | PresetChangedEvent | em |
Updated by Amber Herold over 14 years ago · 1 revisions