<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Use a Constant actor, not a String
      Constant actor.<br>
      <br>
      Constant will interpret the contents as a variable unless it is
      inside double quotes, in which case it is a string<br>
      <br>
      StringConstant will interpret the contents as a string.<br>
      <br>
      If a Constant actor has the value wrapped in double quotes:<br>
      "AString" <br>
      then the output will be a string with the value AString<br>
      <br>
      If a Constant actor as the value<br>
      AString<br>
      The the output will be the value of the parameter named AString<br>
      <br>
      If a StringConstant actor as the value<br>
      AString<br>
      Then the output will be a string with the value AString.<br>
      <br>
      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.<br>
      <br>
      _Christopher<br>
      <br>
      <br>
      On 11/6/14 1:49 PM, DONGHOON KIM wrote:<br>
    </div>
    <blockquote
cite="mid:CAHwMc7WVvpKqA4NES4VZ0K9g+kGViBLxqTHrNNO0wwQj0KX_zA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Scott, 
        <div><br>
        </div>
        <div>I appreciate your help. but I still have a problem. </div>
        <div>It seems like it is working because I do not have any error
          message. </div>
        <div>but I could not see the output file as in the directory I
          used. See my screenshot attached. </div>
        <div><br>
        </div>
        <div>Thank you</div>
        <div><br>
        </div>
        <div>-Donghoon</div>
        <div><br>
        </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Thu, Nov 6, 2014 at 3:00 PM, <span
              dir="ltr"><<a moz-do-not-send="true"
                href="mailto:kepler-dev-request@kepler-project.org"
                target="_blank">kepler-dev-request@kepler-project.org</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Send
              Kepler-dev mailing list submissions to<br>
                      <a moz-do-not-send="true"
                href="mailto:kepler-dev@kepler-project.org"
                target="_blank">kepler-dev@kepler-project.org</a><br>
              <br>
              To subscribe or unsubscribe via the World Wide Web, visit<br>
                      <a moz-do-not-send="true"
                href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev"
                target="_blank">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev</a><br>
              or, via email, send a message with subject or body 'help'
              to<br>
                      <a moz-do-not-send="true"
                href="mailto:kepler-dev-request@kepler-project.org"
                target="_blank">kepler-dev-request@kepler-project.org</a><br>
              <br>
              You can reach the person managing the list at<br>
                      <a moz-do-not-send="true"
                href="mailto:kepler-dev-owner@kepler-project.org"
                target="_blank">kepler-dev-owner@kepler-project.org</a><br>
              <br>
              When replying, please edit your Subject line so it is more
              specific<br>
              than "Re: Contents of Kepler-dev digest..."<br>
              <br>
              <br>
              Today's Topics:<br>
              <br>
                 1. Re:  Kepler-dev Digest, Vol 117, Issue 3 (Scott
              Zimmer)<br>
              <br>
              <br>
