Requires: Base Development System
Reads an element from a Lossy Stream channel at a scheduled time. The endpoint waits if no element is available in the channel at the scheduled time.
You can drop this endpoint on the block diagram by right-clicking a Lossy Stream channel terminal or wire and selecting Create»Channel Reader»Lossy Stream»Read Scheduled.
scheduled time specifies the time when the endpoint should read data from the channel. | |
channel is the channel wire that connects this endpoint to a writer endpoint. | |
actual time returns the actual time when the endpoint read data from the channel. | |
element valid? returns TRUE if the element was read successfully. This output returns FALSE if the channel closes without a valid last element or if the channel aborts. | |
element returns the data that this endpoint reads from the channel. This output returns the default value of the transmission data type if a timeout occurs, if the channel closes without a valid last element, or if the channel aborts. | |
last element? returns whether this is the last element that the endpoint reads from the channel. last element? can be TRUE even if element valid? is FALSE, which means that the last element was already written to the channel during the previous iteration or the channel closes without a valid last element. This output returns FALSE if a timeout occurs or if the channel aborts. | |
gap? returns TRUE if any data was lost because an endpoint attempted to write to a full channel between the previous read operation and this one. | |
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. |