SendMessage is a block used to send messages to one or multiple targets using added
SendMessage supports adding multiple MessageArgument outputs and multiple Argument inputs.
When user-added input arguments exist they are added to the data partition of the message. Depending on the message Command the encoding of the arguments is as follows:
- for any CM_TEXTCOMMAND the data is encoded as semicolon-separated argument name and value key-value pairs "
- for any binary command the data is encoded as network byte-ordered raw data bytes in the current argument order.
|TriggerOn||Flags option defining when a message should be sent. Rising sends message on the rising edge of Trigger argument, Falling sends message on the falling edge of Trigger argument, High sends message when Trigger argument is high during cycle time and, Low sends message when Trigger argument is low during cycle time, Data sends message when any of the data Arguments added have changed, Init sends message once after application startup.|
|Trigger||Argument that is used to trigger message sending according to set flags in TriggerOn property|
Note: No messages will be delivered until all MessageArgument(s) are connected. While not connected triggers will arm the sender, causing a message to be sent when all MessageArgument have become connected.
See also MessageArgument, ReceiveMessage, and MessageProxy.
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.