Project

General

Profile

Test Leginon on the Computer Controlling the Microscope » History » Version 25

Anchi Cheng, 08/12/2014 02:51 PM

1 1 Amber Herold
h1. Test Leginon on the Computer Controlling the Microscope
2
3
h2. Using a Gatan Camera
4
5 19 Anchi Cheng
#  Open Digital Micrograph
6 15 Amber Herold
 
7
#  insert the Gatan CCD in Digital Micrograph.
8 1 Amber Herold
9
h2. Using a Tietz Camera
10
11
#  Close Tietz TCL program
12 19 Anchi Cheng
 
13
#  Put camera switch box to select CCD.
14
15
h2. Using a Direct Electron DE-12 Camera
16
17
#  Start DirectElectronAPI.exe and MicroManager
18 20 Anchi Cheng
 
19 21 Anchi Cheng
#  Set the desired *Frames Per Second* and cool down the camera to the desired temperature in MicroManager
20 20 Anchi Cheng
 
21 15 Amber Herold
#  Close MicroManager but leave DirectElectronAPI.exe running
22 1 Amber Herold
23 25 Anchi Cheng
h2. Make sure that you have [[Installation on the microscope computers|Leginon installed and configured ]]
24 1 Amber Herold
25
h2. Start Leginon on the Microscope computer and Import Magnifications
26
27 15 Amber Herold
#  scope> Start Leginon (Either with the shortcut on the Desktop or follow the Start Menu-\Start\Programs\Leginon>Leginon)
28
 
29
#  Leginon Setup Wizard> select "Create session" in session type. Even though you have created a session for simulation test, it is better to create a new session so that the path mapping difference betwee Windows and Linux does not cause confusion.
30
 
31 1 Amber Herold
**  Fill in session name and comments. Comments will appear in Viewers
32 15 Amber Herold
 
33 10 Amber Herold
**  Select instrument and project.
34 15 Amber Herold
 
35 1 Amber Herold
**  Image path is automatically selected based on your [[Configure leginon.cfg|leginon.cfg]] file.
36 15 Amber Herold
 
37 24 Anchi Cheng
#  Choose "Finish" in the set up wizard to start the session.  You should see a gui like this:
38 23 Anchi Cheng
!LeginonMainGUI.png!
39 15 Amber Herold
#  Leginon/Main menu/Application> select "Run...." and choose the application named "Manual", both "main" and "scope" launchers will be set to the scope computer, and then launch the application.
40
 
41
#  Leginon/Node Selector> select Instrument node.
42
 
43
#  Leginon/Instrument> check that TEM is selected to display the parameters.
44
 
45
#  Left-click on the tool "Get Magnification". !http://emg.nysbc.org/software/leginon/images/icons/calculate.png!
46
 
47 10 Amber Herold
This will import the valid TEM magnification from the microscope into the database.
48 15 Amber Herold
 
49 22 Anchi Cheng
*Note:* If you have installed adaExp.exe for film exposure, an Application Error Message may pop up saying
50 15 Amber Herold
 
51 1 Amber Herold
<pre>
52 5 Anchi Cheng
53
Exception EAccessViolation in module adaExp.exe at ....
54 1 Amber Herold
Access violation at address xxxx in module 'adaExp.exe'. Read of address xxxx
55
56
</pre>
57 15 Amber Herold
&nbsp;
58 1 Amber Herold
Do NOT touch this message box, or leginon client will need restarting.
59
60 10 Amber Herold
h2. Acquiring the first real image
61 1 Amber Herold
62 22 Anchi Cheng
#  scope> make sure you have beam and something other than a blank to image on the digital camera.
63 15 Amber Herold
&nbsp;
64
#  Leginon/Application/Run> select Manual Application.
65
&nbsp;
66
#  Leginon> From the list of nodes on the left panel, select Manual node.
67
&nbsp;
68
#  Leginon/Manual> Open the "Setting" tool and configure the settings:
69
&nbsp;
70 22 Anchi Cheng
** Your TEM and Digital Camera should be available for selection.
71 15 Amber Herold
&nbsp;
72 17 Amber Herold
** Acquisition/Camera Configuration- use one of the preconfigured selection for binning and size such 512x8.
73 15 Amber Herold
&nbsp;
74 17 Amber Herold
** Save image to the database=yes.
75 15 Amber Herold
&nbsp;
76 17 Amber Herold
** Leave the rest of the configuration to default.
77 15 Amber Herold
&nbsp;
78
#  You should see your first real image acquired through Leginon in the image
79 13 Amber Herold
display panel.
80 1 Amber Herold
81
h2. Check on the [[Using_the_Web_viewer|Web viewer]]
82
83 5 Anchi Cheng
h2. Closing Leginon program on Windows
84 1 Amber Herold
85 5 Anchi Cheng
The best way to close Leginon program is to close the python command window (normally black) that shows up when the Leginon GUI appears since Leginon GUI window on Windows is controlled through the python command window
86 1 Amber Herold
87
If you first close the GUI window, the python process is not ended. Therefore, the latter become frozen and you will have to wait for TaskManager to ask you to close the broken process.
88
89 14 Amber Herold
h2. Problem solving for the first mircoscope test
90 1 Amber Herold
91 22 Anchi Cheng
Most common problem at this point is that your TEM or Digital Camera does not show up in Leginon for use. It is caused by lack of proper functioning or non-communicating microscope scripting or camera drivers to Leginon system's python wrapper in pyscope package. See [[Installation Troubleshooting]] and  "pyScope Bulletin Board regarding testing if pyscope is working":http://emg.nysbc.org/boards/7/topics/607  for more.
92 5 Anchi Cheng
93 2 Amber Herold
94
If everything goes smoothly, test the network connection as in the next section and then do the same above image acquisition test through from the remote computer.
95
96
______
97
98
[[Test Leginon with Simulator|< Test Leginon with Simulator]] | [[Test Network Connection Between Remote and Microscope Computers|Test Network Connection Between Remote and Microscope Computers >]]
99 1 Amber Herold
100
______