Project

General

Profile

Actions

Tietz camera installation and setup » History » Revision 6

« Previous | Revision 6/16 (diff) | Next »
Anchi Cheng, 08/08/2014 09:35 PM


Tietz/TVIPS camera installation and setup

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.

Extra Package and Installation

program/package notes
CAMC4.exe (Should come with the camera)

Register CAMC4.exe

  • From the command prompt, run the following commands.
    CAMC4.exe /regserver

Run updatecom.py

  • From a command line window:
    cd C:\python27\Lib\site-packages\pyscope
    C:\python27\python.exe updatecom.py
  • The output sould contain this output
    initializing Tietz CCD Camera done.
    

You can ignore error messages regarding other com modules.

Register the Tietz ping callback function

  • From a command line window:
    cd C:\python27\Lib\site-packages\pyscope
    C:\python27\python.exe tietzping.py

check camc.ini

CAMC4 has its own configuration file "CAMC.ini" that will normally be set up already, but you can search for it on your computer and confirm that everything looks right. It will have configuration parameters for several cameras and only one of them will be activated. The only parameter that may need some adjustment is the readout geometry, which affects the rotation and mirror of the image.

instruments.cfg

This is extracted from pyscope/instruments.cfg.template

## 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

Setup

Testing with pyscope

Trouble shooting

When Leginon initializes the camera, a program called CAMC4 should start automatically in the backgound. This is confirmed by the little camera icon showing up in the system tray in the lower right of the screen. Also, task manager can be started to confirm CAMC4 is running. Sometimes problems occur if more than one CAMC4 is running at the same time, so task manager will help identify this.

If Leginon is not initializing the camera or not getting proper images, you should first test image acquisition using TVIPS software to make sure it is not a hardware issue. Use TCL or there is a test program called TestMFCCamera that can acquire an image and test the CAMC4 operation.

Programs to open before Leginon Client: None. TCL/EMMENU must be closed

Updated by Anchi Cheng about 10 years ago · 6 revisions