Custom Functions, Filters and Triggers
Configuring User Defined PIDs
The first few PIDs in the user defined list are internal and cannot be modified.
Function, Filter and Trigger Help
Next to all of the function and filter boxes in VCM Scanner is a small blue question mark. Clicking the small blue question mark will load up the HPT Custom Function, Filter and Trigger Help window. This window will display all currently supported Sensors and PIDs and their respective IDs to use when defining your functions and filters.
Histogram Filters
If you define a filter, the filter must return a value of 1 (true) to add the current cell to the histograms data. If the filter returns 0 (false), the frame will not be added to the histograms history.
Enhanced IO Output Triggers
Enhanced IO Outputs Triggers are defined just the same as the Histogram Filters.
Supported Binary Operations
| + | Sum up two operands. |
| - | Subtract two operands. |
| * | Multiple two operands. |
| / | Divide two operands. |
| ^ | Raise to a power. |
Supported Relational Operations
| > | If x > y result is 1 otherwise 0. |
| <</td> | If x < y result is 1 otherwise 0. |
| = | If x = y result is 1 otherwise 0. |
Supported Conditional Operations
| AND | If x = 1 and y = 1 result is 1 otherwise 0. |
| OR | If x = 1 or y = 1 result is 1 otherwise 0. |
| & | If x = 1 and y = 1 result is 1 otherwise 0. |
| | | If x = 1 or y = 1 result is 1 otherwise 0. |
Supported Functions
| sin(x) | Returns the sine of x where x is in radians. |
| cos(x) | Returns the cosine of x where x is in radians. |
| tan(x) | Returns the tangent of x where x is in radians. |
| abs(x) | Returns the absolute value of x. |
| round(x) | Returns the whole number nearest x. |