----------------------------------------------------------------------<br>
              <br>
              Message: 1<br>
              Date: Thu, 06 Nov 2014 09:15:37 -0500<br>
              From: Scott Zimmer <<a moz-do-not-send="true"
                href="mailto:szimmer@optensity.com" target="_blank">szimmer@optensity.com</a>><br>
              To: <a moz-do-not-send="true"
                href="mailto:kepler-dev@kepler-project.org"
                target="_blank">kepler-dev@kepler-project.org</a><br>
              Cc: <a moz-do-not-send="true"
                href="mailto:dhkim717@gmail.com" target="_blank">dhkim717@gmail.com</a><br>
              Subject: Re: [kepler-dev] Kepler-dev Digest, Vol 117,
              Issue 3<br>
              Message-ID: <<a moz-do-not-send="true"
                href="mailto:545B8289.4090502@optensity.com"
                target="_blank">545B8289.4090502@optensity.com</a>><br>
              Content-Type: text/plain; charset=ISO-8859-1<br>
              <br>
              Donghoon,<br>
              <br>
              You can use a File Parameter and a Constant actor to
              accomplish your<br>
              goal.  Type the name of the File Parameter in the Constant
              actor and<br>
              connect it to the fileToWrite port on the Text File Writer
              Actor. Sorry,<br>
              I can't easily create and attach and example, but detailed
              steps follow.<br>
              <br>
              Scott<br>
              <br>
              1. Drag a FileParameter onto the canvas<br>
              2. Double click on FileParameter and specify the path to
              the file you<br>
              want to write<br>
              3. Right click the FileParameter and select Customize Name<br>
              4. Type MyFileParamter in for the name field and click
              Commit<br>
              5. Drag a Constant Actor on the canvas<br>
              6. Double click the Constant actor and type
              MyFileParameter on the line<br>
              next to "value:"<br>
              7. Connect the Constant actor to the fileToWrite Port on
              the Text File<br>
              Writer<br>
              <br>
              Scott<br>
              <br>
              On 11/6/2014 6:53 AM, <a moz-do-not-send="true"
                href="mailto:kepler-dev-request@kepler-project.org"
                target="_blank">kepler-dev-request@kepler-project.org</a>
              wrote:<br>
              > Send Kepler-dev mailing list submissions to<br>
              >       <a moz-do-not-send="true"
                href="mailto:kepler-dev@kepler-project.org"
                target="_blank">kepler-dev@kepler-project.org</a><br>
              ><br>
              > To subscribe or unsubscribe via the World Wide Web,
              visit<br>
              >       <a moz-do-not-send="true"
                href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev"
                target="_blank">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev</a><br>
              > or, via email, send a message with subject or body
              'help' to<br>
              >       <a moz-do-not-send="true"
                href="mailto:kepler-dev-request@kepler-project.org"
                target="_blank">kepler-dev-request@kepler-project.org</a><br>
              ><br>
              > You can reach the person managing the list at<br>
              >       <a moz-do-not-send="true"
                href="mailto:kepler-dev-owner@kepler-project.org"
                target="_blank">kepler-dev-owner@kepler-project.org</a><br>
              ><br>
              > When replying, please edit your Subject line so it is
              more specific<br>
              > than "Re: Contents of Kepler-dev digest..."<br>
              ><br>
              ><br>
              > Today's Topics:<br>
              ><br>
              >    1.  Text File Writer? (DONGHOON KIM)<br>
              ><br>
              ><br>
              >
              ----------------------------------------------------------------------<br>
              ><br>
              > Message: 1<br>
              > Date: Thu, 6 Nov 2014 06:53:38 -0500<br>
              > From: DONGHOON KIM <<a moz-do-not-send="true"
                href="mailto:dhkim717@gmail.com" target="_blank">dhkim717@gmail.com</a>><br>
              > To: <a moz-do-not-send="true"
                href="mailto:kepler-dev@kepler-project.org"
                target="_blank">kepler-dev@kepler-project.org</a><br>
              > Subject: [kepler-dev] Text File Writer?<br>
              > Message-ID:<br>
              >       <CAHwMc7X6oOp-VcHn=<a moz-do-not-send="true"
href="mailto:iTe0WyBo8Ob25-CUPLaFPnSxzwxT3Dd3w@mail.gmail.com"
                target="_blank">iTe0WyBo8Ob25-CUPLaFPnSxzwxT3Dd3w@mail.gmail.com</a>><br>
              > Content-Type: text/plain; charset="utf-8"<br>
              ><br>
              > Dear Kepler folks!<br>
              ><br>
              > I am trying to use Text File Writer actor. I have a
              question about input in<br>
              > Tex File Writer.<br>
              > I use String Constant as an input. The other input
              should be "file name and<br>
              > path" as the input. I am trying to use a
              FileParameter actor.<br>
              > but I am not sure how to connect FileParameter with
              Text File Writer. (see<br>
              > the attached picture).<br>
              ><br>
              > Please, let me know if you know how to use Text File
              Writer. A simple<br>
              > example would be very helpful.<br>
              ><br>
              > Thank you<br>
              ><br>
              > -Donghoon<br>
              ><br>
              ><br>
              ><br>
              <br>
              <br>
              --<br>
              Scott Zimmer<br>
              <a moz-do-not-send="true"
                href="mailto:szimmer@optensity.com" target="_blank">szimmer@optensity.com</a><br>
              <a moz-do-not-send="true" href="tel:512-299-7218"
                value="+15122997218" target="_blank">512-299-7218</a><br>
              <br>
              <br>
              ------------------------------<br>
              <br>
              _______________________________________________<br>
              Kepler-dev mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:Kepler-dev@kepler-project.org"
                target="_blank">Kepler-dev@kepler-project.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev"
                target="_blank">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev</a><br>
              <br>
              <br>
              End of Kepler-dev Digest, Vol 117, Issue 4<br>
              ******************************************<br>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <div>Donghoon Kim<br>
            Dept of Computer Science<br>
            North Carolina State University<br>
            <br>
            <br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kepler-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kepler-dev@kepler-project.org">Kepler-dev@kepler-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Christopher Brooks, PMP                       University of California
Academic Program Manager & Software Engineer  US Mail: 337 Cory Hall
CHESS/iCyPhy/Ptolemy/TerraSwarm               Berkeley, CA 94720-1774
<a class="moz-txt-link-abbreviated" href="mailto:cxh@eecs.berkeley.edu">cxh@eecs.berkeley.edu</a>, 707.332.0670           (Office: 545Q Cory)
</pre>
  </body>
</html>