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  2012  2013  2014  2015  2016  <2017 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: Re: triggerPV in DisplayBuilder
From: "Kasemir, Kay" <kasemirk@ornl.gov>
To: Amien Crombie <acrombie@tlabs.ac.za>, EPICS Tech-Talk <tech-talk@aps.anl.gov>
Date: Fri, 15 Sep 2017 12:58:08 +0000
Hi:

>Any idea what's the equivalent for 'triggerPV' in our Display-Builder ...
>In OPI I used it as : if triggerPV==pvs[1]:

There is no equivalent.
If any of the PVs that are configured to trigger the script changes,
the script is scheduled for execution.
Just before it's actually executed, another of the PVs could re-trigger execution of the same script, whereupon we just notice that this script is already queued for execution.
Finally, the script is executed, but you can't tell which of the trigger PVs caused that in case your script has more than one PVs configured as a trigger.

If your script needs to perform different functionalities  depending on which of the PVs triggered, maybe you better use one script per functionality?
Or is your script really that complicated because it's more than just some display-related gimmick? If it's actually performing a control function, it really "does" something to the machine, that functionality should be placed in the control system (IOC, database logic, SNL, ..) and not the GUI.

-Kay

References:
triggerPV in DisplayBuilder Amien Crombie

Navigate by Date:
Prev: RE: Questions regarding CA protocol specification and phylosophy Mark Rivers
Next: Re: Questions regarding CA protocol specification and phylosophy Diego Sanz
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: triggerPV in DisplayBuilder Amien Crombie
Next: asyn R4-32 available Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 15 Sep 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·