Changeset 178
- Timestamp:
- Jun 2, 2010 6:14:09 PM (14 years ago)
- Location:
- wxmtxy/trunk
- Files:
-
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
wxmtxy/trunk/LICENSE
r51 r178 1 Copyright (c) 2009 University of Chicago. All rights reserved.1 Copyright (c) 2009-2010 University of Chicago. All rights reserved. 2 2 3 wxmtxy isdistributed subject to the following license conditions:3 wxmtxy, pvConnect, and menuLauncher are distributed subject to the following license conditions: 4 4 5 5 SOFTWARE LICENSE AGREEMENT 6 Software: wxmtxy including pvConnect6 Software: wxmtxy, including pvConnect and menuLauncher 7 7 8 1. The "Software", below, refers to wxmtxy (in either source code, or 8 1. The "Software", below, refers to wxmtxy, pvConnect, 9 and menuLauncher (in either source code, or 9 10 binary form and accompanying documentation). Each licensee is 10 11 addressed as "you" or "Licensee." -
wxmtxy/trunk/Makefile
r50 r178 2 2 # Makefile 3 3 #************************************************************************* 4 # Copyright (c) 2009 The University of Chicago, as Operator of Argonne4 # Copyright (c) 2009-2010 The University of Chicago, as Operator of Argonne 5 5 # National Laboratory. 6 # Copyright (c) 2009 The Regents of the University of California, as6 # Copyright (c) 2009-2010 The Regents of the University of California, as 7 7 # Operator of Los Alamos National Laboratory. 8 8 # This file is distributed subject to a Software License Agreement found … … 45 45 run :: 46 46 $(PYTHON) ./wxmtxy.py 47 48 pydoc :: 49 pydoc -w ./ -
wxmtxy/trunk/README
r176 r178 9 9 ########### SVN repository information ################### 10 10 11 wxmtxy provides EPICS support to users, allowing them to define a table of 12 known positions for an X,Y positioner (motor) pair and provides a one-button 13 click to drive the X,Y pair to a specific table setting. Also can record current 14 position into a setting. Several sets of X,Y positioners can be configured. 15 (Each set is separate.) In fact, the positioners do not have to be motors, 16 but can be any type of EPICS PV that will accept a numeric value. 11 *wxmtxy* (an EPICS GUI tool) provides support for an X,Y positioner 12 (motor) pair by allowing users to define a table of known positions 13 and providing a one-button click to drive a chosen X,Y pair to a specific 14 table setting. Also can record current position into a setting. 17 15 18 wxmtxy is based on wxPython and relies on CaChannel to communicate with EPICS. 16 Several sets of X,Y positioners can be configured. (Each set is 17 separate.) In fact, the positioners do not have to be motors, 18 but can be any type of EPICS PV that will accept a numeric value. 19 19 20 In the Graphical User Interface (GUI), tooltips are provided for most items.21 Moving and pausing the mouse over a widget (GUI component such as a button22 or a label) will cause a terse description of that widget to be displayed. Moving23 the mouse away will cause that tooltip to disappear.24 20 25 For more help, explanations are provided in the HTML pages. 21 wxmtxy is based on wxPython and relies on CaChannel to communicate 22 with EPICS. 23 24 In the Graphical User Interface (GUI), tooltips are provided for 25 most items. Moving and pausing the mouse over a widget (GUI 26 component such as a button or a label) will cause a terse description 27 of that widget to be displayed. Moving the mouse away will cause that 28 tooltip to disappear. 29 30 For more help, explanations are provided in the HTML pages. -
wxmtxy/trunk/example.html
r51 r178 26 26 <br/><b>version: 0.4</b> 27 27 </td> 28 <td valign="top"><img src="graphics/logo.png" alt="wxmtxy logo"/></td> 28 <td valign="top"><img 29 src="graphics/logo.png" alt="wxmtxy logo"/></td> 29 30 </tr> 30 31 </tbody> … … 41 42 <li> 42 43 First, start the program. From the Linux/Solaris command line, type: 43 <br/><code>/APSshare/bin/python ~/bin/wxmtxy/wxmtxy.py &</code> 44 <br/>The wxmtxy window should appear. 45 <br/><a href="graphics/fig1.png"><img src="graphics/fig1.png" alt="Figure 1" width="200"/></a> 44 <pre>/APSshare/bin/python ~/bin/wxmtxy/wxmtxy.py &</pre> 45 46 <p>The wxmtxy window should appear.</p> 47 48 <p> 49 <a href="graphics/fig1.png"> 50 <img src="graphics/fig1.png" alt="Figure 1"/></a> 51 </p> 46 52 </li> 47 53 … … 51 57 Mouse to the <em>Page</em> menu and select the item 52 58 <em>EPICS configuration</em>. 53 <br/><a href="graphics/fig2.png"><img src="graphics/fig2.png" alt="Figure 2" width="200"/></a> 59 <br/> 60 61 <p> 62 <a href="graphics/fig2.png"><img 63 src="graphics/fig2.png" alt="Figure 2"/></a> 64 </p> 54 65 </li> 55 66 … … 64 75 changes back to the default values or <em>Clear X</em> or <em>Clear Y</em> 65 76 to clear all PV names and checkboxes from either of the two axes. 66 <br/><a href="graphics/fig3.png"><img src="graphics/fig3.png" alt="Figure 3" width="200"/></a> 77 <br/> 78 79 <p> 80 <a href="graphics/fig3.png"><img 81 src="graphics/fig3.png" alt="Figure 3"/></a> 82 </p> 67 83 68 84 <!-- Perhaps this note can be moved to Theory of Operation section? --> 69 < br/>Note: The <em>EPICS configuration</em> window will change the background85 <p>Note: The <em>EPICS configuration</em> window will change the background 70 86 color on each PV field, depending on whether or not the given PV name has been 71 87 identified on the local EPICS network. Pink indicates that the PV name has not … … 73 89 <em>Enter</em> key on the keyboard while a particular PV field is selected, wxmtxy 74 90 will try to locate the named PV on the local EPICS network. 75 <br/>Note: The <tt>VAL</tt> field handles the <em>Enter</em> key differently than the 91 </p> 92 93 <p> 94 Note: The <tt>VAL</tt> field handles the <em>Enter</em> key differently than the 76 95 other fields. First, if the <tt>isMotorRecord</tt> checkbox is checked, then the 77 96 PV names for the other fields of this axis (with empty name fields) 78 97 will be filled in automatically. 98 </p> 99 79 100 Then the software will attempt to locate all fields of this axis. 80 101 </li> … … 87 108 by each EPICS motor record. The description and engineering units 88 109 are also shown. Compare with the following figure as well. 89 <br/><a href="graphics/fig4.png"><img src="graphics/fig4.png" alt="Figure 4" width="200"/></a> 110 <br/> 111 112 <p> 113 <a href="graphics/fig4.png"><img 114 src="graphics/fig4.png" alt="Figure 4"/></a> 115 </p> 90 116 </li> 91 117 … … 93 119 Compare the previous figure with the standard motor control panel which includes 94 120 both of these motors (plus one other in between). 95 <br/><a href="graphics/fig5.png"><img src="graphics/fig5.png" alt="Figure 5" width="200"/></a> 121 <br/> 122 123 <p> 124 <a href="graphics/fig5.png"><img 125 src="graphics/fig5.png" alt="Figure 5"/></a> 126 </p> 96 127 </li> 97 128 … … 100 131 and type <tt>starting values</tt>. (No need to press the <em>Enter</em> key. 101 132 It will be ignored so there is no harm either.) 102 <br/><a href="graphics/fig6.png"><img src="graphics/fig6.png" alt="Figure 6" width="200"/></a> 133 <br/> 134 135 <p> 136 <a href="graphics/fig6.png"><img 137 src="graphics/fig6.png" alt="Figure 6"/></a> 138 </p> 103 139 </li> 104 140 … … 106 142 Then click the <em>Set</em> button (just right of the description) to 107 143 copy the current readback values for each axis to this row. 108 <br/><a href="graphics/fig7.png"><img src="graphics/fig7.png" alt="Figure 7" width="200"/></a> 144 <br/> 145 146 <p> 147 <a href="graphics/fig7.png"><img 148 src="graphics/fig7.png" alt="Figure 7" /></a> 149 </p> 109 150 </li> 110 151 … … 112 153 Make a new row by selecting the <em>Page</em> menu, <em>Create new row</em> item. 113 154 Note that Ctrl+r is a keyboard shortcut for the same menu selection. 114 <br/><a href="graphics/fig8.png"><img src="graphics/fig8.png" alt="Figure 8" width="200"/></a> 155 <br/> 156 157 <p> 158 <a href="graphics/fig8.png"><img 159 src="graphics/fig8.png" alt="Figure 8"/></a> 160 </p> 115 161 </li> 116 162 117 163 <li> 118 164 The next figure shows that a new row has been created under the current tab selection. 119 <br/><a href="graphics/fig9.png"><img src="graphics/fig9.png" alt="Figure 9" width="200"/></a> 165 <br/> 166 167 <p> 168 <a href="graphics/fig9.png"><img 169 src="graphics/fig9.png" alt="Figure 9" /></a> 170 </p> 120 171 </li> 121 172 … … 124 175 increment from the starting values. You do the math particular for your 125 176 selected motor axes. Make another row (Ctrl+r) and enter more values by typing. 126 <br/><a href="graphics/fig10.png"><img src="graphics/fig10.png" alt="Figure 10" width="200"/></a> 177 <br/> 178 179 <p> 180 <a href="graphics/fig10.png"><img 181 src="graphics/fig10.png" alt="Figure 10" /></a> 182 </p> 127 183 </li> 128 184 … … 132 188 a description autmoatically. The default description is the date and time 133 189 that the <em>Set</em> button was pressed. 134 <br/><a href="graphics/fig11.png"><img src="graphics/fig11.png" alt="Figure 11" width="200"/></a> 190 <br/> 191 192 <p> 193 <a href="graphics/fig11.png"><img 194 src="graphics/fig11.png" alt="Figure 11"/></a> 195 </p> 135 196 </li> 136 197 … … 139 200 button (far left of the row; the one with the <b>X</b>). You will 140 201 be prompted for confirmation, as shown. 141 <br/><a href="graphics/fig12.png"><img src="graphics/fig12.png" alt="Figure 12" width="200"/></a> 202 <br/> 203 204 <p> 205 <a href="graphics/fig12.png"><img 206 src="graphics/fig12.png" alt="Figure 12"/></a> 207 </p> 142 208 </li> 143 209 … … 145 211 Time to save the current settings to a file. Choose the <em>File</em> menu, 146 212 <em>Save As ...</em> item. 147 <br/><a href="graphics/fig13.png"><img src="graphics/fig13.png" alt="Figure 13" width="200"/></a> 213 <br/> 214 215 <p> 216 <a href="graphics/fig13.png"><img 217 src="graphics/fig13.png" alt="Figure 13"/></a> 218 </p> 148 219 </li> 149 220 … … 152 223 to save your settings, enter a name <em>with the extension <tt>.XML</tt></em> 153 224 and finish your task. 154 <br/><a href="graphics/fig14.png"><img src="graphics/fig14.png" alt="Figure 14" width="200"/></a> 225 <br/> 226 227 <p> 228 <a href="graphics/fig14.png"><img 229 src="graphics/fig14.png" alt="Figure 14"/></a> 230 </p> 155 231 </li> 156 232 … … 160 236 you can identify the various pieces of information which have been 161 237 entered so far. 162 <br/><a href="graphics/fig15.png"><img src="graphics/fig15.png" alt="Figure 15" width="200"/></a> 238 <br/> 239 240 <p> 241 <a href="graphics/fig15.png"><img 242 src="graphics/fig15.png" alt="Figure 15"/></a> 243 </p> 163 244 </li> 164 245 … … 166 247 Set the page title for this XY pair of positioners by choosing the 167 248 <em>Page</em> menu, <em>Change X,Y pair title</em> item. 168 <br/><a href="graphics/fig16.png"><img src="graphics/fig16.png" alt="Figure 16" width="200"/></a> 249 <br/> 250 251 <p> 252 <a href="graphics/fig16.png"><img 253 src="graphics/fig16.png" alt="Figure 16"/></a> 254 </p> 169 255 </li> 170 256 … … 172 258 Set the title for the selected tab by choosing the 173 259 <em>Page</em> menu, <em>Change tab title</em> item. 174 <br/><a href="graphics/fig17.png"><img src="graphics/fig17.png" alt="Figure 17" width="200"/></a> 260 <br/> 261 262 <p> 263 <a href="graphics/fig17.png"><img 264 src="graphics/fig17.png" alt="Figure 17"/></a> 265 </p> 175 266 </li> 176 267 … … 179 270 <em>File</em> menu, <em>Save</em> item. Inspect the settings file 180 271 in a text editor. 181 <br/><a href="graphics/fig18.png"><img src="graphics/fig18.png" alt="Figure 18" width="200"/></a> 272 <br/> 273 274 <p> 275 <a href="graphics/fig18.png"><img 276 src="graphics/fig18.png" alt="Figure 18"/></a> 277 </p> 182 278 </li> 183 279 </ol> … … 186 282 <hr /> 187 283 188 The wxmtxy application and related files are copyyright (c) 2009 .284 The wxmtxy application and related files are copyyright (c) 2009-2010. 189 285 <pre> 190 286 #************************************************************************* 191 # Copyright (c) 2009 The University of Chicago, as Operator of Argonne287 # Copyright (c) 2009-2010 The University of Chicago, as Operator of Argonne 192 288 # National Laboratory. 193 # Copyright (c) 2009 The Regents of the University of California, as289 # Copyright (c) 2009-2010 The Regents of the University of California, as 194 290 # Operator of Los Alamos National Laboratory. 195 291 # This file is distributed subject to a Software License Agreement found -
wxmtxy/trunk/index.html
r51 r178 24 24 <h2>A GUI tool for EPICS</h2> 25 25 <br/><b>author: Pete R. Jemian (jemian@anl.gov)</b> 26 <br/><b>version: 0. 4</b>26 <br/><b>version: 0.5</b> 27 27 </td> 28 <td valign="top"><img src="graphics/logo.png" alt="wxmtxy logo"/></td> 28 <td valign="top"><img 29 src="graphics/logo.png" alt="wxmtxy logo"/></td> 29 30 </tr> 30 31 </tbody> … … 94 95 changes back to the default values or <em>Clear X</em> or <em>Clear Y</em> 95 96 to clear all PV names and checkboxes from either of the two axes. 96 <br/><a href="graphics/fig3.png"><img src="graphics/fig3.png" alt="Figure 3" width="200"/></a> 97 <br/> 98 99 <p> 100 <a href="graphics/fig3.png"><img 101 src="graphics/fig3.png" alt="Figure 3"/></a> 102 </p> 97 103 98 104 <h3>Create a new Tab</h3> … … 112 118 To save the current settings to a file, select the <em>File</em> menu, 113 119 <em>Save As ...</em> item. 114 <br/><a href="graphics/fig13.png"><img src="graphics/fig13.png" alt="Figure 13" width="200"/></a> 115 116 <br/>A save file window will appear. Navigate to a directory 120 <br/> 121 122 <p> 123 <a href="graphics/fig13.png"><img 124 src="graphics/fig13.png" alt="Figure 13"/></a> 125 </p> 126 127 <p>A save file window will appear. Navigate to a directory 117 128 to save your settings, enter a name <em>with the extension <tt>.XML</tt></em> 118 129 and finish your task. 119 <br/><a href="graphics/fig14.png"><img src="graphics/fig14.png" alt="Figure 14" width="200"/></a> 130 </p> 131 132 <p> 133 <a href="graphics/fig14.png"><img 134 src="graphics/fig14.png" alt="Figure 14"/></a> 135 </p> 120 136 121 137 <h2>Definitions</h2> … … 209 225 <p>The "Text positions file" is a plain text file and can be 210 226 prepared with any text editor. The file describes a set 211 of positions to be loaded into a Tab of the wxm yxy application.227 of positions to be loaded into a Tab of the wxmtxy application. 212 228 It contains an arbitrary number of rows. Each row contains 213 229 three values, separated by tabs. … … 373 389 <pre> 374 390 #************************************************************************* 375 # Copyright (c) 2009 The University of Chicago, as Operator of Argonne391 # Copyright (c) 2009-2010 The University of Chicago, as Operator of Argonne 376 392 # National Laboratory. 377 # Copyright (c) 2009 The Regents of the University of California, as393 # Copyright (c) 2009-2010 The Regents of the University of California, as 378 394 # Operator of Los Alamos National Laboratory. 379 395 # This file is distributed subject to a Software License Agreement found -
wxmtxy/trunk/menuLauncher.py
r177 r178 3 3 4 4 #************************************************************************* 5 # Copyright (c) 2009 The University of Chicago, as Operator of Argonne5 # Copyright (c) 2009-2010 The University of Chicago, as Operator of Argonne 6 6 # National Laboratory. 7 # Copyright (c) 2009 The Regents of the University of California, as7 # Copyright (c) 2009-2010 The Regents of the University of California, as 8 8 # Operator of Los Alamos National Laboratory. 9 9 # This file is distributed subject to a Software License Agreement found … … 37 37 ("xman", "X11 man pages", "xman -bothshown"), 38 38 ("xeyes", "Here's looking at you, kid!", "xeyes"), 39 ("wxmtxy", "motor tool", "/APSshare/bin/python ./wxmtxy.py"), 39 40 ("separator", ), 40 41 ("xclock", "conventional analog clock", "xclock") -
wxmtxy/trunk/pvConnect.html
r51 r178 9 9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>pvConnect</strong></big></big></font></td 10 10 ><td align=right valign=bottom 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/ //C|/documents%20and%20settings/pete/my%20documents/eclipse/workspace/wxmtxy/trunk/pvconnect.py">c:\documents and settings\pete\my documents\eclipse\workspace\wxmtxy\trunk\pvconnect.py</a></font></td></tr></table>11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/oxygen18/JEMIAN/Documents/eclipse/usaxs/wxmtxy/trunk/pvConnect.py">/home/oxygen18/JEMIAN/Documents/eclipse/usaxs/wxmtxy/trunk/pvConnect.py</a></font></td></tr></table> 12 12 <p><tt>simplified connections to an EPICS PV using CaChannel<br> 13 13 <br> … … 47 47 @version: <br> 48 48 ########### SVN repository information ###################<br> 49 # $Date: 2009- 05-05 14:05:50 -0500 (Tue, 05 May 2009) $<br>49 # $Date: 2009-12-03 17:39:05 -0600 (Thu, 03 Dec 2009) $<br> 50 50 # $Author: jemian $<br> 51 # $Revision: 50 $<br>51 # $Revision: 100 $<br> 52 52 # $URL: https://subversion.xor.aps.anl.gov/bcdaext/wxmtxy/trunk/pvConnect.py $<br> 53 # $Id: pvConnect.py 50 2009-05-05 19:05:50Z jemian $<br>53 # $Id: pvConnect.py 100 2009-12-03 23:39:05Z jemian $<br> 54 54 ########### SVN repository information ###################</tt></p> 55 55 <p> … … 62 62 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="sys.html">sys</a><br> 63 63 </td><td width="25%" valign=top><a href="time.html">time</a><br> 64 </td><td width="25%" valign=top><a href="wx.html">wx</a><br> 65 </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> 64 </td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> 66 65 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 67 66 <tr bgcolor="#ee77aa"> … … 211 210 <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> 212 211 <td width="100%"><strong>IMPORTED_CACHANNEL</strong> = False<br> 213 <strong>IMPORTED_WX</strong> = True</td></tr></table>212 <strong>IMPORTED_WX</strong> = False</td></tr></table> 214 213 </body></html> -
wxmtxy/trunk/pvConnect.py
r100 r178 2 2 3 3 #************************************************************************* 4 # Copyright (c) 2009 The University of Chicago, as Operator of Argonne4 # Copyright (c) 2009-2010 The University of Chicago, as Operator of Argonne 5 5 # National Laboratory. 6 # Copyright (c) 2009 The Regents of the University of California, as6 # Copyright (c) 2009-2010 The Regents of the University of California, as 7 7 # Operator of Los Alamos National Laboratory. 8 8 # This file is distributed subject to a Software License Agreement found -
wxmtxy/trunk/setup.html
r51 r178 9 9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>setup</strong></big></big></font></td 10 10 ><td align=right valign=bottom 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/ //C|/documents%20and%20settings/pete/my%20documents/eclipse/workspace/wxmtxy/trunk/setup.py">c:\documents and settings\pete\my documents\eclipse\workspace\wxmtxy\trunk\setup.py</a></font></td></tr></table>11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/oxygen18/JEMIAN/Documents/eclipse/usaxs/wxmtxy/trunk/setup.py">/home/oxygen18/JEMIAN/Documents/eclipse/usaxs/wxmtxy/trunk/setup.py</a></font></td></tr></table> 12 12 <p><tt>configuration for the distutils installation method<br> 13 13 <br> … … 36 36 </td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> 37 37 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 38 <tr bgcolor="#ee77aa">39 <td colspan=3 valign=bottom> <br>40 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>41 42 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>43 <td width="100%"><dl>44 <dt><font face="helvetica, arial"><a href="setup.html#Target">Target</a>45 </font></dt></dl>46 <p>47 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">48 <tr bgcolor="#ffc8d8">49 <td colspan=3 valign=bottom> <br>50 <font color="#000000" face="helvetica, arial"><a name="Target">class <strong>Target</strong></a></font></td></tr>51 52 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>53 <td width="100%">Methods defined here:<br>54 <dl><dt><a name="Target-__init__"><strong>__init__</strong></a>(self, **kw)</dt></dl>55 56 </td></tr></table></td></tr></table><p>57 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">58 38 <tr bgcolor="#55aa55"> 59 39 <td colspan=3 valign=bottom> <br> -
wxmtxy/trunk/setup.py
r50 r178 2 2 3 3 #************************************************************************* 4 # Copyright (c) 2009 The University of Chicago, as Operator of Argonne4 # Copyright (c) 2009-2010 The University of Chicago, as Operator of Argonne 5 5 # National Laboratory. 6 # Copyright (c) 2009 The Regents of the University of California, as6 # Copyright (c) 2009-2010 The Regents of the University of California, as 7 7 # Operator of Los Alamos National Laboratory. 8 8 # This file is distributed subject to a Software License Agreement found -
wxmtxy/trunk/wxmtxy.py
r176 r178 3 3 4 4 #************************************************************************* 5 # Copyright (c) 2009 The University of Chicago, as Operator of Argonne5 # Copyright (c) 2009-2010 The University of Chicago, as Operator of Argonne 6 6 # National Laboratory. 7 # Copyright (c) 2009 The Regents of the University of California, as7 # Copyright (c) 2009-2010 The Regents of the University of California, as 8 8 # Operator of Los Alamos National Laboratory. 9 9 # This file is distributed subject to a Software License Agreement found … … 25 25 README 26 26 27 wxmtxy provides EPICS support to users, allowing them to define a table of 28 known positions for an X,Y positioner (motor) pair and provides a one-button 29 click to drive the X,Y pair to a specific table setting. Also can record current 30 position into a setting. Several sets of X,Y positioners can be configured. 31 (Each set is separate.) In fact, the positioners do not have to be motors, 32 but can be any type of EPICS PV that will accept a numeric value. 27 *wxmtxy* (an EPICS GUI tool) provides support for an X,Y positioner 28 (motor) pair by allowing users to define a table of known positions 29 and providing a one-button click to drive a chosen X,Y pair to a specific 30 table setting. Also can record current position into a setting. 33 31 34 wxmtxy is based on wxPython and relies on CaChannel to communicate with EPICS. 32 Several sets of X,Y positioners can be configured. (Each set is 33 separate.) In fact, the positioners do not have to be motors, 34 but can be any type of EPICS PV that will accept a numeric value. 35 35 36 In the Graphical User Interface (GUI), tooltips are provided for most items.37 Moving and pausing the mouse over a widget (GUI component such as a button38 or a label) will cause a terse description of that widget to be displayed. Moving39 the mouse away will cause that tooltip to disappear.40 36 41 For more help, explanations are provided in the HTML pages. 37 wxmtxy is based on wxPython and relies on CaChannel to communicate 38 with EPICS. 39 40 In the Graphical User Interface (GUI), tooltips are provided for 41 most items. Moving and pausing the mouse over a widget (GUI 42 component such as a button or a label) will cause a terse description 43 of that widget to be displayed. Moving the mouse away will cause that 44 tooltip to disappear. 45 46 For more help, explanations are provided in the HTML pages. 42 47 43 48 ---- … … 95 100 if len(sys.argv) == 2: 96 101 settingsFile = sys.argv[1] 102 # TODO: What if PVs in settingsFile are not available at startup? 97 103 wxmtxy_root.root(None, settingsFile).Show() 98 104 capoll_timer = None -
wxmtxy/trunk/wxmtxy_axis.html
r51 r178 9 9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>wxmtxy_axis</strong></big></big></font></td 10 10 ><td align=right valign=bottom 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:///C|/documents%20and%20settings/pete/my%20documents/eclipse/workspace/wxmtxy/trunk/wxmtxy_axis.py">c:\documents and settings\pete\my documents\eclipse\workspace\wxmtxy\trunk\wxmtxy_axis.py</a></font></td></tr></table> 12 <p><tt>EPICS PVs and connections for one axis<br> 13 <br> 14 @version: <br> 15 ########### SVN repository information ###################<br> 16 # $Date: 2009-05-05 14:05:50 -0500 (Tue, 05 May 2009) $<br> 17 # $Author: jemian $<br> 18 # $Revision: 50 $<br> 19 # $URL: https://subversion.xor.aps.anl.gov/bcdaext/wxmtxy/trunk/wxmtxy_axis.py $<br> 20 # $Id: wxmtxy_axis.py 50 2009-05-05 19:05:50Z jemian $<br> 21 ########### SVN repository information ###################</tt></p> 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/oxygen18/JEMIAN/Documents/eclipse/usaxs/wxmtxy/trunk/wxmtxy_axis.py">/home/oxygen18/JEMIAN/Documents/eclipse/usaxs/wxmtxy/trunk/wxmtxy_axis.py</a></font></td></tr></table> 12 <p></p> 22 13 <p> 23 14 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -
wxmtxy/trunk/wxmtxy_axis.py
r50 r178 1 1 #!/usr/bin/env python 2 from compiler.ast import TryExcept 2 3 3 4 #************************************************************************* 4 # Copyright (c) 2009 The University of Chicago, as Operator of Argonne5 # Copyright (c) 2009-2010 The University of Chicago, as Operator of Argonne 5 6 # National Laboratory. 6 # Copyright (c) 2009 The Regents of the University of California, as7 # Copyright (c) 2009-2010 The Regents of the University of California, as 7 8 # Operator of Los Alamos National Laboratory. 8 9 # This file is distributed subject to a Software License Agreement found … … 46 47 '''Try to initiate EPICS connection with named PVs 47 48 @return: [Boolean] if all axes connected''' 49 failures = 0 48 50 for field in field_list: 51 # TODO: Can these connections be done together? 49 52 ch = self.db[field].GetConnection() 50 53 if ch != None: 51 ch.connectw() 52 ch.monitor() 54 try: 55 ch.connectw() 56 ch.monitor() 57 except: 58 failures += 1 59 print "Could not connect with PV: " + self.db[field].pv 60 return failures > 0 53 61 54 62 def Disconnect(self): -
wxmtxy/trunk/wxmtxy_htmlview.py
r50 r178 3 3 4 4 #************************************************************************* 5 # Copyright (c) 2009 The University of Chicago, as Operator of Argonne5 # Copyright (c) 2009-2010 The University of Chicago, as Operator of Argonne 6 6 # National Laboratory. 7 # Copyright (c) 2009 The Regents of the University of California, as7 # Copyright (c) 2009-2010 The Regents of the University of California, as 8 8 # Operator of Los Alamos National Laboratory. 9 9 # This file is distributed subject to a Software License Agreement found -
wxmtxy/trunk/wxmtxy_pair.py
r50 r178 3 3 4 4 #************************************************************************* 5 # Copyright (c) 2009 The University of Chicago, as Operator of Argonne5 # Copyright (c) 2009-2010 The University of Chicago, as Operator of Argonne 6 6 # National Laboratory. 7 # Copyright (c) 2009 The Regents of the University of California, as7 # Copyright (c) 2009-2010 The Regents of the University of California, as 8 8 # Operator of Los Alamos National Laboratory. 9 9 # This file is distributed subject to a Software License Agreement found … … 30 30 import wxmtxy_axis 31 31 import wx.lib.scrolledpanel 32 import pvConnect32 #import pvConnect 33 33 import copy 34 34 import pprint -
wxmtxy/trunk/wxmtxy_pvsetup.py
r50 r178 3 3 4 4 #************************************************************************* 5 # Copyright (c) 2009 The University of Chicago, as Operator of Argonne5 # Copyright (c) 2009-2010 The University of Chicago, as Operator of Argonne 6 6 # National Laboratory. 7 # Copyright (c) 2009 The Regents of the University of California, as7 # Copyright (c) 2009-2010 The Regents of the University of California, as 8 8 # Operator of Los Alamos National Laboratory. 9 9 # This file is distributed subject to a Software License Agreement found -
wxmtxy/trunk/wxmtxy_root.py
r54 r178 3 3 4 4 #************************************************************************* 5 # Copyright (c) 2009 The University of Chicago, as Operator of Argonne5 # Copyright (c) 2009-2010 The University of Chicago, as Operator of Argonne 6 6 # National Laboratory. 7 # Copyright (c) 2009 The Regents of the University of California, as7 # Copyright (c) 2009-2010 The Regents of the University of California, as 8 8 # Operator of Los Alamos National Laboratory. 9 9 # This file is distributed subject to a Software License Agreement found -
wxmtxy/trunk/wxmtxy_row.py
r51 r178 2 2 3 3 #************************************************************************* 4 # Copyright (c) 2009 The University of Chicago, as Operator of Argonne4 # Copyright (c) 2009-2010 The University of Chicago, as Operator of Argonne 5 5 # National Laboratory. 6 # Copyright (c) 2009 The Regents of the University of California, as6 # Copyright (c) 2009-2010 The Regents of the University of California, as 7 7 # Operator of Los Alamos National Laboratory. 8 8 # This file is distributed subject to a Software License Agreement found -
wxmtxy/trunk/wxmtxy_tab.py
r50 r178 2 2 3 3 #************************************************************************* 4 # Copyright (c) 2009 The University of Chicago, as Operator of Argonne4 # Copyright (c) 2009-2010 The University of Chicago, as Operator of Argonne 5 5 # National Laboratory. 6 # Copyright (c) 2009 The Regents of the University of California, as6 # Copyright (c) 2009-2010 The Regents of the University of California, as 7 7 # Operator of Los Alamos National Laboratory. 8 8 # This file is distributed subject to a Software License Agreement found -
wxmtxy/trunk/wxmtxy_version.html
r51 r178 7 7 <tr bgcolor="#7799ee"> 8 8 <td valign=bottom> <br> 9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>wxmtxy_version</strong></big></big> (version 0. 4)</font></td9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>wxmtxy_version</strong></big></big> (version 0.5)</font></td 10 10 ><td align=right valign=bottom 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/ //C|/documents%20and%20settings/pete/my%20documents/eclipse/workspace/wxmtxy/trunk/wxmtxy_version.py">c:\documents and settings\pete\my documents\eclipse\workspace\wxmtxy\trunk\wxmtxy_version.py</a></font></td></tr></table>11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/oxygen18/JEMIAN/Documents/eclipse/usaxs/wxmtxy/trunk/wxmtxy_version.py">/home/oxygen18/JEMIAN/Documents/eclipse/usaxs/wxmtxy/trunk/wxmtxy_version.py</a></font></td></tr></table> 12 12 <p><tt># full contents of __file_license__ appear at the top of each file</tt></p> 13 13 <p> … … 21 21 <strong>__author_email__</strong> = 'jemian@anl.gov'<br> 22 22 <strong>__company_name__</strong> = 'Advanced Photon Source'<br> 23 <strong>__copyright__</strong> = '(c) 2009 '<br>24 <strong>__documentation__</strong> = '<font color="#c040c0">\n</font> *wxmtxy* provides EPICS support to users, a...pe of EPICS PV that will accept a numeric value.<font color="#c040c0">\n</font>'<br>23 <strong>__copyright__</strong> = '(c) 2009, 2010'<br> 24 <strong>__documentation__</strong> = '<font color="#c040c0">\n</font> *wxmtxy* (an EPICS GUI tool) provides suppo...pe of EPICS PV that will accept a numeric value.<font color="#c040c0">\n</font>'<br> 25 25 <strong>__file_license__</strong> = '<font color="#c040c0">\n</font>#**********************************************...************************************************<font color="#c040c0">\n</font>'<br> 26 <strong>__license__</strong> = ' APS EPICS extensions software license'<br>26 <strong>__license__</strong> = 'Copyright (c) 2009-2010 University of Chicago. A... OF THE<font color="#c040c0">\n</font> POSSIBILITY OF SUCH LOSS OR DAMAGES.<font color="#c040c0">\n</font>'<br> 27 27 <strong>__long_description__</strong> = 'wxmtxy is an EPICS GUI tool to assist users in routine operation of positioning devices'<br> 28 28 <strong>__main_script__</strong> = 'wxmtxy.py'<br> … … 32 32 <strong>__url__</strong> = 'https://subversion.xor.aps.anl.gov/trac/bcdaext/wiki/wxmtxy'<br> 33 33 <strong>__urlsvn__</strong> = 'https://subversion.xor.aps.anl.gov/bcdaext/wxmtxy'<br> 34 <strong>__version__</strong> = '0.4'</td></tr></table><p> 34 <strong>__version__</strong> = '0.5'<br> 35 <strong>fp</strong> = <closed file 'LICENSE', mode 'r'></td></tr></table><p> 35 36 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 36 37 <tr bgcolor="#7799ee"> -
wxmtxy/trunk/wxmtxy_version.py
r51 r178 4 4 __file_license__ = ''' 5 5 #************************************************************************* 6 # Copyright (c) 2009 The University of Chicago, as Operator of Argonne6 # Copyright (c) 2009-2010 The University of Chicago, as Operator of Argonne 7 7 # National Laboratory. 8 # Copyright (c) 2009 The Regents of the University of California, as8 # Copyright (c) 2009-2010 The Regents of the University of California, as 9 9 # Operator of Los Alamos National Laboratory. 10 10 # This file is distributed subject to a Software License Agreement found … … 29 29 __author_email__ = "jemian@anl.gov" 30 30 __company_name__ = "Advanced Photon Source" 31 __version__ = "0.4" 32 __copyright__ = "(c) 2009" 33 __license__ = "APS EPICS extensions software license" 31 __version__ = "0.5" 32 __copyright__ = "(c) 2009, 2010" 33 # license text from file: LICENSE 34 __license__ = ''' 35 APS EPICS extensions software license. See file LICENSE for details. 36 ''' 37 fp = open('LICENSE', 'r') 38 __license__ = fp.read() 39 fp.close() 34 40 __long_description__ = '''wxmtxy is an EPICS GUI tool to assist users in routine operation of positioning devices''' 35 41 __main_script__ = "wxmtxy.py" … … 40 46 __svndesc__ = 'wxmtxy SVN repo page' 41 47 __documentation__ = ''' 42 *wxmtxy* provides EPICS support to users, allowing them43 to define a table of known positions for an X,Y positioner (motor) pair44 and provid es a one-button click to drive theX,Y pair to a specific48 *wxmtxy* (an EPICS GUI tool) provides support for an X,Y positioner 49 (motor) pair by allowing users to define a table of known positions 50 and providing a one-button click to drive a chosen X,Y pair to a specific 45 51 table setting. Also can record current position into a setting. 46 52 -
wxmtxy/trunk/wxmtxy_xml.html
r51 r178 9 9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>wxmtxy_xml</strong></big></big></font></td 10 10 ><td align=right valign=bottom 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/ //C|/documents%20and%20settings/pete/my%20documents/eclipse/workspace/wxmtxy/trunk/wxmtxy_xml.py">c:\documents and settings\pete\my documents\eclipse\workspace\wxmtxy\trunk\wxmtxy_xml.py</a></font></td></tr></table>11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/oxygen18/JEMIAN/Documents/eclipse/usaxs/wxmtxy/trunk/wxmtxy_xml.py">/home/oxygen18/JEMIAN/Documents/eclipse/usaxs/wxmtxy/trunk/wxmtxy_xml.py</a></font></td></tr></table> 12 12 <p><tt>@note: support the XML settings file for the wxmtxy application<br> 13 13 <br> -
wxmtxy/trunk/wxmtxy_xml.py
r50 r178 2 2 3 3 #************************************************************************* 4 # Copyright (c) 2009 The University of Chicago, as Operator of Argonne4 # Copyright (c) 2009-2010 The University of Chicago, as Operator of Argonne 5 5 # National Laboratory. 6 # Copyright (c) 2009 The Regents of the University of California, as6 # Copyright (c) 2009-2010 The Regents of the University of California, as 7 7 # Operator of Los Alamos National Laboratory. 8 8 # This file is distributed subject to a Software License Agreement found
Note: See TracChangeset
for help on using the changeset viewer.