Project

General

Profile

Gatan on Windows-32 » History » Revision 10

Revision 9 (Anchi Cheng, 02/02/2016 12:35 PM) → Revision 10/14 (Anchi Cheng, 02/02/2016 12:59 PM)

h1. Gatan on Windows-32 

 See [[Gatan on Windows-32 with TecnaiCCD.dll]] 
 * This is only known to work for Gatan camera associate with FEI microscopes.    For JEOL microscope, See [[Gatan on Windows-32 with dmsem]] 

 h2. Extra Package and Installation 

 |_.program/package|_.notes| 
 |TecnaiCCD.dll |(Should come with the microscope).| 

 {{include(comtypes installer)}} 

 h3. Register TecnaiCCD.dll    (It may have been registered already) 

 *    From the command prompt, run the following commands.    You may need to enter the full path of the dll: 
 <pre>REGSVR32 TecnaiCCD.dll</pre> 

 h2. instruments.cfg 

 <pre> 
 [camera] 
 class: gatan.Gatan 
 zplane: 50 
 height: 4096 
 width: 4096 
 </pre> 

 * height and width depend on your specific camera 
 see [[instrumentscfg_for_22|instruments.cfg z plane configuration]] for more explanation. 

 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 

 h2. Setup 

 * Set camera configuration to give the [[Leginon Image Orientation|standard Leginon orientation]]. 
 * 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 

 h2. Testing with pyscope 

 In python command 
 <pre> 
 from pyscope import gatan 
 g = gatan.Gatan() 
 g.setExposureTime(200) 
 g.getImage() 
 </pre> 

 You should get a bunch of numbers in a numpy array. 

 h2. Programs to open before Leginon Client: Digital Micrograph