Falcon 3 support » History » Version 4
Anchi Cheng, 03/21/2019 04:39 PM
| 1 | 1 | Anchi Cheng | h1. Falcon 3 support |
|---|---|---|---|
| 2 | |||
| 3 | h2. Requirement from camera manufacture: |
||
| 4 | |||
| 5 | 4 | Anchi Cheng | * Krios 2.12 or Talos/Arctica 1.12 software version. |
| 6 | 1 | Anchi Cheng | * Advanced TEM Scripting |
| 7 | |||
| 8 | h2. Required leginon version: |
||
| 9 | |||
| 10 | * 3.4 and above |
||
| 11 | 2 | Anchi Cheng | |
| 12 | h2. Extra Package and Installation |
||
| 13 | |||
| 14 | |_.program/package|_.notes| |
||
| 15 | 3 | Anchi Cheng | |TEMAdvancedScripting.dll |(Should come with the microscope)| |
| 16 | 2 | Anchi Cheng | |
| 17 | {{include(comtypes installer)}} |
||
| 18 | |||
| 19 | {{include(comtypes_installation)}} |
||
| 20 | |||
| 21 | You should have |
||
| 22 | |||
| 23 | <pre> |
||
| 24 | TEMAdvancedScripting |
||
| 25 | </pre> |
||
| 26 | |||
| 27 | h2. instruments.cfg |
||
| 28 | |||
| 29 | * Falcon3 class is for linear mode and Falcon3EC class is for electron counting mode. You want to have both. |
||
| 30 | <pre> |
||
| 31 | [camera] |
||
| 32 | class: feicam.Falcon3 |
||
| 33 | zplane: 50 |
||
| 34 | height: 4096 |
||
| 35 | width: 4096 |
||
| 36 | </pre> |
||
| 37 | <pre> |
||
| 38 | [camera] |
||
| 39 | class: feicam.Falcon3EC |
||
| 40 | zplane: 50 |
||
| 41 | height: 4096 |
||
| 42 | width: 4096 |
||
| 43 | </pre> |
||
| 44 | |||
| 45 | h2. Setup |
||
| 46 | |||
| 47 | * Set dose rate and acquire References using TUI Reference manager. Don't do it in Leginon. |
||
| 48 | * Set up in fei.cfg (See FEI scope installation instruction) |
||
| 49 | <pre> |
||
| 50 | [camera] |
||
| 51 | FRAME_SUBPATH = leginonframes |
||
| 52 | </pre> |
||
| 53 | In this case, you will need to create a directory called leginonframes on your Falcon image storage server (called OffloadData on your scope PC) with these parent directories |
||
| 54 | <pre> |
||
| 55 | OffloadData\TemScripting\BM-Falcon\leginonframes |
||
| 56 | </pre> |
||
| 57 | |||
| 58 | This leginonframes directory can then mounted on your permanent storage system and allow rawtransfer.py to rsync the files. |
||
| 59 | |||
| 60 | h2. Programs to open before Leginon Client: TIA. |
||
| 61 | |||
| 62 | h2. Testing with pyscope |
||
| 63 | |||
| 64 | In python command |
||
| 65 | <pre> |
||
| 66 | form pyscope import feicam |
||
| 67 | g = feicam.Falcon3() |
||
| 68 | g.setExposureTime(200) |
||
| 69 | g.getImage() |
||
| 70 | </pre> |
||
| 71 | |||
| 72 | {{include(pyscope_test_result array)}} |
||
| 73 | |||
| 74 | h2. Trouble shooting |
||
| 75 | |||
| 76 | If TEM Advanced Scripting is not setup correctly by the manufacture, a configuration error will appear similar to this: |
||
| 77 | <pre> |
||
| 78 | _ctypes.COMError: (-2147467259, 'Unspecified error.', (u"Could not load Storage Server configuration file: C:\\ProgramData\\FEI||AcquisitionStorageServer||StorageServer.config', u'',u'', 0, None)) |
||
| 79 | </pre> |