Tietz camera installation and setup » History » Version 8
Anchi Cheng, 11/06/2014 01:20 PM
| 1 | 3 | Anchi Cheng | h1. Tietz/TVIPS camera installation and setup |
|---|---|---|---|
| 2 | 1 | Anchi Cheng | |
| 3 | h2. Many Tietz cameras are controlled by a computer separated from the microscope |
||
| 4 | |||
| 5 | Please read [[Using_Leginon_on_a_system_where_the_microscope_and_camera_are_controlled_by_different_computers]] first. |
||
| 6 | |||
| 7 | h2. Extra Package and Installation |
||
| 8 | |||
| 9 | |_.program/package|_.notes| |
||
| 10 | |CAMC4.exe |(Should come with the camera)| |
||
| 11 | |||
| 12 | h3. Register CAMC4.exe |
||
| 13 | 2 | Anchi Cheng | |
| 14 | 1 | Anchi Cheng | * From the command prompt, run the following commands. |
| 15 | <pre>CAMC4.exe /regserver</pre> |
||
| 16 | |||
| 17 | 2 | Anchi Cheng | h3. Run updatecom.py |
| 18 | |||
| 19 | * From a command line window: |
||
| 20 | 5 | Anchi Cheng | <pre>cd C:\python27\Lib\site-packages\pyscope |
| 21 | 2 | Anchi Cheng | C:\python27\python.exe updatecom.py</pre> |
| 22 | |||
| 23 | * The output sould contain this output |
||
| 24 | 1 | Anchi Cheng | <pre> |
| 25 | 7 | Anchi Cheng | initializing Tietz CCD Camera |
| 26 | Found: CANC4 1.0 Type Library |
||
| 27 | done. |
||
| 28 | 1 | Anchi Cheng | </pre> |
| 29 | |||
| 30 | 6 | Anchi Cheng | You can ignore error messages regarding other com modules. |
| 31 | |||
| 32 | 2 | Anchi Cheng | h3. Register the Tietz ping callback function |
| 33 | 1 | Anchi Cheng | |
| 34 | 2 | Anchi Cheng | * From a command line window: |
| 35 | 5 | Anchi Cheng | <pre>cd C:\python27\Lib\site-packages\pyscope |
| 36 | 1 | Anchi Cheng | C:\python27\python.exe tietzping.py</pre> |
| 37 | |||
| 38 | 4 | Anchi Cheng | h2. check camc.ini |
| 39 | |||
| 40 | {{include(CAMC_ini_setup)}} |
||
| 41 | |||
| 42 | 1 | Anchi Cheng | h2. instruments.cfg |
| 43 | |||
| 44 | 2 | Anchi Cheng | This is extracted from pyscope/instruments.cfg.template |
| 45 | <pre> |
||
| 46 | ## Tietz/TVIPS Camera using various drivers. Chose only the driver |
||
| 47 | ## that works with your camera. Optionally, you may also select |
||
| 48 | ## the Simulation camera. A test script is available to help you figure |
||
| 49 | ## out which ones are available to you. Run the script: tietztest.py |
||
| 50 | ## - tietz.TietzSCX |
||
| 51 | ## - tietz.TietzPXL |
||
| 52 | ## - tietz.TietzPVCam |
||
| 53 | ## - tietz.TietzFC415 |
||
| 54 | ## - tietz.TietzFC416 |
||
| 55 | ## - tietz.TietzFC816 |
||
| 56 | ## - tietz.TietzFastScan |
||
| 57 | ## - tietz.TietzSimulation |
||
| 58 | </pre> |
||
| 59 | 1 | Anchi Cheng | |
| 60 | 8 | Anchi Cheng | For example, instruments.cfg for F416 looks like this: |
| 61 | <pre> |
||
| 62 | [Tietz Camera] |
||
| 63 | class: tietz.TietzF416 |
||
| 64 | zplane: 5 |
||
| 65 | height: 4096 |
||
| 66 | width: 4064 |
||
| 67 | </pre> |
||
| 68 | * I use zplane of 5 because this is a bottom-mount camera that does not retract. Therefore it is always the lowest. |
||
| 69 | |||
| 70 | 1 | Anchi Cheng | h2. Setup |
| 71 | |||
| 72 | 2 | Anchi Cheng | * Set camera configuration to give the [[Leginon Image Orientation|standard Leginon orientation]]. |
| 73 | 1 | Anchi Cheng | |
| 74 | h2. Testing with pyscope |
||
| 75 | |||
| 76 | h2. Trouble shooting |
||
| 77 | |||
| 78 | {{include(Tietz_camera_trouble_shoot)}} |
||
| 79 | |||
| 80 | |||
| 81 | 2 | Anchi Cheng | h2. Programs to open before Leginon Client: None. TCL/EMMENU must be closed |