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  <20132014  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  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Open multiple OPI
From: Hugo Slepicka <[email protected]>
To: Lucas Jose Monteiro Carvalho <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wed, 15 May 2013 12:43:44 -0300
Dear Lucas,

You can change the action to execute a _javascript_/Python and use openOPI function to open as many OPIs as you want.

openOPI

public static final void openOPI(org.csstudio.opibuilder.editparts.AbstractBaseEditPart widget,
                                 java.lang.String opiPath,
                                 int target,
                                 org.csstudio.opibuilder.util.MacrosInput macrosInput)
Open an OPI.
Parameters:
widget - the widget to which the script is attached.
opiPath - the path of the OPI. It can be either an absolute path or a relative path to the Display file of the widget.
target - target place of the new OPI. 0: new tab; 1: replace current one; 2: new window; 3: view on left; 4: view on right; 5: view on top; 6: view on bottom; 7: detached view
macrosInput - the macrosInput. null if no macros needed.

--
Hugo Henrique Slepicka
Computer Engineer
SOL - Beamline Software Group
LNLS - Brazilian Synchrotron Light Laboratory
CNPEM - Centro Nacional de Pesquisa em Energia e Materiais
+55 19 3512-1228 - [email protected]
www.lnls.br


2013/5/15 Lucas Jose Monteiro Carvalho <[email protected]>

   Hello, all.

   In Control System Studio, I have a menu button.
   In this menu button, the user can choose 4 options.

   How can I do, when user choose an option (An Open OPI action), to open more than one OPI?


   Thanks in advance,
   Lucas José Monteiro Carvalho
   Control Group
   Brazilian Synchrotron Light Laboratory
   [email protected]
   +55 19 8217-6011

Replies:
RES: Open multiple OPI Lucas Jose Monteiro Carvalho

Navigate by Date:
Prev: Re: Regarding database links Pearson, Matthew R.
Next: Re: How to output arrary data in EPICS db? Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Open multiple OPI Lucas Jose Monteiro Carvalho
Next: RES: Open multiple OPI Lucas Jose Monteiro Carvalho
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·