Get Cyclic Message Gaps

Allows checking whether a message is having gaps or not.

Return the observed gaps

Arguments Description

**timestamps (List[int]): List

cycle (int): cycle

cycle_deviation (int): tolerance

unit: intunit of cycle and deviation
Examples , ms, us and ns

s: Seconds ms : Milliseconds us : Microseconds ns : Nanoseconds**

Returns

list[pair]: detected gaps (start, end) in Nanoseconds

Examples

# For legacy busses:
Start Message Observer ${BusName}::${MsgId} ${False}
wait 1000ms
${values} = Stop Monitor Message ${BusName}::${MsgId} ${true}
${timestamps} = Get Timestamps From Monitor Values ${values}
Get Cyclic Message Gaps ${timestamps} ${100} ${10} ms
# For Ethernet busses:
${res}= Start Someip Listener ${BusName} ${res0}
Sleep 1000ms
${res1}= Stop Someip Listener ${BusName}
@{queue}= Get Someip Timestamp Queue ${BusName}
${gaps2} = Get Cyclic Message Gaps ${queue} ${100} ${10} ms