Adding Parameters to Isight

Once you parse an XML string or XML file, you can select the individual parameters that will be in the Isight model.

  1. Double-click the XML Parser component icon .

    The XML Parser Component Editor appears.

  2. From the XML Parser Component Editor, select XML String or Input XML File, and do the following:

    • If you chose XML String, enter the string in the text box and click Parse XML String.

    • If you chose Input XML file, click Browse to locate the file and click Open.

    The Detect Array Parameters dialog box appears

  3. If desired, click Detect Array Parameters and enter the delimiter to convert the values in the XML string that contain the delimiter for array parameters. The delimiter string should not contain characters defined by escape sequences. For example - '\b', '\t','\n','\r', etc.

  4. Click OK.

    Isight shows the parsed results in the first table.

  5. If desired, you can search the parsed results.

    1. In the Search text box, enter the text for which you want to search.
    2. Click the previous button or the next button.

      Isight highlights the parameter in the Name column that contains the text.

  6. Determine the input and output parameters that you want to include in Isight by selecting the corresponding check boxes in the Input and Output columns.

    Alternatively, you can click Select All to select all the parameters making the parameters both input and output parameters. Click Unselect All to remove the selection.

    The input parameter receives its value from the previous component in the simulation process flow; the output parameter sends its value to the next component in the simulation process flow.

  7. If desired, click in the Type column to change the type (String, Integer, Boolean, or Real).

  8. To include the parameters in Isight, select the parameters and click Add.

    Isight adds the parameters to the table in the lower section of the editor. These parameters are now mapped to the components and will be used with the corresponding Isight model.

    You can remove a parameter by selecting it and clicking Remove.

  9. Click OK to close the XML Parser Component Editor and to return to the Design Gateway.