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

Subject: RE: BOY
From: "Chen, Xihui" <[email protected]>
To: "Szalata, Zenon M." <[email protected]>
Cc: EPICS tech-talk <[email protected]>
Date: Thu, 02 Sep 2010 09:56:10 -0400
Hi Zen


>Regarding the unresponsiveness of CSS; Once or twice when I started CSS it would not respond to any clicking or dragging, etc.  It would stay that way for tens of seconds.  When in that state clicking on the "x" button in the upper right corner would not kill it....

Please close all the editors in CSS and restart it to see if there is still halt problem. If it is still there, close all the views and restart CSS again. When it is halt, what is the CPU usage?

>Now a question for you.  I am presently writing an EDM screen which involves using a Video widget to display output from a camera.  I don't see a similar widget in BOY.  Are you planning to provide one in the near future?

There is a widget in BOY called "Intensity Graph" can work like an Video widget. Please see the Intensity graph example.

Thanks,
Xihui

-----Original Message-----
From: Chen, Xihui [mailto:[email protected]] 
Sent: Tuesday, August 31, 2010 10:06 AM
To: Szalata, Zenon M.
Cc: EPICS tech-talk
Subject: RE: BOY

Hi Zen,

You can find the answer of your question by running BOY Examples->4_Actions_1_Open_OPI.opi. BOY runtime works just like a web browser. Press Ctrl to open a file in a new Tab and Press Shift to open a file in new Window. You can still drag the Tab to arrange OPIs side by side in the same window.

What is the CSS tool you were running when you find the halt problem? Is that BOY? Can you reproduce the problem?

Thanks,
Xihui

-----Original Message-----
From: Szalata, Zenon M. [mailto:[email protected]] 
Sent: Tuesday, August 31, 2010 12:52 PM
To: Chen, Xihui
Cc: EPICS tech-talk
Subject: RE: BOY

Hi Xihui,
I have two OPI files. Let us refer to them as file1 and file2.
In file1 I have an Action Button; let's refer to it as B1.  I defined action for B1 to open file2.
When I run file1 and click on B1, file2 is opened in the same display as file1 and replaces it.  At least in some cases this behavior is undesirable.  What do I need to do to make file2 appear in its own display?  I mean, that a new tab should be created for file2, in which case I could choose to either view file1 or file2 by clicking on one tab or the other.
It also is desirable to be able to display both file1 and file2 in separate screens.  I guess, I am asking if it is possible to somehow detach the image of file2 from the CSS Workbench?  At least I would like to be able to view file1 and file2 side by side.  How could that be done?

I am also experiencing sporadic difficulties with CSS since I upgraded it.  I am now running version 2.2.0.201008.  It seems that at times it becomes unresponsive as if it was waiting for some resource or something.  It might come to life a while later and more likely than not, it needs to be killed.  Are there any known problems with this upgrade?  Has anyone reported similar problems?

Thanks,
Zen

-----Original Message-----
From: Chen, Xihui [mailto:[email protected]] 
Sent: Monday, August 30, 2010 6:08 AM
To: Szalata, Zenon M.
Subject: RE: BOY

Hi Zen, 

The latest version currently available in SNS site still didn't include my fixes. This version was built on Aug. 12 whereas I fixed the bug on Aug. 18. So please wait for the next release. I'm sorry for the inconvenience.

Thanks,
Xihui

-----Original Message-----
From: Szalata, Zenon M. [mailto:[email protected]] 
Sent: Saturday, August 28, 2010 7:45 PM
To: Chen, Xihui
Subject: RE: BOY

Hi Xihui,
I Clicked on "Check for Updates" and it upgraded my CSS to version 2.2.0.201008.  I was hoping that the few fixes that you told me that you have made would be in this newer version, but both the "Byte Monitor" and the macro passing to linked display still do not work correctly for me.
It is possible, that the update I got was to CSS and not to BOY.  Is that right?

Thanks,
Zen

-----Original Message-----
From: Chen, Xihui [mailto:[email protected]] 
Sent: Wednesday, August 18, 2010 1:59 PM
To: Szalata, Zenon M.
Subject: RE: BOY

Hi Zen,

This widget was created by John at APS. This is a bug. It should support mbbi record. I have fixed that.

Thank you!
Xihui
________________________________________
From: Szalata, Zenon M. [[email protected]]
Sent: Monday, August 16, 2010 12:40 PM
To: Chen, Xihui
Subject: RE: BOY

Thanks you Xihui,
I have tried to use the Byte Monitor widget.  I assumed that it should work with EPICS mbbi record.  Unfortunately it fails to connect to that record.  Was Byte Monitor designed to work with some other type of EPICS record?

Zen

-----Original Message-----
From: Chen, Xihui [mailto:[email protected]]
Sent: Monday, August 16, 2010 9:00 AM
To: Szalata, Zenon M.
Subject: RE: BOY

Hi Zen,

Thank you for reminding me. I'm sorry for the delay. I was quite busy recently in dealing with tons of mails. Yes, the macros on open display action button is a bug. I have fixed that in the code so your attachment will work for next release which is probably in this month. I'm sorry for this bug and thank you for using BOY in a complicated manner.

