Experimental Physics and Industrial Control System
|
Hi Swati,
That's because the text/value being displayed on a widget is not directly linked to a PV. From a script, you need to get get the PV itself and then use pv.setValue()
Hope that helps David
Hello All. I am getting trouble to get value of attached PV from CSS widget. Here is my script:
importPackage(Packages.org.csstudio.opibuilder.scriptUtil); var i = "Swati_Soni";
var value1 = display.getWidget("text1").getValue(); var value2 = display.getWidget("text2").getValue();
display.getWidget("t_display").setPropertyValue("text", i+"_"+value1+"_"+value2);
From this script I am able to concatenate the two value in textupdate "t_display" (widget shows the output), but the PV attached into it can not get updated with this concatenated value.
Is there any method so that the attached PV of "t-display"can be updated with "Swati_Soni_value1_value2".
text1 and text2 has=ai EPICS record ,whereas t_display has stringin record. Thanks in advance,
Swati
- Navigate by Date:
- Prev:
Error in feching PV from CSS Swati Soni2
- Next:
RE: EPICS base-3.14.12.4 make Error 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
- Navigate by Thread:
- Prev:
Error in feching PV from CSS Swati Soni2
- Next:
Battling to start archive.engine on Postgresql db Ivan Kohler
- 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
|
ANJ, 17 Dec 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|