Gatan on Windows-32 with TecnaiCCDdll » History » Revision 2
Revision 1 (Anchi Cheng, 02/02/2016 01:04 PM) → Revision 2/3 (Anchi Cheng, 02/02/2016 01:04 PM)
h1. Gatan on Windows-32 with TecnaiCCD.dll * TecnaiCCD.dll is provided by FEI to work with Gatan camera. This installation instruction is known to work when the camera control is on the same computer as the FEI scope control. * For JEOL microscope, or for camera separated from scope PC, [[Gatan on Windows-32 with dmsem]] may be easier. 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