For the menu button, I will add an option in future to add the extra words or not. Right now, I recommend using Combo BOX for your purpose.

Thanks,
Xihui


-----Original Message-----
From: Szalata, Zenon M. [mailto:[email protected]]
Sent: Saturday, August 14, 2010 12:19 AM
To: Chen, Xihui
Subject: RE: BOY

Hi Xihui,
A few days ago, I sent you the message which appears below and have not heard from you yet.
In the meantime, I started using the Menu Button.  I set it up so it gets values from a mbbo record.  When I click on it I get something unexpected; each menu string appears with extra text.  For instance one item is Soft Trigger and what I see is "Write Soft Trigger to HM01:MBBO:CNTRL".  Is there a way to change that so that only the strings in the mbbo record appear in the list of menu items?

Thanks in advance,
Zen

-----Original Message-----
From: Szalata, Zenon M.
Sent: Wednesday, August 11, 2010 1:36 PM
To: 'Chen, Xihui'
Subject: RE: BOY

Hi Xihui,
This is a nice example and it is almost what I need.  In real application that I am creating, I need one more level of screen linking.  I am attaching a zipped file of my OPIs and renamed java scripts that you sent me.

The main.opi file does part of what your example showed.  It passes a macro value to a "linked" screen, myEmbed.opi.  That works as expected.  The macro pv has the correct value.  In myEmbed.opi, I have added an action button, with action to open an OPI file, myCell.opi.  I have naively expected that the macro pv would be available in this screen through {Parent Macros}, but that is not the case.  Since this did not work I have added a new macro cell=$(pv), thinking that this might work.  In fact $(cell) still has the value of $(pv).  What am doing wrong?

By the way, I can't figure out why the "Text Input" in the main.opi screen when first started show 0.00au.  Where is that coming from?  I did not cut and paste from example files, so I am puzzled that it knows the unit to be au.

Thanks for helping,
Zen

-----Original Message-----
From: Chen, Xihui [mailto:[email protected]]
Sent: Monday, August 09, 2010 8:54 AM
To: Szalata, Zenon M.
Subject: RE: BOY

Try again. Change .jj to .js

-----Original Message-----
From: Szalata, Zenon M. [mailto:[email protected]]
Sent: Friday, August 06, 2010 8:32 PM
To: Chen, Xihui
Subject: RE: BOY

Hi Xihui,
This is a follow up to my previous e-mail.
I have tested a simple implementation such that:

1. An OPI file can monitor a few PV values.  The PV names are of the form CELL${number}:REG_N.

2. In another OPI I have a few labels with text "1", "2", "3", etc.  Each label value represents a cell number.  In each of these label widgets I define an action to open an OPI file.  It is the OPI file from point 1.  Each label defines macro: number=n, where n is the cell number.

3. This works, except that if I choose this method I end up with 32 labels, which is very clumsy and not elegant at all.  So, I am looking for a way to use a single control, perhaps a Text Input to perform the function of these 32 label widgets.  So, my question is: how do I do it?

Thanks for helping,
Zen

-----Original Message-----
From: Chen, Xihui [mailto:[email protected]]
Sent: Friday, August 06, 2010 10:03 AM
To: Szalata, Zenon M.
Subject: RE: BOY

Hi Zen,

I have an example there shows how to do that. If you don't have BOY Examples installed, go to menu CSS->Display->Install OPI Examples. Then open BOY Examples-> widgets->4_2_LinkingContainer.opi. Example 2 shows how to pass macros to the opi file in linking container.

Thanks,
Xihui

-----Original Message-----
From: Szalata, Zenon M. [mailto:[email protected]]
Sent: Friday, August 06, 2010 12:11 AM
To: Chen, Xihui
Subject: BOY

Hi Xihui,
I am making progress using CSS/BOY creating simple OPIs.
Presently I am constructing a GUI for a system which consists of 32 identical cells.  Each cell has a number of ADC channels, buffers which store waveforms, and a handful of registers.  I would like to construct one OPI which would have monitors and controls for one such cell.  The IOC which controls these cells has 32 sets of identical EPICS records, one for each cell.  Part of the record name is the cell number.
In the main screen I would like to have some control, perhaps a Text Input, for specifying for which cell the cell OPI screen should be displayed.  It seems to me that the main screen needs to somehow construct a macro to be passed to the cell OPI.  I know how to do this in EDM, but I am not sure how to do that in BOY.  I suspect that a fairly advanced technique is needed to implement something like it.
Could you suggest how this could be done?  Perhaps there is a simple example that you could point me to.

Thanks,
Zen


References:
RE: BOY Szalata, Zenon M.
RE: BOY Chen, Xihui
RE: BOY Szalata, Zenon M.

Navigate by Date:
Prev: RE: BOY Szalata, Zenon M.
Next: How calcExample calls myAsubProcess ? M . VERDIER
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: BOY Szalata, Zenon M.
Next: Workshops associated with the meeting Dalesio, Leo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·