[kepler-users] Are there any graphical INPUT actors in the community?

ben leinfelder leinfelder at nceas.ucsb.edu
Tue Oct 4 14:02:21 PDT 2011


Marc -- 
You might also look at the Python Actor examples we have -- these can be used to display JDialogs (etc) in Kepler to gather user input. It doesn't take too much coding to use what we already have in the tutorial examples for your own needs (see PythonDialogExample.xml).
-ben

On Oct 4, 2011, at 1:47 PM, J. Marc Edwards wrote:

> Matt:
> 
> OK...the BrowserUI looks like an interesting actor option for my workflow.  It would be nice to be able to "search" workflow *.kar files to determine if a workflow used a specific actor, in this case, a BrowserUI actor.
> 
> I'd like to take a look at some workflows that use this actor.
> 
> Do you also have a contact at SDSC with whom I may interact on this query?
> 
> Kind regards, Marc
> J. Marc Edwards
> Lead Architect - Semiconductor Design Portals
> Nimbis Services, Inc.
> Skype: (919) 747-3775
> Cell:  (919) 345-1021
> Fax:   (919) 882-8602
> marc.edwards at nimbisservices.com
> www.nimbisservices.com
> 
> 
> On 10/04/2011 02:10 PM, Matt Jones wrote:
>> I believe that the folks at SDSC created the BrowserUI actor for just this purpose -- you write an HTML page containing the input questions you want, configure the BrowserUI to display it at the right point in the workflow, and then gather the output from the configured ports.  Ilkay probably has examples of its use.
>> 
>> It would nice to have a Java-based survey actor of some sort with an extensible dialog, but I don't think anyone has built one yet.  I could imagine a nice utility that let you configure the output you want, and for each output configure a set of prompts and choose widgets for display, and then get back the output on the ports.  This would be a more seamless version of what BrowserUI does without the external browser and without having to write HTML.  Any takers who would want to create such an actor?
>> 
>> Matt
>> 
>> On Tue, Oct 4, 2011 at 9:57 AM, J. Marc Edwards <marc.edwards at nimbisservices.com> wrote:
>> Chris:
>> 
>> What I am thinking of is this...
>> 
>> I would like for a user to run a workflow "as is" with no modification.  As the workflow begins execution, a graphical window pops up, prompting the user with a suite of fields that the user can then input text data into.  The workflow can then process the user input, check it for validity, perhaps then re-prompt the user to correct their input.  There would be options where the GUI can check for certain files and use that as input to the user fields or write out those files based upon the user input fields.
>> 
>> I want to use this as a means for users to configure user parameters for external applications:
>> 
>>      ...have a set of default parameters.
>>     ...have the the user input their own customer parameters for the external application.
>>     ...write out a parameter configuration file that can be used on subsequent runs of the external application.
>>     ...would like to have 8-10 configuration files that could be selected from the GUI OR to run the workflow with a specific parameter configuration file.
>> 
>> Regards, Marc
>> 
>> J. Marc Edwards
>> Lead Architect - Semiconductor Design Portals
>> Nimbis Services, Inc.
>> Skype: (919) 747-3775
>> Cell:  (919) 345-1021
>> Fax:   (919) 882-8602
>> marc.edwards at nimbisservices.com
>> www.nimbisservices.com
>> 
>> 
>> On 10/04/2011 11:33 AM, Christopher Brooks wrote:
>>> Hi Marc,
>>> In Kepler, the "Convert URL to Image" actor is ptolemy.actor.lib.image.URLToImage:
>>> "The ConvertURLToImage actor reads the URL or path of an image and outputs the image in a form that can be used by other actors (an image token)." 
>>> 
>>> Ptolemy includes interfaces to Java Advanced Imaging (JAI) and Java Media Framework (JMF).
>>> There was some work done with OpenCV, but it likely only present in the Ptolemy tree.
>>> 
>>> As an aside, the Plotter has a facility where the user can draw a dataset.  In theory, that facility could be 
>>> used in an actor to allow the user to draw the dataset and then output the data.
>>> 
>>> Ptolemy can also use the locations of actors in the window as input.  We use this with the wireless model of
>>> computation to indicate how far apart wireless nodes are.
>>> 
>>> What sort of graphical input did you have in mind?
>>> 
>>> _Christopher
>>> 
>>> 
>>> 
>>> On 10/4/11 8:25 AM, J. Marc Edwards wrote:
>>>> All:
>>>> 
>>>> I am curious if any graphical input actors that have been developed.  I would like to have a graphical actor that I could customize for a variety of input from a workflow user.
>>>> 
>>>> Kind regards, Marc
>>>> -- 
>>>> J. Marc Edwards
>>>> Lead Architect - Semiconductor Design Portals
>>>> Nimbis Services, Inc.
>>>> Skype: (919) 747-3775
>>>> Cell:  (919) 345-1021
>>>> Fax:   (919) 882-8602
>>>> marc.edwards at nimbisservices.com
>>>> www.nimbisservices.com
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Kepler-users mailing list
>>>> 
>>>> Kepler-users at kepler-project.org
>>>> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>>> 
>>> -- 
>>> 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
>>>                                 (Office: 545Q Cory)
>>> home: (F-Tu) 
>>> 707.665.0131 cell: 707.332.0670 
>> 
>> _______________________________________________
>> Kepler-users mailing list
>> Kepler-users at kepler-project.org
>> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>> 
>> 
> <marc_edwards.vcf>_______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users




More information about the Kepler-users mailing list