Project

General

Profile

Create Leginon "Simple Application" » History » Revision 2

Revision 1 (Amber Herold, 04/23/2010 10:14 AM) → Revision 2/4 (Amber Herold, 04/27/2010 02:59 PM)

h1. 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| 



 ______ 

 [[Edit an existing application as an xml file|< Edit an existing application as an xml file]] | [["Calibrations" Application|"Calibrations" Application >]] 

 ______