Property Kinds: Message

 

The previous two videos in this series introduced the three kinds that typically represent internal fields to your Devices and Components: execparam, configure, and allocation.  And with those three kinds we were able to see the dynamic relationships that can be established between hardware and software using REDHAWK’s infrastructure.

But what about communicating property changes between entities?  One approach is through messages.

Marking a structured property as a message allows your design to have customized, structured data flow between entities.  This flow is carried on the underlying asynchronous event channel infrastructure allowing for some interesting configurations.

In this session, we will convert our configurable control parameters structure into a message.  We will then implement the port to carry our message on both a Device and a Component, and allow our existing usesdevice relationship to let the Waveform connect our single Device to two different Components.  The end result: our sawtooth generator will sweep through frequencies driven by our component.

Looking for the REDHAWK 1.9-1.10 version? Here.

Recent Posts

Ready for an exciting change?

Work with US!