Trigger Set Processor

The “Trigger Set Processor” is installed with the Dataristix Application. The processor controls data flow based on a trigger condition. Data is passed through to the next stage when any input values satisifes the configured trigger condition.

Data is only passed through for trigger values of “good” quality.

Add to Task

Add the “Trigger Set Processor” to a task by dragging it from the “Build” panel onto the task’s “Task Builder” panel.

../../_images/processor-trigger-set.png

Configuration

Select the “Trigger Set Processor” item in the “Task Builder” panel to view its properties.

../../_images/processor-trigger-set-edit.png

You can change the following properties:

  • Name

    The title of the “Trigger Set Processor” as it appears within the task builder.

  • Trigger Mode

    The trigger mode determines when data is processed, observing the “Set” state of the trigger value (the “Trigger Set Condition” section below describes when the trigger value is considered to be “set”).

    Trigger Mode options are:

    • Process when trigger becomes set
      When any input value changes from being “Not Set” to being “Set” then one data sample is processed and the current tag values are passed through to the next stage.
    • Process while trigger is set
      Current tag values are continuously passed through to the next stage while any input item value is “Set”.
    • Process when any input value changes
      Current tag values are passed through to the next stage when any input value changes (the “Trigger Set Condition” does not apply).
    • Process when any input value is received
      Current tag values are passed through to the next stage whenever input values are received, even when the value has not changed (the “Trigger Set Condition” does not apply).
  • Trigger Set Condition

    This condition determined when a input value should be considered as “Set”, with the following options.

    The trigger is considered “set” when the trigger value …

    • “… is not equal to zero or ‘true’”
      The trigger value is considered set when a numerical value is not equal to zero, a boolean value is “true”, or a string value is not empty.
    • “… is equal to zero or ‘false’”
      The trigger value is considered set when a numerical value is zero, a boolean value is “false”, or a string value is empty.
    • “… is greater than or equal to the threshold
      The trigger value is considered set when a numerical value is greater than or equal to the given threshold value.
    • “… is less than the threshold”
      The trigger value is considered set when a numerical value is less than the given threshold value.
    • “… satisfies the trigger condition”
      The trigger value is considered set when a numerical value falls between the two given threshold values according to the configured comparison operation.

Press the “Apply” button to commit your changes.

Example

The following example shows a task that transfers data from OPC UA to an ODBC database. Tags values are passed through to the database when any input value becomes not-zero or “true”.

../../_images/processor-trigger-set-example.png