Actions
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 Use the Application Editor to create Leginon applications 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.
Table 18.1. Simple Application Nodes:¶
Node Class: | Node alias: | Launcher: |
---|---|---|
Corrector | cor | main |
SimpleAcquisition | simple_acq | main |
PresetsManager | pm | main |
EM | em | scope |
Table 18.2. Simple Application Event Bindings:¶
Node to alias: | Event Binding: | Node from alias: |
---|---|---|
pm | ChangePresetEvent | simple_acq |
simple_acq | PresetChangedEvent | em |
< Import/Export Application Settings as json file | "Calibrations" Application >
Updated by Anchi Cheng almost 7 years ago · 4 revisions