Overview

There are several types of components that can be created. The following are the types of components that can be created in SPT:

  1. Self Contained: These are components that are created from scratch. They can be a simple component for a single output, or a more complex component with multiple inputs and outputs.

  2. Extending and existing Component: If an existing component is not exactly what you need, you can create a new component that extends the existing component. This allows you to add additional functionality to the existing component without changing the existing component. This could be done when you need an array of a component to work as a single component, or when you need to add additional inputs or outputs to an existing component.

  3. From an existing Function Block: If you have a function block that you previously created, that you would like to use as a component, you can create a component that contains the function block. This allows you to reuse code that has already been created and tested.

  4. From a 3rd party library: Many times hardware vendors will provide a library for a specific piece of hardware. If you have a library that you would like to use in your project, you can create a component that implements the functionality of the library.