A message library component stores a collection of messages that can be sent to a serial channel. Message libraries are most useful when several controls send the same message.
MLPUIMessageProcessor can send messages from a message library when the CMD command is received by the message processor. So a message library also provides a mechanism for an embedded program to query information from an Interface Panel.
Event Action Properties
Message libraries do not expose any event action properties.
Message Expression Properties
The text box control exposes the following properties for use in serial messages:
- Name (String): the name of the control [read-only]
Message Expression Methods
Message libraries expose the following methods for use in serial messages:
String Get(String MessageName)
Returns the message named MessageName as a string
Byte GetData(String MessageName)
Returns the message named MessageName as an array of bytes.