DiagramElements-Probe/en: Unterschied zwischen den Versionen
Cg (Diskussion | Beiträge) |
Cg (Diskussion | Beiträge) |
||
Zeile 19: | Zeile 19: | ||
Finally, there are probes which only record their incoming values without any value checks. |
Finally, there are probes which only record their incoming values without any value checks. |
||
These non-checking probes are useful to collect data for graph generation (i.e. using Plot/Graph actions). |
These non-checking probes are useful to collect data for graph generation (i.e. using Plot/Graph actions). |
||
Probe types are: |
|||
===== Value must be Equal ===== |
|||
given a single constant setpoint value, this probe checks that every incoming value is equal. |
|||
The probe generates a FAIL, as soon as a non-equal value is encountered. |
|||
This probe can compare numbers, vectors, strings, etc. |
|||
===== Value must not be Equal ===== |
|||
given a single constant setpoint value, this probe checks that every incoming value is not equal. |
|||
The probe generates a FAIL, as soon as an equal value is encountered. |
|||
This probe can compare numbers, vectors, strings, etc. |
|||
===== Value must/may not Match a Pattern ===== |
|||
given a single constant setpoint value, this probe checks that every incoming value is matching or not matching that String pattern. |
|||
The match can be defined as GLOB-pattern match, regular expression match, string-includes, string-start or string end match, |
|||
and also to optionally ignore upper/lower case differences. |
|||
The probe generates a FAIL, as soon as a matching/non-matching value is encountered. |
|||
This probe can be used with strings only. |
|||
[[Category: Empty]] |
[[Category: Empty]] |
Version vom 4. Mai 2018, 07:18 Uhr
Probes can be placed into a diagram to monitor values generated by a step's output pin. They can be configured to check those pin values against a wide number of attributes (values are in a range, values are increasing, decreasing, below or above a limit etc.)
The parameters (i.e. limits or range bounds) can either be defined statically, or recorded by a prototypical "good" run through the testsuite.
For this, probes can be set into one of three modes:
- inactive - probes are disabled completely
- recording - probes will record incoming values and adjust their check-parameter(s)
- checking - probes will monitor incoming values and check them against their check-parameter(s)
Probes are placed into the diagram via diagram editor's the pop-up menu.
Inhaltsverzeichnis
Probe Types[Bearbeiten]
Different probe types are available, which either check individual values for being valid, or check whole value sequences (for example, for being increasing, decreasing, etc.). Finally, there are probes which only record their incoming values without any value checks. These non-checking probes are useful to collect data for graph generation (i.e. using Plot/Graph actions).
Probe types are:
Value must be Equal[Bearbeiten]
given a single constant setpoint value, this probe checks that every incoming value is equal. The probe generates a FAIL, as soon as a non-equal value is encountered. This probe can compare numbers, vectors, strings, etc.
Value must not be Equal[Bearbeiten]
given a single constant setpoint value, this probe checks that every incoming value is not equal. The probe generates a FAIL, as soon as an equal value is encountered. This probe can compare numbers, vectors, strings, etc.
Value must/may not Match a Pattern[Bearbeiten]
given a single constant setpoint value, this probe checks that every incoming value is matching or not matching that String pattern. The match can be defined as GLOB-pattern match, regular expression match, string-includes, string-start or string end match, and also to optionally ignore upper/lower case differences. The probe generates a FAIL, as soon as a matching/non-matching value is encountered. This probe can be used with strings only.