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>
2018
2019
2020
2021
2022
2023
2024
- 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>
2018
2019
2020
2021
2022
2023
2024
|