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