Check Last Or Wait Signal Change

**Returns True if the last received signal value is equal to the expected value.

If not, it waits for a signal value that satisfies the condition during timeout; otherwise, it returns False.**

Arguments Description

signal_path (str): The signal path should be in the format: BusName::MsgId::SignalName. signal_value (int): The reference signal value. timeout (int): The timeout in milliseconds. mask (int, optional): Defaults to 0xFFFFFFFFFFFFFFFF comparison (CompareOperation, optional): Defaults to CompareOperation.EQ

CompareOperation | value | Sign |
EQ | 0 | == |
GE | 1 | >= |
GT | 2 | > |
LE | 3 | <= |
LT | 4 | < |
NE | 5 | != |

Returns

bool: True if the last received signal or a value received during the timeout

satisfies the condition; otherwise, False.

Example

Check Last Or Wait Signal Change ${BusName}::${MsgId}::${SignalName} ${2} ${200}