Eagle camera installation and setup » History » Version 3
Anchi Cheng, 08/08/2014 09:51 PM
| 1 | 2 | Anchi Cheng | h1. TIA-controlled camera (FEI Eagle) |
|---|---|---|---|
| 2 | 1 | Anchi Cheng | |
| 3 | h2. Extra Package and Installation |
||
| 4 | |||
| 5 | |_.program/package|_.notes| |
||
| 6 | |Tia.dll |(Should come with the microscope)| |
||
| 7 | |||
| 8 | {{include(comtypes installer)}} |
||
| 9 | |||
| 10 | h3. Run updatecom.py |
||
| 11 | |||
| 12 | * From a command line window: |
||
| 13 | <pre>cd C:\python27\Lib\site-packages\pyscope |
||
| 14 | C:\python27\python.exe updatecom.py</pre> |
||
| 15 | |||
| 16 | 2 | Anchi Cheng | * The output sould contain one of these output |
| 17 | 1 | Anchi Cheng | <pre> |
| 18 | 3 | Anchi Cheng | Found ES Vision 3.0 Type Library done. |
| 19 | Found ES Vision 3.1 Type Library done. |
||
| 20 | 1 | Anchi Cheng | </pre> |
| 21 | |||
| 22 | h2. instruments.cfg |
||
| 23 | |||
| 24 | Eagle: |
||
| 25 | <pre> |
||
| 26 | [camera] |
||
| 27 | class: tia.TIA |
||
| 28 | zplane: 50 |
||
| 29 | height: 4096 |
||
| 30 | width: 4096 |
||
| 31 | </pre> |
||
| 32 | |||
| 33 | h2. Setup |
||
| 34 | |||
| 35 | * Set camera configuration to give the [[Leginon Image Orientation|standard Leginon orientation]]. |
||
| 36 | |||
| 37 | h2. Testing with pyscope |
||
| 38 | |||
| 39 | h2. Trouble shooting |
||
| 40 | |||
| 41 | In python command |
||
| 42 | <pre> |
||
| 43 | form pyscope import tia |
||
| 44 | g = tia.TIA() |
||
| 45 | g.setExposureTime(200) |
||
| 46 | g.getImage() |
||
| 47 | </pre> |
||
| 48 | |||
| 49 | You should get a bunch of numbers in a numpy array. |
||
| 50 | |||
| 51 | h2. Programs to open before Leginon Client: TIA. |