Chapter 5. LCOD Implementation

Component Mechanisms

We should consider the inherent requirements for all components.

  • All of the components, public functions, and data should be accessible via a simple interface.

  • We should be able to add/delete/modify our component's actions simply.

  • Any modifications should have little effect on the overall software design.

  • The component stores its own state locally and persistently.

  • The component should initialize itself.

  • Errors are handled by the component.

  • Inputs and Outputs should verify themselves.

Message Sending

Message sending is the means of controlling your component. The calling component will send a message to the called component telling it what to do.

There are various methods you could employ to send messages ...

Get A Software Engineering Approach to LabVIEW™ now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.