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  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: About CSS/BOY
From: patard <[email protected]>
To: [email protected]
Date: Thu, 21 Jul 2011 17:02:03 +0200
Le 21/07/2011 16:48, Touchard Dominique a écrit :

L’essentiel y est. Si ce n’est que je crois que Exchange en anglais n’a pas tout à fait le même sens : je ne suis pas sûr que cela soit approprié.

 

 

De : patard [mailto:[email protected]]
Envoyé : jeudi 21 juillet 2011 16:40
À : Touchard Dominique
Objet : About CSS/BOY

 

Hi Xihui,

I've already written to you about this topic "How to execute CSS/BOY directly in OPIruntime mode ?". Since the last time we talked, I've more questions for you if you wish ?

Firstly,
when we exchanged last time you explained to me how to run CSS/BOY in compact mode.
Your answer was :

"
If you are not in "OPI Runtime" perspective, you can go to menu Window->Open Perspective->Other->OPI Runtime to open it. Then right click a running OPI and select "Compact Mode" Close all other CSS windows, then close the running OPI window at last. Start CSS again, you will be able to launch the OPI directly in compact mode. (The current version has a bug that the menu will show up again. This has been fixed in the code, so please wait until next release.) "

I've tested the version 3.0.0 of CSS/BOY and I guess the bug wasn't fixed because the menu always appears when I restart CSS in "OPI runtime". Or may be my process to do this isn't good.

Secondly,
I tried, to launch an opi file in other window CSS/BOY (not in a new tab) by a click on Action Button. The only solution I've found is to attach a "Execute _javascript_"  in property Actions.
Here the contains of the file : " // Packages   
                                                        importPackage(Packages.org.csstudio.opibuilder.scriptUtil);
                                                        importPackage(Packages.java.lang);

                                                     // Déclaration variable
                                                         var Fenetre = new ScriptUtil();
                                                         var pv = PVUtil.getLong(pvArray[0]);
   
                                                    // Test pour savoir la valeur de la pv local
                                                    if(pv==1)
                                                    {    
                                                     Fenetre.openOPI(widgetController,"/home/patard/CSS-Workspaces/Default/AmpliHFsp2    /Ampli_RFQ_60kW.opi",true,null);
                                                    }
I just want to know if it's possible to do this with an "Open opi" action ? May be the properties must be modify like this :




Thanks for your answers Xihui.

Charles-Henry PATARD


begin:vcard
fn:Charles-Henry PATARD
n:PATARD;Charles-Henry
org:GANIL;SDA - groupe GIM
adr;dom:;;Boulevard Henri Becquerel;CAEN;;14000
email;internet:[email protected]
tel;work:02-31-45-49-05
version:2.1
end:vcard


Replies:
RE: About CSS/BOY Chen, Xihui

Navigate by Date:
Prev: Where is histogram? Vigder, Mark
Next: Re: Where is histogram? Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Where is histogram? Andrew Johnson
Next: RE: About CSS/BOY Chen, Xihui
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·