[kepler-dev] Query Regarding Interactive Shell Actor

Christopher Brooks cxh at eecs.berkeley.edu
Mon Mar 29 12:59:01 PDT 2010


Hi Subhav,
When I open the attached LoopTry.xml model in a Kepler-2.0 release candidate
under Mac OS X, I can type the same character into the Interactive Shell Actor
and it appears in the output.  See the attached screen shot.

One interesting thing is that the focus moves from the Interactive Shell to
the Display, but this happens only the first time I run the model.

More precisely, what I do is:

1) Start up Kepler-2.0
2) File->Open File, Browse to LoopTry.xml select it and hit open
3) In the new graph editor, hit the run button
4) In the ".LoopTry.InteractiveShell" window, type a 1
5) A ".LoopTry.Display" window appears that has the focus and that
    window has a 1 in it.  I dragged the display window to a
    location adjacent to the InteractiveShell window.

6) Click on the ".LoopTry.InteractiveShell" window and type a 1
7) In the Display window, a 1 appears, but the focus remains in
    the InteractiveShell window.
8) In the ".LoopTry.InteractiveShell" window, type a 1
9) Same behavior as step 7


If you are getting different behavior, then let me know:
1) What operating system are you running?  I'm assuming it is Ubuntu 9.10
2) How did you build the release?  I'm assuming you built Kepler 2.0
from sources.
3) Are you running from within Eclipse or from the Command line?

You might try a reboot or try a different machine to see if the
problem is specific to your machine.  Doing a new build might also
help.

_Christopher




On 3/28/10 11:31 PM, subhav mital wrote:
> Any suggestions on where I could be going wrong?
> Thanks for your help.
>
>
> On Mon, Mar 29, 2010 at 12:06 AM, Edward A. Lee <eal at eecs.berkeley.edu
> <mailto:eal at eecs.berkeley.edu>> wrote:
>
>
>     Works for me... :-)
>
>     Edward
>
>
>
>     On 3/28/10 1:31 PM, subhav mital wrote:
>
>         Hi,
>
>         While using the interactive shell actor, I realized that it does not
>         accept the same value twice. Any idea why?
>         Eg: If I enter 1 it gets displayed. Again if I enter 1 on the
>         prompt,
>         nothing happens.
>
>         My use case is implementing a switch case which can iterate over
>         cases
>         as prompted from the user. Eg: Case 1: 5 times, Case 2: 3 times.
>
>         Attached is a simple workflow to try this.
>
>         Please offer suggestions if anyone has implemented a similar
>         functionality.
>
>         Thanks.
>
>
>
>         _______________________________________________
>         Kepler-dev mailing list
>         Kepler-dev at kepler-project.org <mailto:Kepler-dev at kepler-project.org>
>         http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>
>
>
>
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev

-- 
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841 fax:510.642.2718	      (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LoopTryRun.png
Type: image/png
Size: 121073 bytes
Desc: not available
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20100329/6966ec1e/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LoopTry.xml
Type: text/xml
Size: 15601 bytes
Desc: not available
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20100329/6966ec1e/attachment-0001.xml>


More information about the Kepler-dev mailing list