Test Leginon on the Computer Controlling the Microscope » History » Version 3
Anchi Cheng, 05/22/2010 10:39 PM
1 | 1 | Amber Herold | h1. Test Leginon on the Computer Controlling the Microscope |
---|---|---|---|
2 | |||
3 | |||
4 | |||
5 | h2. Using a Gatan Camera |
||
6 | |||
7 | |||
8 | |||
9 | |||
10 | |||
11 | * Open Digital Micrograph (or check that the Tietz software is closed). |
||
12 | |||
13 | |||
14 | * insert the Gatan CCD in Digital Micrograph. |
||
15 | |||
16 | |||
17 | |||
18 | |||
19 | |||
20 | |||
21 | |||
22 | |||
23 | |||
24 | h2. Using a Tietz Camera |
||
25 | |||
26 | |||
27 | |||
28 | |||
29 | |||
30 | * Close Tietz TCL program |
||
31 | |||
32 | |||
33 | * Put camera switch box to select CCD. |
||
34 | |||
35 | 3 | Anchi Cheng | Make sure that you have Leginon installed and configured. |
36 | 1 | Amber Herold | |
37 | h2. Start Leginon on the Microscope computer & Import Magnifications |
||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | * scope> Start Leginon (Either with the shortcut on the Desktop or follow the |
||
44 | Start Menu-\Start\Programs\Leginon>Leginon) |
||
45 | |||
46 | |||
47 | * Leginon Setup Wizard> select "Create session" in session type. Even though you |
||
48 | have created a session for simulation test, if the other machine uses linux os, it is |
||
49 | better to create a new session so that the path mapping difference betwee Windows and |
||
50 | Linux does not cause confusion. |
||
51 | |||
52 | |||
53 | |||
54 | |||
55 | * Fill in session name and comments. Comments will appear in Viewers |
||
56 | |||
57 | |||
58 | * Select instrument and project, if project database is used. Image path is |
||
59 | automatically selected. |
||
60 | |||
61 | |||
62 | * Image path is automatically selected based on your leginon.cfg file. |
||
63 | |||
64 | |||
65 | |||
66 | |||
67 | |||
68 | |||
69 | * Choose "Finish" in the set up wizard to start the session. |
||
70 | |||
71 | |||
72 | * Leginon/Main menu/Application> select "Run...." and choose the application |
||
73 | named "Manual", both "main" and "scope" launchers will be set to the scope computer, |
||
74 | and then launch the application. |
||
75 | |||
76 | |||
77 | * Leginon/Node Selector> select Instrument node. |
||
78 | |||
79 | |||
80 | * Leginon/Instrument> check that TEM is selected to display the |
||
81 | parameters. |
||
82 | |||
83 | |||
84 | * Left-click on the tool "Get Magnification". |
||
85 | |||
86 | |||
87 | |||
88 | !http://emg.nysbc.org/software/leginon/images/icons/calculate.png! |
||
89 | |||
90 | |||
91 | |||
92 | This will import the valid TEM magnification from the microscope into the |
||
93 | database. |
||
94 | |||
95 | |||
96 | |||
97 | |||
98 | |||
99 | |||
100 | * During Leginon run an Application Error Message may pop up saying |
||
101 | |||
102 | <blockquote> |
||
103 | |||
104 | _"Exception EAccessViolation in module adaExp.exe at ...._ |
||
105 | |||
106 | |||
107 | _Access violation at address xxxx in module 'adaExp.exe'. Read of address |
||
108 | xxxx"_ |
||
109 | |||
110 | </blockquote> |
||
111 | |||
112 | Do NOT touch this message box, or leginon client will need restarting. |
||
113 | |||
114 | |||
115 | |||
116 | |||
117 | |||
118 | h2. Acquiring the first real image |
||
119 | |||
120 | |||
121 | |||
122 | |||
123 | |||
124 | * scope> make sure you have beam and something other than a blank to image on |
||
125 | the CCD. |
||
126 | |||
127 | |||
128 | * Leginon/Application/Run> select Manual Application. |
||
129 | |||
130 | |||
131 | * Leginon> From the list of nodes on the left panel, select Manual node. |
||
132 | |||
133 | |||
134 | * Leginon/Manual> Open the "Setting" tool and configure the settings: |
||
135 | |||
136 | |||
137 | Your TEM and CCDCamera should be available for selection. |
||
138 | |||
139 | |||
140 | Acquisition/Camera Configuration- use one of the preconfigured selection for |
||
141 | binning and size such 512x8. |
||
142 | |||
143 | |||
144 | Save image to the database=yes. |
||
145 | |||
146 | |||
147 | Leave the rest of the configuration to default. |
||
148 | |||
149 | |||
150 | * You should see your first real image acquired through Leginon in the image |
||
151 | display panel. |
||
152 | |||
153 | |||
154 | |||
155 | |||
156 | |||
157 | |||
158 | |||
159 | |||
160 | |||
161 | h2. Check on the Web viewer |
||
162 | |||
163 | |||
164 | |||
165 | Follow the <link linkend="AppManual_webviewer">instruction in Manual Application |
||
166 | Chapter</link>. |
||
167 | |||
168 | |||
169 | |||
170 | |||
171 | |||
172 | h2. Closing Leginon program on Windows |
||
173 | |||
174 | |||
175 | |||
176 | The best way to close Leginon program is to close the python command window (normally |
||
177 | black) that shows up when the Leginon GUI appears since Leginon GUI window on Windows is |
||
178 | controlled through the python command window |
||
179 | |||
180 | |||
181 | If you first close the GUI window, the python process is not ended. Therefore, the |
||
182 | latter become frozen and you will have to wait for TaskManager to ask you to close the |
||
183 | broken process. |
||
184 | |||
185 | |||
186 | |||
187 | |||
188 | |||
189 | h2. Problem solving for the first mircoscope test |
||
190 | |||
191 | |||
192 | |||
193 | Most common problem at this point is that your TEM or CCDCamera does not show up in |
||
194 | Leginon for use. It is caused by lack of proper functioning or non-communicating microscope |
||
195 | scripting or CCD drivers to Leginon system's python wrapper in pyScope package. See <link |
||
196 | linkend="InstT_testrun">Installation Troubleshooting</link> and "pyScope Bulletin Board regarding |
||
197 | "testing if pyScope is working"":http://emg.nysbc.org/bb/viewforum.php?t=246 for more. |
||
198 | |||
199 | |||
200 | If everything goes smoothly, test the network connection as in the next section and then |
||
201 | do the same above image acquisition test through from the remote computer. |
||
202 | 2 | Amber Herold | |
203 | ______ |
||
204 | |||
205 | [[Test Leginon with Simulator|< Test Leginon with Simulator]] | [[Test Network Connection Between Remote and Microscope Computers|Test Network Connection Between Remote and Microscope Computers >]] |
||
206 | |||
207 | ______ |