Component Configuration XML File

The Component Configuration File (SquaresConfig.xml) defines the input and output types and calls the executable file Squares.exe.

<Configuration CellName="Squares" SystemName="SquareSystem" Version="" ShowEditConfiguration="True">
     <Instructions WorkingDirectory="D:/ExternalConnection/Squares">
         <Instruction Type="Init">
             <Name></Name>
             <Args></Args>
             <ParameterParsingRules>
                 <Parameter Name="SquareInput" Type="Input">
                     <Rule Type="File">input.txt</Rule>
                     <Rule Type="StartLine">1</Rule>
                     <Rule Type="PreString">input=</Rule>
                     <Rule Type="DataType">Double</Rule>
                 </Parameter>
                 <Parameter Name="SquareOutput" Type="Output">
                     <Rule Type="File">output.txt</Rule>
                     <Rule Type="StartLine">1</Rule>
                     <Rule Type="PreString">output=</Rule>
                     <Rule Type="DataType">Double</Rule>
                 </Parameter>
             </ParameterParsingRules>
             </Instruction>
          <Instruction Type="Update">
              <Name></Name>
              <ExePath>D:/ExternalConnection/Squares/Squares.exe</ExePath>
              <Args></Args>
          </Instruction>
    </Instructions>
</Configuration>

Release 18.2 - © ANSYS, Inc. All rights reserved.