Monitor Signals Or Check Last
DEPRECATED It will be removed in a future version. Please use keyword Monitor Always Signals instead. This keyword will be supported until version TechnicaKeywordsV0.19.0.
- Monitors signals paths during a timeout and check if the signals values satisfy a comparison operation against
reference signals values.
If Monitor Signals failed when no datapoint is received, it checks the last received values.
Arguments Description
signals_paths (list[str]) : Each signal path should be in the format:
BusName::MsgId::SignalName
.signals_values (list[int]) The refrence signals velues.
timeout (int): The timeout in milliseconds.
masks (list[int], optional): Defaults to Create List ${0xFFFFFFFFFFFFFFFF} ${0xFFFFFFFFFFFFFFFF}
- comparison (list[int], 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 received signals values satisfy the comparison 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}Monitor Signals Or Check Last ${paths} ${values} ${1000} ${Masks} ${comparison}