CAPL Script

lookupMessage

Syntax

dbMessage * lookupMessage(char messageName[]);

Function

Searches for a message definition in the database(s). If the message is not found or if the name is not unique, test modules/units report anerror in test systemwhile simulation/analysis nodes write a warning into the Write Window, and the function returns an invaliddbMessage.

Parameters

messageName The qualified name of the message. The syntax is[NetworkName::][NodeName::]MessageName, i.e., both network name and node name are optional.

Return Values

The found unique message definition or an invalid object.

SeeData Types for Variables