Check Last Or Wait Signals Change

**Returns the last received values if they are equal to expected signals values; otherwise, it waits for

a change in signals values during timeout.**

Arguments Description

signals_paths (list[str]) : Each signal path should be in the format: BusName::MsgId::SignalName.

signals_values (list[int]): The reference signals values.

timeout (int): The timeout in milliseconds.

masks (list[int], optional): Defaults to ${Masks} = Create List ${0xFFFFFFFFFFFFFFFF} ${0xFFFFFFFFFFFFFFFF} …

comparison (list[int], optional): Defaults to ${comparison} = Create List ${0} ${0} …
CompareOperation | value | Sign |
EQ | 0 | == |
GE | 1 | >= |
GT | 2 | > |
LE | 3 | <= |
LT | 4 | < |
NE | 5 | != |

Returns

list[int]: List of the last received signals values if they verify the comparaison operation against the reference values.

Example

${paths} = Create List ${BusName1}::${MsgId1}::${SignalName1} ${BusName2}::${MsgId2}::${SignalName2}
${values} = Create List ${2} ${1}
${Masks} = Create List ${0xFFFFFFFFFFFFFFFF} ${0xFFFFFFFFFFFFFFFF}
${comparison} = Create List ${0} ${2}
Check Last Or Wait Signals Change ${paths} ${values} ${200} ${Masks} ${comparison}