Project

General

Profile

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

Anchi Cheng, 05/22/2010 11:07 PM

1 1 Amber Herold
h1. Test Leginon on the Computer Controlling the Microscope
2
3
h2. Using a Gatan Camera
4
5
*  Open Digital Micrograph (or check that the Tietz software is closed).
6
7
*  insert the Gatan CCD in Digital Micrograph.
8
9
h2. Using a Tietz Camera
10
11
*  Close Tietz TCL program
12
13
*  Put camera switch box to select CCD.
14
15
h2. Make sure that you have [[Installation on the microscope computer|Leginon installed and configured ]]
16
17
h2. Start Leginon on the Microscope computer & Import Magnifications
18
19 5 Anchi Cheng
*  scope> Start Leginon (Either with the shortcut on the Desktop or follow the Start Menu-\Start\Programs\Leginon>Leginon)
20 1 Amber Herold
21 5 Anchi Cheng
*  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.
22 1 Amber Herold
23
*  Fill in session name and comments. Comments will appear in Viewers
24
25 6 Anchi Cheng
*  Select instrument and project.
26 1 Amber Herold
27
*  Image path is automatically selected based on your leginon.cfg file.
28
29
*  Choose "Finish" in the set up wizard to start the session.
30
31 5 Anchi Cheng
*  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.
32 1 Amber Herold
33
*  Leginon/Node Selector> select Instrument node.
34
35 5 Anchi Cheng
*  Leginon/Instrument> check that TEM is selected to display the parameters.
36 1 Amber Herold
37 5 Anchi Cheng
*  Left-click on the tool "Get Magnification". !http://emg.nysbc.org/software/leginon/images/icons/calculate.png!
38 1 Amber Herold
39 5 Anchi Cheng
This will import the valid TEM magnification from the microscope into the database.
40 1 Amber Herold
41
* During Leginon run an Application Error Message may pop up saying
42
43 5 Anchi Cheng
<pre>
44 1 Amber Herold
45 5 Anchi Cheng
Exception EAccessViolation in module adaExp.exe at ....
46
Access violation at address xxxx in module 'adaExp.exe'. Read of address xxxx
47 1 Amber Herold
48 5 Anchi Cheng
</pre>
49 1 Amber Herold
50
Do NOT touch this message box, or leginon client will need restarting.
51
52
h2. Acquiring the first real image
53
54
*  scope> make sure you have beam and something other than a blank to image on
55
the CCD.
56
57
*  Leginon/Application/Run> select Manual Application.
58
59
*  Leginon> From the list of nodes on the left panel, select Manual node.
60
61
*  Leginon/Manual> Open the "Setting" tool and configure the settings:
62
63 7 Anchi Cheng
> > Your TEM and CCDCamera should be available for selection.
64 1 Amber Herold
65 7 Anchi Cheng
> > Acquisition/Camera Configuration- use one of the preconfigured selection for binning and size such 512x8.
66 1 Amber Herold
67 7 Anchi Cheng
> > Save image to the database=yes.
68 1 Amber Herold
69 7 Anchi Cheng
> > Leave the rest of the configuration to default.
70 1 Amber Herold
71
*  You should see your first real image acquired through Leginon in the image
72
display panel.
73
74 8 Anchi Cheng
h2. Check on the [[appion:Image_Viewers|Web viewer]]
75 1 Amber Herold
76
h2. Closing Leginon program on Windows
77
78 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
79 1 Amber Herold
80 5 Anchi Cheng
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.
81 1 Amber Herold
82
h2. Problem solving for the first mircoscope test
83
84 8 Anchi Cheng
Most common problem at this point is that your TEM or CCDCamera does not show up in Leginon for use. It is caused by lack of proper functioning or non-communicating microscope scripting or CCD drivers to Leginon system's python wrapper in pyscope package. See [[Installation Troubleshooting]] and  "pyScope Bulletin Board regarding
85
testing if pyscope is working":http://emg.nysbc.org/bb/viewforum.php?t=246  for more.
86 1 Amber Herold
87
88 5 Anchi Cheng
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.
89 2 Amber Herold
90
______
91
92
[[Test Leginon with Simulator|< Test Leginon with Simulator]] | [[Test Network Connection Between Remote and Microscope Computers|Test Network Connection Between Remote and Microscope Computers >]]
93
94
______