Configuring the Sizing Weights Output Parsing Instructions

You must now define the values to read after the simulation code has been executed.

  1. Click the Output tab on the Simcode Component Editor.

    The contents of the tab appear.

  2. Click the large Click here to open a new Data Source button in the center of the tab.

    The Quick Data Source Configuration dialog box appears.

    Tip: If you want to use the Exchanger Wizard, click Advanced (see Configure the Output Using the Exchanger Wizard in the Isight Component Guide).

  3. Click the Browse button adjacent to the Template File text box.

  4. Navigate to the following directory:

    <Isight_install_directory>\<operating_system>\examples\getting_started

  5. Select the WeightsOut.txt file, and click Open.

    Isight adds the full path of the file to the Template File text box.

  6. Verify that the General Text option is highlighted in the Format area.

  7. Click OK.

    Isight displays the output file information as shown in the following figure:

  8. Select the value 2306.38 from the center of the editor.

    This value will be read at run time and stored in a parameter.

  9. Type LoadedWt in the Parameter text box, and click the Read button.

    Isight updates the Actions list and adds the parameter to the Output Parameters list on the right side of the editor. Because the initial parameter value is read from a file, you cannot change the value.

  10. Click OK to save your changes and to close the Simcode Component Editor.

    Isight returns to the Design Gateway.