Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: Re: EDM Animated Symbol widget Angle PV property question
From: John William Sinclair <sinclairjw@ornl.gov>
To: "Linda.Pratt@diamond.ac.uk" <Linda.Pratt@diamond.ac.uk>, Tech-talk <tech-talk@aps.anl.gov>
Date: Tue, 06 Mar 2012 12:15:10 -0500
Hi Linda,

Rotation is not supported, sorry. The use of the angle is to simply provide
a rotated coordinate system. I actually built the widget in an afternoon to display the location of a crane. The scheme made it easy to track the movement of the crane bridge along one axis and the trolley along the other with both moving in a coordinated system
that was rotated with respect to the screen.

I have refrained from spending too much time documenting new features as a result of the current direction of the EPICS community with regard to software tools. On the other hand, I will always work with someone to provide better documentation, bug fixes, and support on request. I am in the same boat as all EPICS developers who support legacy tools. We are committed to the institutions that use the old software but we also have full-time
jobs that normally have nothing to do with supporting that software.

Note that the new display manager, BOY, which is part of CSS is much more sophisticated with regard to scaling and rotation of images. It can probably do what you want (I'm still a novice BOY user so I don't know the details off the top of my head). The biggest problem with the old Xwindow-based graphic models is the handling of text. The new tools incorporate a much more flexible model for transforming the rendering of text.

With regard to your original question, there might be a way to achieve the behavior you desire as long as you can live with a somewhat coarse resolution in the rotating motion but its probably too much work. If you are interested
in pursuing this let me know.

John Sinclair



Linda.Pratt@diamond.ac.uk wrote:

Dear All,

I have been trying to use an animated symbol widget to represent something on a rotational axis on an EDM screen with a symbol consisting of a filled square on a dotted line circle. I anticipated the Angle PV could be set to a value which would cause the symbol to be rotated about its centre to the specified orientation angle. Instead the behaviour seems to be that it causes the centre of the widget as defined by the X PV and Y PV relative to be rotated about the centre as defined by the X and Y field values. In other words, it moves the widget, but keeps the same orientation, which does not seem terribly useful as that could be achieved by manipulating X PV and Y PV.

Is this the intended behaviour? Is there documentation available on the Animated Symbol widget? (Please note Diamond cannot access APS EPICS site at the moment – see other thread). Has anyone got a working example of something similar?

Thanks,

Linda Pratt

Software Systems Engineer

Controls Department

linda.pratt@diamond.ac.uk

+44 (0)1235 778058

www.diamond.ac.uk

Diamond Light Source Ltd

Diamond House

Harwell Science and Innovation Campus

DIDCOT

Oxfordshire

OX11 0DE

UK


--

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom



References:
EDM Animated Symbol widget Angle PV property question Linda.Pratt

Navigate by Date:
Prev: RE: APS web site currently inaccessible from Diamond Mark Rivers
Next: cothread ca_nothing Shen, Guobao
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: EDM Animated Symbol widget Angle PV property question Linda.Pratt
Next: cothread ca_nothing Shen, Guobao
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·