Project

General

Profile

Use the Application Editor to create Leginon applications » History » Version 11

Anchi Cheng, 05/07/2017 02:14 PM

1 8 Anchi Cheng
h1. Use Application Editor in Leginon to create or edit Leginon applications
2 1 Amber Herold
3 3 Eric Hou
#  Start a leginon session
4
 
5
#  Select Menu/Application/Edit...> to start a new application
6
 
7
#  Or Select Menu/Application/Load> to load an existing application for editing
8
 
9 6 Anchi Cheng
#  Save the application through Application/Save> or Save As>
10
11
h2. What you can do:
12
13 9 Anchi Cheng
h3. Create a new application based on an existing one
14
15
# Load the existing application
16
# Rename the application
17
# Make changes of node alias, binding and etc.
18
# *IMPORTANT* Left click Application/Save As> and check the application name before confirmation.
19
20 11 Anchi Cheng
h3.  Rename an application, a launcher, or a node
21 10 Anchi Cheng
22 1 Amber Herold
First selecting the item with left click and then click on it again to edit.
23
24 9 Anchi Cheng
h3.  Add a Launcher.
25 10 Anchi Cheng
26 3 Eric Hou
**  Right-click and hold on the name of the application to select "Add Launcher".
27 1 Amber Herold
**  Rename the launcher to your choice by selecting the launcher name with left click and then click on it again to edit
28 10 Anchi Cheng
29 1 Amber Herold
h3.  Add a node within a Launcher.
30 10 Anchi Cheng
31 3 Eric Hou
!addnode.png!
32 1 Amber Herold
**  Right-click on the launcher to select "Add Node"
33 3 Eric Hou
**  Enter an descriptive Alias name for the node. For example, "Instrument" for the "EM" node.
34 9 Anchi Cheng
**  Choose the Node Class from the pull-down list.
35 10 Anchi Cheng
36 3 Eric Hou
h3. Add Event Bindings between nodes.
37 10 Anchi Cheng
38 3 Eric Hou
**  Right-click on the node the event binding is originated from to select "Bind Event..."
39
**  Add a Presets Manager node aliased as "pm" in the same launcher.
40
**  Select in the pull-down menu where the event is bound to under "To Node".
41 2 Amber Herold
**  Select the event to bind from the pull-down list of the valid event bindings.
42
43 1 Amber Herold
______
44 2 Amber Herold
45 7 Anchi Cheng
[[Edit an existing application as an xml file|Edit an existing application as an xml file >]]
46 2 Amber Herold
47
______