Specifying the File to Parse

You can specify the text file from which the text parser will read or to which it will write parameter values.

See Also
Specifying Word Separator Preferences
Defining a Marker
  1. From the Utilities section of the action bar, click Text Parser and drop it on the process diagram.
  2. From the process diagram, double-click Text Parser .
    The Text Parser Editor appears.
  3. From the list in the Create New Text Parse dialog box, select General Text and click OK.

    Note: If you need to parse more than one file, you can add another parse by clicking .

    The configuration options for the general text parser appear.
  4. From the Template & Run-Time File tab, do either of the following:
    • Select Read text to read data from an ASCII file into parameters.
    • Select Write text to write parameters to an ASCII file.
  5. From the Design template list, do one of the following:
    • Select a document that has already been included in the content of the simulation process. If desired, click to preview the content.
    • Click to search for an existing document containing the file to parse.
    • Click to upload a nonversioned document containing the file to parse.
    • Click to upload a versioned document containing the file to parse.
  6. Select the file to add to the document.
    The file name appears in the Design template and Run-time text areas.
  7. In the Run-time text area, do either of the following:
    • Select File to read text from the file or to write text to the file.
    • Select Parameter to read text from a parameter or to write text to a parameter. You can select an existing parameter or click to add a new parameter.
  8. If you are writing to a file, select the convention that Optimization Process Composer will use to define the end of a line in the file.
  9. Click Apply Changes to save your changes.
    The Parse tab appears and the contents of the file are displayed. Line numbers are displayed on the left side of the screen.