blockAssert

Print a warning message when input becomes false

Information

Block that writes a warning if the input becomes false.

Tools or control systems are expected to write message together with a time stamp to an output device and/or a log file.

Parameters

TypeNameDefaultDescription
StringmessageMessage written when u becomes false

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputuBoolean input that triggers assert when it becomes false

Revisions

  • November 6, 2017, by Michael Wetter:
    Simplified implementation.
  • November 3, 2017, by Jianjun Hu:
    First implementation.