Tietz camera installation and setup » History » Revision 10
Revision 9 (Anchi Cheng, 11/06/2014 01:24 PM) → Revision 10/16 (Anchi Cheng, 11/04/2015 04:26 PM)
h1. Tietz/TVIPS camera installation and setup
h2. Many Tietz cameras are controlled by a computer separated from the microscope
Please read [[Using_Leginon_on_a_system_where_the_microscope_and_camera_are_controlled_by_different_computers]] first.
h2. Extra Package and Installation
|_.program/package|_.local win32 installer|
|Python for Windows extension (pywin32)|"pywin32-218.win32-py2.7.exe":/redmine/attachments/download/2068/pywin32-218.win32-py2.7.exe|
*double click the windows installer to start*
|_.program/package|_.notes|
|CAMC4.exe |(Should come with the camera)|
h3. Register CAMC4.exe
* From the command prompt, run the following commands.
<pre>CAMC4.exe /regserver</pre>
h3. Run updatecom.py
* From a command line window:
<pre>cd C:\python27\Lib\site-packages\pyscope
C:\python27\python.exe updatecom.py</pre>
* The output sould contain this output
<pre>
initializing Tietz CCD Camera
Found: CAMC4 1.0 Type Library
done.
</pre>
You can ignore error messages regarding other com modules.
h3. Register the Tietz ping callback function
* From a command line window:
<pre>cd C:\python27\Lib\site-packages\pyscope
C:\python27\python.exe tietzping.py</pre>
h2. check camc.ini
{{include(CAMC_ini_setup)}}
h2. instruments.cfg
This is extracted from pyscope/instruments.cfg.template
<pre>
## Tietz/TVIPS Camera using various drivers. Chose only the driver
## that works with your camera. Optionally, you may also select
## the Simulation camera. A test script is available to help you figure
## out which ones are available to you. Run the script: tietztest.py
## - tietz.TietzSCX
## - tietz.TietzPXL
## - tietz.TietzPVCam
## - tietz.TietzFC415
## - tietz.TietzFC416
## - tietz.TietzFC816
## - tietz.TietzFastScan
## - tietz.TietzSimulation
</pre>
For example, instruments.cfg for F416 looks like this:
<pre>
[Tietz Camera]
class: tietz.TietzF416
zplane: 5
height: 4096
width: 4064
</pre>
* I use zplane of 5 because this is a bottom-mount camera that does not retract. Therefore it is always the lowest.
h2. Setup
* Set camera configuration to give the [[Leginon Image Orientation|standard Leginon orientation]].
h2. Testing with pyscope
h2. Trouble shooting
{{include(Tietz_camera_trouble_shoot)}}
h2. Programs to open before Leginon Client: None. TCL/EMMENU must be closed