Requires: Base Development System
Writes an element to a Lossy Stream channel at a scheduled time. The endpoint waits until the scheduled time and continues waiting if the channel is full at the scheduled time.
You can drop this endpoint on the block diagram by right-clicking a terminal or a wire and selecting Create»Channel Writer»Lossy Stream»Write Scheduled.
scheduled time specifies the time when the endpoint should write data to the channel. | |||||
element valid? specifies whether the element is valid. If TRUE, the endpoint records the element valid? flag. If FALSE, the endpoint ignores the value of element. 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. | |||||
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. The reader endpoint can continue reading data until the last element? output of the reader endpoint returns TRUE. | |||||
lossy behavior specifies how this endpoint writes data to a Lossy Stream channel when an element comes in. The default is drop oldest element.
|
|||||
size specifies the number of elements that the endpoint will write to the channel. The default is 1. | |||||
actual time returns the actual time when the endpoint wrote data to the channel. | |||||
count returns the number of elements in the channel after this endpoint updates the channel. Use this output to monitor the relative writing and reading speed of the channel endpoints and make adjustments, if necessary. | |||||
channel is the channel wire that connects this endpoint to a reader endpoint. | |||||
data lost? returns TRUE if the channel was full when the endpoint performed this write operation. |