Start Monitor Message

Starts an observer to monitor a specific message.

Arguments Description

Path (str): The path should be in the format: BusName::msgId.

on_change (bool, optional): True: Indicates that only different consecutive values will be saved, filtering out redundant consecutive values.

False: Signifies that all consecutive values, including redundant ones, will be saved. Default to true.

Returns

bool: True if the observer is successfully started; otherwise, False.

For example, an Observer on that message is already started and not stopped yet.

Example

Start Monitor Message ${BusName}::${msgId}
Wait Time 4s
${values}= Stop Monitor Message ${BusName}::${msgId} ${True}

Note

The received values of the message could be retrieved once the observer is stopped. When monitoring CAN TP or LIN TP messages, ensure that the CAN TP or LIN TP connection is configured and expect messages with the format {targetID/NAD, payload}.