Write Endpoint

Requires: Base Development System

Writes an element to a Messenger channel. The endpoint waits if the channel is full.

You can drop this endpoint on the block diagram by right-clicking a terminal or a wire and selecting Create»Channel Writer»Messenger»Write.

Details  Examples

timeout in ms is the time, in milliseconds, that this endpoint has to write the specified data to the channel. The default value is -1, which means there is no time limit.
wait for ack specifies whether this endpoint waits until a reader endpoint acknowledges receiving the message before writing the next element. The default is FALSE.
element specifies the data to write to the channel.
size specifies the maximum number of elements that can be buffered in the channel. The default is unlimited. The channel size is initialized on the first call to the writer endpoint, after which the endpoint ignores the size input.
timed out? returns TRUE if the amount of time specified by timeout in ms elapses. This output returns FALSE if the channel aborts on any endpoint.
channel is the channel wire that connects this endpoint to a reader endpoint.
id returns an integer that identifies this message within the channel. Other endpoints use this integer to cancel or acknowledge the message within the channel.

Write Details

Related Information

Read Ack

Read Ack With Abort

Examples

Refer to the following VIs for examples of using the Write endpoint: