Project

General

Profile

Actions

Windows Setup After Software Installation » History » Revision 3

« Previous | Revision 3/9 (diff) | Next »
Anchi Cheng, 10/31/2013 08:48 PM


Windows Setup After Software Installation

Additional setup on Tietz cameras

Register the Tietz ping callback function. From a command line window:

cd C:\python27\Lib\Site-Packages\pyscope
C:\python27\python.exe tietzping.py

Troubleshooting Tietz cameras:

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.

For strange dimension cameras

Unless it is Gatan K2 where it uses flooring when dealing determining camera dimension when binning, you will do better specify a value that can be divided by power of 2 in width and height in instruments.cfg. Examples of this type of configuration can be found in some Tietz camera. Use Tietz's image acquisition software to find out what they use as a guide.

Create Leginon Admin and Leginon Client shortcut in Start menu menu under Leginon

This instruction applies to Windows XP.

  • Go to C:\Documents and Settings\All Users\Start Menu\Programs\ and create a new
    folder named Leginon.
  • In another window, go to
    C:\Python27\Lib\site-packages\leginon
  • Create a shortcut from start-leginon.py as "Leginon Admin" and a shortcut from launcher.py as "Leginon Client".
  • Move the two shortcuts into
    C:\Documents and Settings\All Users\Start Menu\Programs\Leginon

Mapping Drives (Optional):

Although we don't recommend it, it is possible to run minimal Leginon directly on the Windows machine, Since the database and web servers are not there, you probably will be saving the images through a Samba server on a network drive also available to the Linux machine. If you do so, you will need to map the network drive. For example, if your Samba server has a hostname your_smbserver, and you have set up a share called [your_share_point] which points to /your_data_path/ and leginon data will be saved under a folder in /your_data_path/leginon/.

  • Start, My Computer
  • Tools menu, Map network drive
  • Use an unmapped drive such as Z:

    Enter shared path in Windows format as

    \\your_smbserver\your_share_point

  • Add the drive and the Linux path to leginon.cfg on the Windows machine as
    [Drive Mapping]
    Z:/your_data_path
  • Add image path to leginon.cfg on the Windows machine in Linux format as
    [Images]
    path:/your_data_path/leginon

Additional Software (Optional):

TightVNC (http://www.tightvnc.com) if you get tired of going into the microscope room just to open the column valves.


< Configurations related to Leginon


Updated by Anchi Cheng about 11 years ago · 3 revisions