Project

General

Profile

Gatan on Windows-32 » History » Version 10

Anchi Cheng, 02/02/2016 12:59 PM

1 1 Anchi Cheng
h1. Gatan on Windows-32
2
3 10 Anchi Cheng
See [[Gatan on Windows-32 with TecnaiCCD.dll]]
4 9 Anchi Cheng
* This is only known to work for Gatan camera associate with FEI microscopes.  For JEOL microscope, See [[Gatan on Windows-32 with dmsem]]
5 1 Anchi Cheng
6
h2. Extra Package and Installation
7
8
|_.program/package|_.notes|
9
|TecnaiCCD.dll |(Should come with the microscope).|
10
11
{{include(comtypes installer)}}
12
13
h3. Register TecnaiCCD.dll  (It may have been registered already)
14
15
*  From the command prompt, run the following commands.  You may need to enter the full path of the dll:
16
<pre>REGSVR32 TecnaiCCD.dll</pre>
17
18
h2. instruments.cfg
19
20
<pre>
21
[camera]
22
class: gatan.Gatan
23
zplane: 50
24
height: 4096
25
width: 4096
26
</pre>
27
28 3 Anchi Cheng
* height and width depend on your specific camera
29 1 Anchi Cheng
see [[instrumentscfg_for_22|instruments.cfg z plane configuration]] for more explanation.
30
31 4 Anchi Cheng
If you have more than one camera controlled through DM, you need to find its id and use class gatan.Gatan0 and gatan.Gatan1 etc in the configuration to distinguish them and assign different zplanes so the higher ones can retract when the lower one is asked to acquire image.  see #2201 for history of this issue
32
33 1 Anchi Cheng
h2. Setup
34
35
* Set camera configuration to give the [[Leginon Image Orientation|standard Leginon orientation]].
36
* Set the [[Low_dose_shutter_configuration_for_Gatan_camera_in_Digital_Micrograph_program|shutter configuration in DM]] to protect the specimen when camera is not taking images
37
38
h2. Testing with pyscope
39
40
In python command
41
<pre>
42 7 Anchi Cheng
from pyscope import gatan
43 5 Anchi Cheng
g = gatan.Gatan()
44 1 Anchi Cheng
g.setExposureTime(200)
45
g.getImage()
46
</pre>
47
48
You should get a bunch of numbers in a numpy array.
49
50
h2. Programs to open before Leginon Client: Digital Micrograph