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.


icon

Inputs/Outputs

  • catrn.png scheduled time

    scheduled time specifies the time when the endpoint should write data to the channel.

  • cbool.png element valid? (T)

    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.

  • csgl.png element

    element specifies the data to write to the channel.

  • cbool.png last element? (F)

    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.

  • cenum.png lossy behavior (drop oldest)

    lossy behavior specifies how this endpoint writes data to a Lossy Stream channel when an element comes in. The default is drop oldest element.

  • ci32.png size (1)

    size specifies the number of elements that the endpoint will write to the channel. The default is 1.

  • iatrn.png actual time

    actual time returns the actual time when the endpoint wrote data to the channel.

  • 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.

  • iqueuern.png channel

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

  • ibool.png data lost?

    data lost? returns TRUE if the channel was full when the endpoint performed this write operation.