Importing a Parse from an FDC File

An FDC file (*.fdc) is a file that consists of commands written in the File Description Command language. This type of file requires support files to work, and the files are determined by the parse type.

Note: You must declare arrays at the beginning of the File Description Command (FDC) using the require statement. Otherwise, Isight treats arrays as scalar parameters within the simulation process flow.

  1. Double-click the iSIGHT File Parser component icon .

    The iSIGHT File Parser Component Wizard appears.

  2. Select Use an existing FDC located in an iSIGHT FDC File, and click Next.

    The Select a parse mode screen appears.

  3. Select a parse mode:

    • Input. An input parse takes the variables and their values in Isight and uses the FDC instructions to produce a file that is used as an input for a particular program. If this parse is bi-directional, it also makes changes to the variables’ values.

      1. Click Next.

        The Select the FDC from a file screen appears.

      2. Click Browse, and specify the FDC file that you want to use.

        Information about the parse appears in the File Contents area.

      3. In the File Contents area, edit the parse as desired, and click Save.
      4. Click Next.

        The Select a Template from a file screen appears.

        The template file is optional when writing an FDC but is very common and should be included if available.

      5. Click Browse, and specify the template file that you want to use.

        Information about the file appears in the File Contents area.

      6. In the File Contents area, edit the template as desired, and click Save.
      7. Click Next.

        The Select the Input File from a file screen appears.

      8. Click Browse, and specify the file that you want to use as an input file for this program. In most situations this file is optional.

        The file contents appear in the File Preview area.

      9. Click Finish.

        The iSIGHT File Parser Component Editor appears.

    • Output. An output parse takes the output file of a particular program and uses the FDC instructions to extract the Isight variables and their values. If this parse is bi-directional, it uses some variables and their values in Isight.

      1. Click Next.

        The Select the FDC from a file screen appears.

      2. Click Browse, and specify the FDC file that you want to use.

        Information about the parse appears in the File Contents area.

      3. In the File Contents area, edit the parse as desired, and click Save.

        The Select the Output File from a file screen appears.

      4. Click Browse, and specify the file that you want to use as an input file for this program.

        The file contents appear in the File Contents area.

      5. In the File Contents area, edit the file as desired, and click Save.

  4. Click Finish to exit the wizard and to return to the iSIGHT File Parser Component Editor.

  5. Click the button to view the parse.

    • If you are performing an input parse and all the necessary information is available (e.g., FDC file, template, parameters with desired values, etc.), you can view how the parsed file will appear on the Produced tab. If a produced file is not specified, you can still view the parse; however, you are warned that you need to specify the file before execution.

    • If you are performing an output parse and all the necessary information is available (e.g., the output file is populated with the desired values/info, FDC file, and the parameters that you expect to get back from the parse), clicking enters the values of the parameter table.

  6. Update the parameter information on the right side of the editor by either adding new parameters, deleting existing parameters, or adding new members to aggregate parameters.

    You can sort the parameter information by clicking the column headings.

    For more information about parameters, see Working with Parameters and File Parameters in the Isight User’s Guide.

  7. If desired, change the parse information.

    • For input parses, change the parse information directly in the File Contents area of the Template and Input FDC tabs, as desired.

    • For output parses, change the parse information directly in the Output and Output FDC tabs.

  8. Click Save to save your changes, or click Cancel to remove your changes.

  9. Click OK to save your changes and to close the iSIGHT File Parser Component Editor.