Difference between revisions of "Component"

From Flowcode Help
Jump to navigationJump to search
Line 1: Line 1:
 
A '''Component''' is a device which is controlled by a Flowcode program, and can extend the Flowcode interface.  
 
A '''Component''' is a device which is controlled by a Flowcode program, and can extend the Flowcode interface.  
 
[[File:robot_arm.jpg|frameless|right|A component]]
 
[[File:robot_arm.jpg|frameless|right|A component]]
 +
Components can interact with flowchart programs and other components in Flowcode to achieve an effective system which can run in simulation as well as on hardware.
  
  

Revision as of 09:16, 9 July 2013

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 achieve an effective system which can run in simulation as well as 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 Software Scope or Console, 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.