Read Scheduled Endpoint

Requires: Base Development System

Waits to read an element from a One Element 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 One Element Stream channel terminal or wire and selecting Create»Channel Reader»One Element Stream»Read Scheduled.

Details  

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.

Read Scheduled Details

Related Information

Write Scheduled