Component

From Flowcode Help
Jump to navigationJump to search

<sidebar>Sidebar: Flowcode Help Overview:Components</sidebar> A Component is a device which is controlled by a Flowcode program, and can extend the Flowcode interface.

Error creating thumbnail: sh: /usr/bin/convert: No such file or directory Error code: 127

Components can interact with flowchart programs and other components in Flowcode to create an effective system or application which can run both in simulation and on hardware.


Overview

A Component can be anything that is self-contained, for example:

  • An electronic device
  • A measuring instrument
  • A packaged simulation
  • An extension to the system
  • A library of useful macros

Flowcode provides a set of Components packaged with the application.

A component always has a physical presence on the System Panel or the Dashboard Panel. This is to allow the user to easily select and identify the components they are using, and also, where graphics are used, to provide a representation of the object the Component represents. The Component object can also be used to convey useful information to the user.

Components also have access to other features of Flowcode suitable for displaying data, such as the Data Console and Data Scope, where a Component can create their own data feeds for reading and writing information.


Components structure

A Component comprises of a combination of primitive shapes, existing components, flowchart macros, resources and properties. When the Component is exported this information is packaged into a self-contained unit, similar to an executable application which can then be no longer read or edited.

Components are located in the Components toolbox. It is divided into sections such as Inputs and Outputs to help the user find what they want.

Any component can be used as a building-block to create new components.