Project

General

Profile

Windows Setup After Software Installation » History » Version 2

Anchi Cheng, 10/31/2013 08:25 PM

1 1 Anchi Cheng
h1. Windows Setup After Software Installation
2
3
h2. Additional setup on Tietz cameras
4
5
Register the Tietz ping callback function.  From a command line window:
6
7
<pre>cd C:\python27\Lib\Site-Packages\pyscope
8
C:\python27\python.exe tietzping.py</pre>
9
10
Troubleshooting Tietz cameras:
11
12 2 Anchi Cheng
{{include(Tietz_camera_trouble_shoot)}}
13 1 Anchi Cheng
14
h2. For strange dimension cameras
15
16
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.
17
18
h2. Create Leginon Admin and Leginon Client shortcut in Start menu menu under Leginon
19
20
21
This instruction applies to Windows XP.
22
23
24
 * Go to C:\Documents and Settings\All Users\Start Menu\Programs\ and create a new
25
folder named Leginon.
26
27
28
 * In another window, go to
29
 <pre>C:\Python27\Lib\site-packages\leginon</pre>
30
31
32
 * Create a shortcut from start-leginon.py as "Leginon Admin" and a shortcut from launcher.py as "Leginon Client".
33
34
35
 * Move the two shortcuts into
36
 <pre>C:\Documents and Settings\All Users\Start Menu\Programs\Leginon</pre>
37
38
39
40
h2. Mapping Drives (Optional):
41
42
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/.
43
44
*  Start, My Computer
45
46
47
*  Tools menu, Map network drive
48
49
50
*  Use an unmapped drive such as Z:
51
52
 Enter shared path in Windows format as
53
 <pre>\\your_smbserver\your_share_point</pre>
54
55
56
*  Add the drive and the Linux path to leginon.cfg on the Windows machine as
57
 <pre>[Drive Mapping]
58
Z:/your_data_path</pre>
59
60
61
*  Add image path to leginon.cfg on the Windows machine in Linux format as
62
 <pre>[Images]
63
path:/your_data_path/leginon</pre>
64
65
66
h2.  Additional Software (Optional):
67
68
TightVNC (http://www.tightvnc.com) if you get tired of going into the microscope room just to open the column valves.