Test Leginon on the Computer Controlling the Microscope » History » Version 2
Amber Herold, 04/23/2010 02:09 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 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | h2. Set up instruments.cfg in the installed pyScope folder |
||
44 | |||
45 | |||
46 | |||
47 | |||
48 | |||
49 | * goto C:\Python25\Lib\Site-Packages\pyScope |
||
50 | |||
51 | |||
52 | * open instruments.cfg with a text editor and add the following according to your |
||
53 | tem and camera. Enter only what you have! |
||
54 | |||
55 | |||
56 | For example, if your scope uses tecnai scripting and has both a Gatan camera |
||
57 | interfaced by Digital Micrograph and a side-entry-above the specimen Tietz Fast Scan |
||
58 | camera, you should enter the following. |
||
59 | |||
60 | <pre>[Tem] |
||
61 | tecnai.Tecnai |
||
62 | |||
63 | [Cam1] |
||
64 | gatan.Gatan |
||
65 | |||
66 | [Cam2] |
||
67 | tietz.TiezFastScan</pre> |
||
68 | |||
69 | |||
70 | |||
71 | |||
72 | |||
73 | |||
74 | |||
75 | |||
76 | h2. Start Leginon on the Microscope computer & Import Magnifications |
||
77 | |||
78 | |||
79 | |||
80 | |||
81 | |||
82 | * scope> Start Leginon (Either with the shortcut on the Desktop or follow the |
||
83 | Start Menu-\Start\Programs\Leginon>Leginon) |
||
84 | |||
85 | |||
86 | * Leginon Setup Wizard> select "Create session" in session type. Even though you |
||
87 | have created a session for simulation test, if the other machine uses linux os, it is |
||
88 | better to create a new session so that the path mapping difference betwee Windows and |
||
89 | Linux does not cause confusion. |
||
90 | |||
91 | |||
92 | |||
93 | |||
94 | * Fill in session name and comments. Comments will appear in Viewers |
||
95 | |||
96 | |||
97 | * Select instrument and project, if project database is used. Image path is |
||
98 | automatically selected. |
||
99 | |||
100 | |||
101 | * Image path is automatically selected based on your leginon.cfg file. |
||
102 | |||
103 | |||
104 | |||
105 | |||
106 | |||
107 | |||
108 | * Choose "Finish" in the set up wizard to start the session. |
||
109 | |||
110 | |||
111 | * Leginon/Main menu/Application> select "Run...." and choose the application |
||
112 | named "Manual", both "main" and "scope" launchers will be set to the scope computer, |
||
113 | and then launch the application. |
||
114 | |||
115 | |||
116 | * Leginon/Node Selector> select Instrument node. |
||
117 | |||
118 | |||
119 | * Leginon/Instrument> check that TEM is selected to display the |
||
120 | parameters. |
||
121 | |||
122 | |||
123 | * Left-click on the tool "Get Magnification". |
||
124 | |||
125 | |||
126 | |||
127 | !http://emg.nysbc.org/software/leginon/images/icons/calculate.png! |
||
128 | |||
129 | |||
130 | |||
131 | This will import the valid TEM magnification from the microscope into the |
||
132 | database. |
||
133 | |||
134 | |||
135 | |||
136 | |||
137 | |||
138 | |||
139 | * During Leginon run an Application Error Message may pop up saying |
||
140 | |||
141 | <blockquote> |
||
142 | |||
143 | _"Exception EAccessViolation in module adaExp.exe at ...._ |
||
144 | |||
145 | |||
146 | _Access violation at address xxxx in module 'adaExp.exe'. Read of address |
||
147 | xxxx"_ |
||
148 | |||
149 | </blockquote> |
||
150 | |||
151 | Do NOT touch this message box, or leginon client will need restarting. |
||
152 | |||
153 | |||
154 | |||
155 | |||
156 | |||
157 | h2. Acquiring the first real image |
||
158 | |||
159 | |||
160 | |||
161 | |||
162 | |||
163 | * scope> make sure you have beam and something other than a blank to image on |
||
164 | the CCD. |
||
165 | |||
166 | |||
167 | * Leginon/Application/Run> select Manual Application. |
||
168 | |||
169 | |||
170 | * Leginon> From the list of nodes on the left panel, select Manual node. |
||
171 | |||
172 | |||
173 | * Leginon/Manual> Open the "Setting" tool and configure the settings: |
||
174 | |||
175 | |||
176 | Your TEM and CCDCamera should be available for selection. |
||
177 | |||
178 | |||
179 | Acquisition/Camera Configuration- use one of the preconfigured selection for |
||
180 | binning and size such 512x8. |
||
181 | |||
182 | |||
183 | Save image to the database=yes. |
||
184 | |||
185 | |||
186 | Leave the rest of the configuration to default. |
||
187 | |||
188 | |||
189 | * You should see your first real image acquired through Leginon in the image |
||
190 | display panel. |
||
191 | |||
192 | |||
193 | |||
194 | |||
195 | |||
196 | |||
197 | |||
198 | |||
199 | |||
200 | h2. Check on the Web viewer |
||
201 | |||
202 | |||
203 | |||
204 | Follow the <link linkend="AppManual_webviewer">instruction in Manual Application |
||
205 | Chapter</link>. |
||
206 | |||
207 | |||
208 | |||
209 | |||
210 | |||
211 | h2. Closing Leginon program on Windows |
||
212 | |||
213 | |||
214 | |||
215 | The best way to close Leginon program is to close the python command window (normally |
||
216 | black) that shows up when the Leginon GUI appears since Leginon GUI window on Windows is |
||
217 | controlled through the python command window |
||
218 | |||
219 | |||
220 | If you first close the GUI window, the python process is not ended. Therefore, the |
||
221 | latter become frozen and you will have to wait for TaskManager to ask you to close the |
||
222 | broken process. |
||
223 | |||
224 | |||
225 | |||
226 | |||
227 | |||
228 | h2. Problem solving for the first mircoscope test |
||
229 | |||
230 | |||
231 | |||
232 | Most common problem at this point is that your TEM or CCDCamera does not show up in |
||
233 | Leginon for use. It is caused by lack of proper functioning or non-communicating microscope |
||
234 | scripting or CCD drivers to Leginon system's python wrapper in pyScope package. See <link |
||
235 | linkend="InstT_testrun">Installation Troubleshooting</link> and "pyScope Bulletin Board regarding |
||
236 | "testing if pyScope is working"":http://emg.nysbc.org/bb/viewforum.php?t=246 for more. |
||
237 | |||
238 | |||
239 | If everything goes smoothly, test the network connection as in the next section and then |
||
240 | do the same above image acquisition test through from the remote computer. |
||
241 | 2 | Amber Herold | |
242 | ______ |
||
243 | |||
244 | [[Test Leginon with Simulator|< Test Leginon with Simulator]] | [[Test Network Connection Between Remote and Microscope Computers|Test Network Connection Between Remote and Microscope Computers >]] |
||
245 | |||
246 | ______ |