Project

General

Profile

Gatan on Windows-32 with TecnaiCCDdll » History » Version 2

Anchi Cheng, 02/02/2016 01:04 PM

1 1 Anchi Cheng
h1. Gatan on Windows-32 with TecnaiCCD.dll
2
3
* TecnaiCCD.dll is provided by FEI to work with Gatan camera.  This installation instruction is known to work when the camera control is on
4 2 Anchi Cheng
the same computer as the FEI scope control.
5
6
* For JEOL microscope, or for camera separated from scope PC, [[Gatan on Windows-32 with dmsem]] may be easier.
7 1 Anchi Cheng
8
h2. Extra Package and Installation
9
10
|_.program/package|_.notes|
11
|TecnaiCCD.dll |(Should come with the microscope).|
12
13
{{include(comtypes installer)}}
14
15
h3. Register TecnaiCCD.dll  (It may have been registered already)
16
17
*  From the command prompt, run the following commands.  You may need to enter the full path of the dll:
18
<pre>REGSVR32 TecnaiCCD.dll</pre>
19
20
h2. instruments.cfg
21
22
<pre>
23
[camera]
24
class: gatan.Gatan
25
zplane: 50
26
height: 4096
27
width: 4096
28
</pre>
29
30
* height and width depend on your specific camera
31
see [[instrumentscfg_for_22|instruments.cfg z plane configuration]] for more explanation.
32
33
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
34
35
h2. Setup
36
37
* Set camera configuration to give the [[Leginon Image Orientation|standard Leginon orientation]].
38
* 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
39
40
h2. Testing with pyscope
41
42
In python command
43
<pre>
44
from pyscope import gatan
45
g = gatan.Gatan()
46
g.setExposureTime(200)
47
g.getImage()
48
</pre>
49
50
You should get a bunch of numbers in a numpy array.
51
52
h2. Programs to open before Leginon Client: Digital Micrograph