functiongetReceivedBytes

DEPRECATED. Get number of received bytes

Extends from Modelica.Icons.Function (Icon for functions), Modelica.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Information

Deprecated function. Don't use it.

Kept for backward compatibility. Only very limited use since due to thread parallelism (the serial port is read from a dedicated thread) the returned value may already be outdated when it is returned or when a later conditional action is based on the returned value.

Inputs

TypeNameDefaultDescription
SerialPortsPort

Outputs

TypeNameDefaultDescription
IntegerreceivedBytesNumber of received bytes