Integrating an External Source File

  1. Click the Switch to External Source Editor button.

    The External Source Editor window opens.

  2. In the External Source Editor, click the Code tab.

    You can only have one external source file in a component; this can be either a C code module or an object code module.

  3. Activate the C Code or Object Code option.
  4. Do the following to load a C code or object module.

    1. In the Edit menu, select Load from File.

      The File Selection dialog window appears.

    2. Select the external C code or object module.
    3. Click Open.

    In case of a C code file, the file content is written to the text pane; the original file is not affected.

    Or – as an alternative for an external C code component –

  5. Enter the functions of the external module.
  6. If desired, open the Edit menu and use the Store to File option to save the external module.
  7. Add a header file.

The same editing commands are available in the external source editor as in the C code editor.

See also

Adding a Header File to the Source Module

Testing the External Module

External Source Editor