Project

General

Profile

Falcon 3 support » History » Revision 2

Revision 1 (Anchi Cheng, 05/14/2018 01:44 PM) → Revision 2/5 (Anchi Cheng, 07/23/2018 05:20 PM)

h1. Falcon 3 support 

 h2. Requirement from camera manufacture: 

 * Krios 2.9 or Talos/Arctica equivalent software version. 
 * Advanced TEM Scripting 

 h2. Required leginon version: 

 * 3.4 and above 

 h2. Extra Package and Installation 

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

 {{include(comtypes installer)}} 

 {{include(comtypes_installation)}} 

 You should have 

 <pre> 
 TEMAdvancedScripting 
 </pre> 

 h2. instruments.cfg 

 * Falcon3 class is for linear mode and Falcon3EC class is for electron counting mode. You want to have both. 
 <pre> 
 [camera] 
 class: feicam.Falcon3 
 zplane: 50 
 height: 4096 
 width: 4096 
 </pre> 
 <pre> 
 [camera] 
 class: feicam.Falcon3EC 
 zplane: 50 
 height: 4096 
 width: 4096 
 </pre> 

 h2. Setup 

 * Set dose rate and acquire References using TUI Reference manager.    Don't do it in Leginon. 
 * Set up in fei.cfg (See FEI scope installation instruction) 
 <pre> 
 [camera] 
 FRAME_SUBPATH = leginonframes 
 </pre> 
 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 
 <pre> 
 OffloadData\TemScripting\BM-Falcon\leginonframes 
 </pre> 

 This leginonframes directory can then mounted on your permanent storage system and allow rawtransfer.py to rsync the files. 

 h2. Programs to open before Leginon Client: TIA. 

 h2. Testing with pyscope 

 In python command 
 <pre> 
 form pyscope import feicam 
 g = feicam.Falcon3() 
 g.setExposureTime(200) 
 g.getImage() 
 </pre> 

 {{include(pyscope_test_result array)}} 

 h2. Trouble shooting 

 If TEM Advanced Scripting is not setup correctly by the manufacture, a configuration error will appear similar to this: 
 <pre> 
 _ctypes.COMError: (-2147467259, 'Unspecified error.', (u"Could not load Storage Server configuration file: C:\\ProgramData\\FEI||AcquisitionStorageServer||StorageServer.config', u'',u'', 0, None)) 
 </pre>