Write Endpoint

LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Requires: Base Development System

Writes a value to an Event Messenger channel so that the value can be read by one or more Event structures. This 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»Event Messenger»Write.

Details  Example

element valid? specifies whether to record or ignore the element. If TRUE, the endpoint records that the element is good data. If FALSE, the endpoint ignores the value of element and records the default value of the transmission data type. The element valid? flag is available when the event is received by the Event structure. The endpoint does nothing if both element valid? and last element? are FALSE. The default is TRUE.
element specifies the data to write to the channel. This endpoint ignores the data if element valid? is FALSE or if abort is TRUE.
last element? specifies whether this is the last element that the endpoint writes to the channel. The default is FALSE. If TRUE, the endpoint marks the channel as closed and ignores further calls to write. This output returns FALSE if abort is TRUE.
abort specifies whether to abort this channel. The default is FALSE. If abort is TRUE, this endpoint marks the channel as closed, ignores further calls to write, flushes previous events, and fires a single additional event to notify the Event structure that the channel has been aborted.
high priority? specifies whether to add the element to the front of the queue. The default is FALSE.
channel is the channel wire that connects this endpoint to a reader endpoint.
done? returns TRUE if the endpoint has written the last element or if any endpoint has aborted the channel.

Write Details

Related Information

Read Event Registration

Read Multiple Event Registration


Refer to the Channel - Event Messenger.lvproj in the labview\examples\Channels\Event Messenger directory for an example of using the Write endpoint.


Not Helpful