Check Network Element In Range
- Retrieves the value of a CAN, CANFD, LIN or FlexRay signal specified by the path,
then checks if the received value is within the specified range defined by min_val and max_val.
Arguments
path (str): The path of the signal to check. The format should be:
BusName::MsgId::SignalName
.min_val (int): The minimum value of the range.
max_val (int): The maximum value of the range.
- is_physical (bool, optional): True: To get the physical signal value.
False (default): To get the raw network signal value.
Returns
bool: True if the received value is within the specified range; otherwise, False.
Example
Check Network Element In Range ${BusName}::${MsgId}::${SignalName} ${10} ${20} ${False}