functionDisplayMessageCount

Number of messages in a payload of the display link (messages separated by line feeds)

Information

A sync point publishes on Display0.payload every message written since the previous one, separated by line feeds (several write() without sleep() in between, or a text of several lines). The empty payload counts as one empty message. See Internal.Functions.DisplayMessage.

Inputs

TypeNameDefaultDescription
Stringpayload

Outputs

TypeNameDefaultDescription
IntegernModelica.Utilities.Strings.count(payload, "\n") + 1