Skip to content

Commit

Permalink
initial, as-is
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Feb 18, 2020
1 parent 136fe55 commit fddf190
Show file tree
Hide file tree
Showing 66 changed files with 19,895 additions and 0 deletions.
65 changes: 65 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
Copyright (c) 2009-2010 University of Chicago. All rights reserved.

wxmtxy, pvConnect, and menuLauncher are distributed subject to the following license conditions:

SOFTWARE LICENSE AGREEMENT
Software: wxmtxy, including pvConnect and menuLauncher

1. The "Software", below, refers to wxmtxy, pvConnect,
and menuLauncher (in either source code, or
binary form and accompanying documentation). Each licensee is
addressed as "you" or "Licensee."

2. The copyright holders shown above and their third-party licensors
hereby grant Licensee a royalty-free nonexclusive license, subject to
the limitations stated herein and U.S. Government license rights.

3. You may modify and make a copy or copies of the Software for use
within your organization, if you meet the following conditions:
a. Copies in source code must include the copyright notice and this
Software License Agreement.
b. Copies in binary form must include the copyright notice and this
Software License Agreement in the documentation and/or other
materials provided with the copy.

4. You may modify a copy or copies of the Software or any portion of it,
thus forming a work based on the Software, and distribute copies of
such work outside your organization, if you meet all of the following
conditions:
a. Copies in source code must include the copyright notice and this
Software License Agreement;
b. Copies in binary form must include the copyright notice and this
Software License Agreement in the documentation and/or other
materials provided with the copy;
c. Modified copies and works based on the Software must carry
prominent notices stating that you changed specified portions of
the Software.

5. Portions of the Software resulted from work developed under a U.S.
Government contract and are subject to the following license: the
Government is granted for itself and others acting on its behalf a
paid-up, nonexclusive, irrevocable worldwide license in this computer
software to reproduce, prepare derivative works, and perform publicly
and display publicly.

6. WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED "AS IS" WITHOUT WARRANTY
OF ANY KIND. THE COPYRIGHT HOLDERS, THEIR THIRD PARTY LICENSORS, THE
UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, AND THEIR
EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT, (2) DO NOT ASSUME
ANY LEGAL LIABILITY OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS,
OR USEFULNESS OF THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF THE
SOFTWARE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS, (4) DO NOT WARRANT
THAT THE SOFTWARE WILL FUNCTION UNINTERRUPTED, THAT IT IS ERROR-FREE
OR THAT ANY ERRORS WILL BE CORRECTED.

7. LIMITATION OF LIABILITY. IN NO EVENT WILL THE COPYRIGHT HOLDERS, THEIR
THIRD PARTY LICENSORS, THE UNITED STATES, THE UNITED STATES DEPARTMENT
OF ENERGY, OR THEIR EMPLOYEES: BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF ANY KIND OR NATURE,
INCLUDING BUT NOT LIMITED TO LOSS OF PROFITS OR LOSS OF DATA, FOR ANY
REASON WHATSOEVER, WHETHER SUCH LIABILITY IS ASSERTED ON THE BASIS OF
CONTRACT, TORT (INCLUDING NEGLIGENCE OR STRICT LIABILITY), OR
OTHERWISE, EVEN IF ANY OF SAID PARTIES HAS BEEN WARNED OF THE
POSSIBILITY OF SUCH LOSS OR DAMAGES.
9 changes: 9 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
include LICENSE
include graphics/*.bmp
include graphics/*.gif
include graphics/*.png
include graphics/*.vsd
include examples/*.xml
include examples/*.xsl
include examples/*.txt
include *.html
60 changes: 60 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@

# Makefile
#*************************************************************************
# Copyright (c) 2009-2010 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2009-2010 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# This file is distributed subject to a Software License Agreement found
# in the file LICENSE that is included with this distribution.
#*************************************************************************

########### SVN repository information ###################
# $Date: 2010-06-03 16:04:15 -0500 (Thu, 03 Jun 2010) $
# $Author: jemian $
# $Revision: 184 $
# $URL: https://subversion.xor.aps.anl.gov/bcdaext/wxmtxy/trunk/Makefile $
# $Id: Makefile 184 2010-06-03 21:04:15Z jemian $
########### SVN repository information ###################


HOST := $(shell uname -n)
PYTHON := $(shell which python)
PYDOC := $(shell which pydoc)
ifeq ("$(HOST)", "como")
# como runs cygwin
# the python supplied with Cygwin does not have wx
# wx is a package installed in Enthought Python
PYTHON := /cygdrive/c/Python26/python.exe
endif
ifeq ("$(HOST)", "usaxscontrol.xor.aps.anl.gov")
# usaxscontrol.xor.aps.anl.gov needs APSshare version
PYTHON := /APSshare/bin/python
PYDOC := /APSshare/bin/pydoc
endif
ifeq ("$(HOST)", "gov.aps.anl.gov")
# gov.aps.anl.gov needs APSshare version
PYTHON := /APSshare/bin/python
PYDOC := /APSshare/bin/pydoc
endif


all :: sdist

rebuild :: clean all

clean ::
/bin/rm -rf build/ dist/ MANIFEST *.pyc

sdist ::
$(PYTHON) ./setup.py sdist

run ::
$(PYTHON) ./wxmtxy.py

pydoc ::
$(PYDOC) -w ./
/bin/mv -f wxmtxy*.html pydoc/
/bin/mv -f pvConnect.html pydoc/
/bin/mv -f setup.html pydoc/
/bin/mv -f menuLauncher.html pydoc/
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# README


*wxmtxy* (an EPICS GUI tool) provides support for an X,Y positioner
(motor) pair by allowing users to define a table of known positions
and providing a one-button click to drive a chosen X,Y pair to a specific
table setting. Also can record current position into a setting.

Several sets of X,Y positioners can be configured. (Each set is
separate.) In fact, the positioners do not have to be motors,
but can be any type of EPICS PV that will accept a numeric value.


wxmtxy is based on wxPython and relies on CaChannel to communicate
with EPICS.

In the Graphical User Interface (GUI), tooltips are provided for
most items. Moving and pausing the mouse over a widget (GUI
component such as a button or a label) will cause a terse description
of that widget to be displayed. Moving the mouse away will cause that
tooltip to disappear.

For more help, explanations are provided in the HTML pages.
Loading

0 comments on commit fddf190

Please sign in to comment.