On Apr 2, 2014, at 12:15 PM, Ganesh Jangir <[email protected]> wrote:
> Dear All,
>
> How to open BEAST Perspective,Using widget, during CSS/OPI Runtime.
>
> I need to avoid to go CSS Development perspective to open BEAST, during OPI Runtime.
Not sure what you mean by CSS Development perspective.
The typical workflow for setups that use the alarm system would be this:
In the control room, one instance of CSS is always running with the alarm display being open (alarm area panel, alarm table, annunicator. Maybe also alarm tree).
If an alarm happens, operators can see it, and typically also hear.
To handle the alarm, operators can then study the guidance of the alarm, open related displays etc. from the context menu of the alarm.
The workflow is thus alarm panel -> other displays, and not other displays -> alarm panel.
But if you really want to open a specific alarm view from a widget, you can do that via an Action Button which executes a script.
The Java code to open a view can be found in https://github.com/ControlSystemStudio/cs-studio/blob/master/applications/plugins/org.csstudio.apputil.ui/src/org/csstudio/apputil/ui/workbench/OpenViewAction.java, so you need to implement the relevant pieces in Javascript or Jython.
The view IDs for the alarm views are
"org.csstudio.alarm.beast.ui.areapanel"
"org.csstudio.alarm.beast.ui.alarmtree.View"
"org.csstudio.alarm.beast.ui.alarmtable.view"
If you really want to switch to the alarm perspective, the perspective ID would be "org.csstudio.alarm.beast.ui.perspective", and example Java code for switching to a perspective, or resetting it in case it's already active but has been rearranged, would be in https://github.com/ControlSystemStudio/cs-studio/tree/master/core/plugins/org.csstudio.ui.util/src/org/csstudio/ui/util/perspective
Thanks,
Kay
- References:
- How to open BEAST Prespective, during OPI runtime. Ganesh Jangir
- Navigate by Date:
- Prev:
Re: camonitor no refresh on .RBV field J. Lewis Muir
- Next:
CSS : Multiple IOC pv(s) disconnect on ethernet unplug Sud Roy
- 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:
How to open BEAST Prespective, during OPI runtime. Ganesh Jangir
- Next:
camonitor no refresh on .RBV field Chen Xue
- 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
|