Create Leginon "Simple Application" » History » Version 1
Amber Herold, 04/23/2010 10:14 AM
1 | 1 | Amber Herold | h1. Create Leginon "Simple Application" |
---|---|---|---|
2 | |||
3 | |||
4 | |||
5 | 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. |
||
6 | |||
7 | |||
8 | |||
9 | * 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. |
||
10 | |||
11 | |||
12 | * Add two launchers with the aliases "scope" and "main." |
||
13 | |||
14 | |||
15 | * Add nodes with the aliases listed in the table below. |
||
16 | |||
17 | |||
18 | * Add event bindings according to the table below. |
||
19 | |||
20 | |||
21 | * Rename the application "Simple Acquisition." |
||
22 | |||
23 | |||
24 | * Click Apply and Save. |
||
25 | |||
26 | |||
27 | |||
28 | |||
29 | |_.Node Class:|_.Node alias:|_.Launcher:| |
||
30 | |Corrector|cor|main| |
||
31 | |SimpleAcquisition|simple_acq|main| |
||
32 | |PresetsManager|pm|main| |
||
33 | |EM|em|scope| |
||
34 | |||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |_.Node to alias:|_.Event Binding:|_.Node from alias:| |
||
42 | |pm|ChangePresetEvent|simple_acq| |
||
43 | |simple_acq|PresetChangedEvent|em| |