Create Leginon "Simple Application" » History » Version 3
Eric Hou, 06/24/2010 04:08 PM
1 | 1 | Amber Herold | h1. Create Leginon "Simple Application" |
---|---|---|---|
2 | |||
3 | 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. |
||
4 | |||
5 | 3 | Eric Hou | * Create a blank Leginon application called "Simple Application." Refer to [[Use_the_Application_Editor_to_create_Leginon_applications|Use the Application Editor to create Leginon applications]] to create this blank application and for help with the instructions below. |
6 | 1 | Amber Herold | |
7 | * Add two launchers with the aliases "scope" and "main." |
||
8 | |||
9 | * Add nodes with the aliases listed in the table below. |
||
10 | |||
11 | * Add event bindings according to the table below. |
||
12 | |||
13 | * Rename the application "Simple Acquisition." |
||
14 | |||
15 | * Click Apply and Save. |
||
16 | |||
17 | 3 | Eric Hou | h3. Table 18.1. Simple Application Nodes: |
18 | 1 | Amber Herold | |
19 | |_.Node Class:|_.Node alias:|_.Launcher:| |
||
20 | |Corrector|cor|main| |
||
21 | |SimpleAcquisition|simple_acq|main| |
||
22 | |PresetsManager|pm|main| |
||
23 | |EM|em|scope| |
||
24 | |||
25 | 3 | Eric Hou | h3. Table 18.2. Simple Application Event Bindings: |
26 | 1 | Amber Herold | |
27 | |_.Node to alias:|_.Event Binding:|_.Node from alias:| |
||
28 | 2 | Amber Herold | |pm|ChangePresetEvent|simple_acq| |
29 | |simple_acq|PresetChangedEvent|em| |
||
30 | |||
31 | ______ |
||
32 | |||
33 | [[Edit an existing application as an xml file|< Edit an existing application as an xml file]] | [["Calibrations" Application|"Calibrations" Application >]] |
||
34 | |||
35 | ______ |