CheckSignalInValueRange

ID: Check/CheckSignalInValueRange


Check the value range of a signal with a given value list. With the parameter ‘mode’ you can change the verification mode.

Note: The following modes can be chosen: mode 1: Each value of the list has to occur in the signal, more signal values are allowed (default), mode 2: The signal contains only values from the list, more signal values are NOT allowed, mode 3: The signal does not contain the values specified in the list

Signals

Signal

The signal to check.

  • Direction: IN

  • Optional: False

Parameters

mode

The parameter ‘mode’ set the check mode for the trace step. Following modes are available: 1: Each value of the list has to occur in the signal (default), 2: The signal contains only values from the list, 3: The signal does not contain the values specified in the list

  • Direction: IN

  • Type: INTEGER

valueRange

This parameter defines the range of values as integers, for example: - [1,2,3,4] checks the values 1, 2, 3, 4 - [(1,4),10] checks the values 1, 2, 3, 4, 10

  • Direction: IN

  • Type: PYOBJECT