Project

General

Profile

Windows Setup After Software Installation » History » Version 4

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

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