[kepler-dev] Kepler-dev Digest, Vol 117, Issue 6
DONGHOON KIM
dhkim717 at gmail.com
Fri Nov 7 06:36:13 PST 2014
Hi Christopher,
Thank you for your answer. It works!
Also, I am sorry for your inconvenience for asking this question to the
Kepler-dev. I will ask this kind of a question to Kepler-user next time.
Thank you
-Donghoon
On Thu, Nov 6, 2014 at 9:04 PM, <kepler-dev-request at kepler-project.org>
wrote:
> Send Kepler-dev mailing list submissions to
> kepler-dev at kepler-project.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
> or, via email, send a message with subject or body 'help' to
> kepler-dev-request at kepler-project.org
>
> You can reach the person managing the list at
> kepler-dev-owner at kepler-project.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Kepler-dev digest..."
>
>
> Today's Topics:
>
> 1. Re: Text File Writer? (Christopher Brooks)
> 2. Re: Kepler-dev Digest, Vol 117, Issue 5 (Scott Zimmer)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 06 Nov 2014 14:36:57 -0800
> From: Christopher Brooks <cxh at eecs.berkeley.edu>
> To: DONGHOON KIM <dhkim717 at gmail.com>
> Cc: Scott Zimmer <szimmer at optensity.com>, kepler-dev
> <kepler-dev at kepler-project.org>
> Subject: Re: [kepler-dev] Text File Writer?
> Message-ID: <545BF809.5060507 at eecs.berkeley.edu>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>
> Use a Constant actor, not a String Constant actor.
>
> Constant will interpret the contents as a variable unless it is inside
> double quotes, in which case it is a string
>
> StringConstant will interpret the contents as a string.
>
> If a Constant actor has the value wrapped in double quotes:
> "AString"
> then the output will be a string with the value AString
>
> If a Constant actor as the value
> AString
> The the output will be the value of the parameter named AString
>
> If a StringConstant actor as the value
> AString
> Then the output will be a string with the value AString.
>
> BTW - for future reference, this is better off sent to Kepler-users than
> Kepler-dev. The question is about using Kepler, not modifying the Java
> code. No worries on this.
>
> _Christopher
>
>
> On 11/6/14 1:49 PM, DONGHOON KIM wrote:
> > Hi Scott,
> >
> > I appreciate your help. but I still have a problem.
> > It seems like it is working because I do not have any error message.
> > but I could not see the output file as in the directory I used. See my
> > screenshot attached.
> >
> > Thank you
> >
> > -Donghoon
> >
> >
> > On Thu, Nov 6, 2014 at 3:00 PM, <kepler-dev-request at kepler-project.org
> > <mailto:kepler-dev-request at kepler-project.org>> wrote:
> >
> > Send Kepler-dev mailing list submissions to
> > kepler-dev at kepler-project.org <mailto:kepler-dev at kepler-project.org>
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
> > or, via email, send a message with subject or body 'help' to
> > kepler-dev-request at kepler-project.org
> > <mailto:kepler-dev-request at kepler-project.org>
> >
> > You can reach the person managing the list at
> > kepler-dev-owner at kepler-project.org
> > <mailto:kepler-dev-owner at kepler-project.org>
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Kepler-dev digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Re: Kepler-dev Digest, Vol 117, Issue 3 (Scott Zimmer)
> >
> >
> >
> ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Thu, 06 Nov 2014 09:15:37 -0500
> > From: Scott Zimmer <szimmer at optensity.com
> > <mailto:szimmer at optensity.com>>
> > To: kepler-dev at kepler-project.org
> > <mailto:kepler-dev at kepler-project.org>
> > Cc: dhkim717 at gmail.com <mailto:dhkim717 at gmail.com>
> > Subject: Re: [kepler-dev] Kepler-dev Digest, Vol 117, Issue 3
> > Message-ID: <545B8289.4090502 at optensity.com
> > <mailto:545B8289.4090502 at optensity.com>>
> > Content-Type: text/plain; charset=ISO-8859-1
> >
> > Donghoon,
> >
> > You can use a File Parameter and a Constant actor to accomplish your
> > goal. Type the name of the File Parameter in the Constant actor and
> > connect it to the fileToWrite port on the Text File Writer Actor.
> > Sorry,
> > I can't easily create and attach and example, but detailed steps
> > follow.
> >
> > Scott
> >
> > 1. Drag a FileParameter onto the canvas
> > 2. Double click on FileParameter and specify the path to the file you
> > want to write
> > 3. Right click the FileParameter and select Customize Name
> > 4. Type MyFileParamter in for the name field and click Commit
> > 5. Drag a Constant Actor on the canvas
> > 6. Double click the Constant actor and type MyFileParameter on the
> > line
> > next to "value:"
> > 7. Connect the Constant actor to the fileToWrite Port on the Text
> File
> > Writer
> >
> > Scott
> >
> > On 11/6/2014 6:53 AM, kepler-dev-request at kepler-project.org
> > <mailto:kepler-dev-request at kepler-project.org> wrote:
> > > Send Kepler-dev mailing list submissions to
> > > kepler-dev at kepler-project.org <mailto:
> kepler-dev at kepler-project.org>
> > >
> > > To subscribe or unsubscribe via the World Wide Web, visit
> > > http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
> > > or, via email, send a message with subject or body 'help' to
> > > kepler-dev-request at kepler-project.org
> > <mailto:kepler-dev-request at kepler-project.org>
> > >
> > > You can reach the person managing the list at
> > > kepler-dev-owner at kepler-project.org
> > <mailto:kepler-dev-owner at kepler-project.org>
> > >
> > > When replying, please edit your Subject line so it is more specific
> > > than "Re: Contents of Kepler-dev digest..."
> > >
> > >
> > > Today's Topics:
> > >
> > > 1. Text File Writer? (DONGHOON KIM)
> > >
> > >
> > >
> >
> ----------------------------------------------------------------------
> > >
> > > Message: 1
> > > Date: Thu, 6 Nov 2014 06:53:38 -0500
> > > From: DONGHOON KIM <dhkim717 at gmail.com <mailto:dhkim717 at gmail.com
> >>
> > > To: kepler-dev at kepler-project.org
> > <mailto:kepler-dev at kepler-project.org>
> > > Subject: [kepler-dev] Text File Writer?
> > > Message-ID:
> > >
> > <CAHwMc7X6oOp-VcHn=iTe0WyBo8Ob25-CUPLaFPnSxzwxT3Dd3w at mail.gmail.com
> > <mailto:iTe0WyBo8Ob25-CUPLaFPnSxzwxT3Dd3w at mail.gmail.com>>
> > > Content-Type: text/plain; charset="utf-8"
> > >
> > > Dear Kepler folks!
> > >
> > > I am trying to use Text File Writer actor. I have a question
> > about input in
> > > Tex File Writer.
> > > I use String Constant as an input. The other input should be
> > "file name and
> > > path" as the input. I am trying to use a FileParameter actor.
> > > but I am not sure how to connect FileParameter with Text File
> > Writer. (see
> > > the attached picture).
> > >
> > > Please, let me know if you know how to use Text File Writer. A
> > simple
> > > example would be very helpful.
> > >
> > > Thank you
> > >
> > > -Donghoon
> > >
> > >
> > >
> >
> >
> > --
> > Scott Zimmer
> > szimmer at optensity.com <mailto:szimmer at optensity.com>
> > 512-299-7218 <tel:512-299-7218>
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > Kepler-dev mailing list
> > Kepler-dev at kepler-project.org <mailto:Kepler-dev at kepler-project.org>
> > http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
> >
> >
> > End of Kepler-dev Digest, Vol 117, Issue 4
> > ******************************************
> >
> >
> >
> >
> > --
> > Donghoon Kim
> > Dept of Computer Science
> > North Carolina State University
> >
> >
> >
> >
> > _______________________________________________
> > Kepler-dev mailing list
> > Kepler-dev at kepler-project.org
> > http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>
>
> --
> Christopher Brooks, PMP University of California
> Academic Program Manager & Software Engineer US Mail: 337 Cory Hall
> CHESS/iCyPhy/Ptolemy/TerraSwarm Berkeley, CA 94720-1774
> cxh at eecs.berkeley.edu, 707.332.0670 (Office: 545Q Cory)
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20141106/04698098/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Thu, 06 Nov 2014 21:04:18 -0500
> From: Scott Zimmer <szimmer at optensity.com>
> To: kepler-dev at kepler-project.org
> Subject: Re: [kepler-dev] Kepler-dev Digest, Vol 117, Issue 5
> Message-ID: <545C28A2.6090900 at optensity.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Donghoon,
>
> As Christopher said you need the Constant Actor for the file parameter
> instead of String Constant. The reason that you didn't get an exception
> is either because the Text File Writer has successfully written the file
> or it is catching the exception when you try to create a file and an
> exception is thrown. You can turn on debugging and you will have a
> debug message when it can't create the file. The easiest way to tell
> which case occurred for you, is to connect a display actor to the output
> of the Text File Writer. If the file was created, it will display the
> full path to the file.
>
> My guess is that if you look in the directory that contains build-area,
> actors, and all of the other modules, you will find a file named
> MyFileParameter since the TextFileWriter is capable of handling relative
> paths and defaults to that directory for relative paths. If you don't
> have that file, it's because the user that launched Kepler does not have
> write permission to that directory.
>
> Scott
>
> On 11/6/2014 4:49 PM, kepler-dev-request at kepler-project.org wrote:
> > Send Kepler-dev mailing list submissions to
> > kepler-dev at kepler-project.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
> > or, via email, send a message with subject or body 'help' to
> > kepler-dev-request at kepler-project.org
> >
> > You can reach the person managing the list at
> > kepler-dev-owner at kepler-project.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Kepler-dev digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Re: Kepler-dev Digest, Vol 117, Issue 4 (DONGHOON KIM)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Thu, 6 Nov 2014 16:49:29 -0500
> > From: DONGHOON KIM <dhkim717 at gmail.com>
> > To: kepler-dev at kepler-project.org, szimmer at optensity.com
> > Subject: Re: [kepler-dev] Kepler-dev Digest, Vol 117, Issue 4
> > Message-ID:
> > <
> CAHwMc7WVvpKqA4NES4VZ0K9g+kGViBLxqTHrNNO0wwQj0KX_zA at mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Hi Scott,
> >
> > I appreciate your help. but I still have a problem.
> > It seems like it is working because I do not have any error message.
> > but I could not see the output file as in the directory I used. See my
> > screenshot attached.
> >
> > Thank you
> >
> > -Donghoon
> >
> >
> > On Thu, Nov 6, 2014 at 3:00 PM, <kepler-dev-request at kepler-project.org>
> > wrote:
> >
> >> Send Kepler-dev mailing list submissions to
> >> kepler-dev at kepler-project.org
> >>
> >> To subscribe or unsubscribe via the World Wide Web, visit
> >> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
> >> or, via email, send a message with subject or body 'help' to
> >> kepler-dev-request at kepler-project.org
> >>
> >> You can reach the person managing the list at
> >> kepler-dev-owner at kepler-project.org
> >>
> >> When replying, please edit your Subject line so it is more specific
> >> than "Re: Contents of Kepler-dev digest..."
> >>
> >>
> >> Today's Topics:
> >>
> >> 1. Re: Kepler-dev Digest, Vol 117, Issue 3 (Scott Zimmer)
> >>
> >>
> >> ----------------------------------------------------------------------
> >>
> >> Message: 1
> >> Date: Thu, 06 Nov 2014 09:15:37 -0500
> >> From: Scott Zimmer <szimmer at optensity.com>
> >> To: kepler-dev at kepler-project.org
> >> Cc: dhkim717 at gmail.com
> >> Subject: Re: [kepler-dev] Kepler-dev Digest, Vol 117, Issue 3
> >> Message-ID: <545B8289.4090502 at optensity.com>
> >> Content-Type: text/plain; charset=ISO-8859-1
> >>
> >> Donghoon,
> >>
> >> You can use a File Parameter and a Constant actor to accomplish your
> >> goal. Type the name of the File Parameter in the Constant actor and
> >> connect it to the fileToWrite port on the Text File Writer Actor. Sorry,
> >> I can't easily create and attach and example, but detailed steps follow.
> >>
> >> Scott
> >>
> >> 1. Drag a FileParameter onto the canvas
> >> 2. Double click on FileParameter and specify the path to the file you
> >> want to write
> >> 3. Right click the FileParameter and select Customize Name
> >> 4. Type MyFileParamter in for the name field and click Commit
> >> 5. Drag a Constant Actor on the canvas
> >> 6. Double click the Constant actor and type MyFileParameter on the line
> >> next to "value:"
> >> 7. Connect the Constant actor to the fileToWrite Port on the Text File
> >> Writer
> >>
> >> Scott
> >>
> >> On 11/6/2014 6:53 AM, kepler-dev-request at kepler-project.org wrote:
> >>> Send Kepler-dev mailing list submissions to
> >>> kepler-dev at kepler-project.org
> >>>
> >>> To subscribe or unsubscribe via the World Wide Web, visit
> >>> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
> >>> or, via email, send a message with subject or body 'help' to
> >>> kepler-dev-request at kepler-project.org
> >>>
> >>> You can reach the person managing the list at
> >>> kepler-dev-owner at kepler-project.org
> >>>
> >>> When replying, please edit your Subject line so it is more specific
> >>> than "Re: Contents of Kepler-dev digest..."
> >>>
> >>>
> >>> Today's Topics:
> >>>
> >>> 1. Text File Writer? (DONGHOON KIM)
> >>>
> >>>
> >>> ----------------------------------------------------------------------
> >>>
> >>> Message: 1
> >>> Date: Thu, 6 Nov 2014 06:53:38 -0500
> >>> From: DONGHOON KIM <dhkim717 at gmail.com>
> >>> To: kepler-dev at kepler-project.org
> >>> Subject: [kepler-dev] Text File Writer?
> >>> Message-ID:
> >>> <CAHwMc7X6oOp-VcHn=
> >> iTe0WyBo8Ob25-CUPLaFPnSxzwxT3Dd3w at mail.gmail.com>
> >>> Content-Type: text/plain; charset="utf-8"
> >>>
> >>> Dear Kepler folks!
> >>>
> >>> I am trying to use Text File Writer actor. I have a question about
> input
> >> in
> >>> Tex File Writer.
> >>> I use String Constant as an input. The other input should be "file name
> >> and
> >>> path" as the input. I am trying to use a FileParameter actor.
> >>> but I am not sure how to connect FileParameter with Text File Writer.
> >> (see
> >>> the attached picture).
> >>>
> >>> Please, let me know if you know how to use Text File Writer. A simple
> >>> example would be very helpful.
> >>>
> >>> Thank you
> >>>
> >>> -Donghoon
> >>>
> >>>
> >>>
> >>
> >>
> >> --
> >> Scott Zimmer
> >> szimmer at optensity.com
> >> 512-299-7218
> >>
> >>
> >> ------------------------------
> >>
> >> _______________________________________________
> >> Kepler-dev mailing list
> >> Kepler-dev at kepler-project.org
> >> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
> >>
> >>
> >> End of Kepler-dev Digest, Vol 117, Issue 4
> >> ******************************************
> >>
> >
> >
> >
>
>
> --
> Scott Zimmer
> szimmer at optensity.com
> 512-299-7218
>
>
> ------------------------------
>
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.org
> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>
>
> End of Kepler-dev Digest, Vol 117, Issue 6
> ******************************************
>
--
Donghoon Kim
Dept of Computer Science
North Carolina State University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20141107/2b9fea87/attachment-0001.html>
More information about the Kepler-dev
mailing list