EPICS Controls 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  <20182019  2020  2021  2022  2023  2024  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: getPV()
From: "Kasemir, Kay" <[email protected]>
To: Amien Crombie <[email protected]>, "[email protected]" <[email protected]>
Date: Mon, 14 May 2018 13:53:21 +0000
> I have 3 pv's attached to my widget.
You mean that you have a script attached to a widget, and that script has 3 PVs as input?

> How do I get the pv_name (not value) from say the 1st pv (pvs[0])

In general, the scripting API is different for BOY and the Display Builder.
For the Display Builder, the online help section CSS Applications, Display, Display Builder, Scripts, API, .., RuntimePV shows that the PV has a getName() method.
Turns out the IPV used by BOY is the same in that respect, so either way:

pvs[0].getName()

-Kay

References:
getPV() Amien Crombie

Navigate by Date:
Prev: Re: Confirm dialog for Display Builder action button? Kasemir, Kay
Next: Re: Help building synapps Bob Soliday
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: getPV() Amien Crombie
Next: Help building synapps Giacomo S.
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 14 May 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·