|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
|LabVIEW 2019 Help|
|LabVIEW 2020 Help|
Requires: Base Development System
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.
|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.|
Refer to the Channel - Event Messenger.lvproj in the labview\examples\Channels\Event Messenger directory for an example of using the Write endpoint.