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.


icon

Inputs/Outputs

  • catrn.png scheduled time

    scheduled time specifies the time when the endpoint should read data from the channel.

  • cqueuern.png channel

    channel is the channel wire that connects this endpoint to a writer endpoint.

  • iatrn.png actual time

    actual time returns the actual time when the endpoint read data from the channel.

  • ibool.png element valid?

    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.

  • isgl.png element

    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.

  • ibool.png last element?

    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.

  • ibool.png gap?

    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.

  • ii32.png count

    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.