Workspace 6.21.5
|
The UpdateBarrier operation provides a "gate" mechanism to the Workspace. The operation will only bring its data input up-to-date when the Trigger input has been updated.This allows parts of the workflow to lie in wait of a trigger event, such as a button press in a user interface.NOTE: Each time the value input is brought up-to-date, the operation resets the trigger, meaning that the operation will continue to act as a gate for future updates.See also: Understanding Update Barrier
Inputs: | |||
---|---|---|---|
Enable Barrier | bool | If enabled, the UpdateBarrier will act as a "gate" on the workflow, and only update its value input when the trigger is updated. If not, it will simply pass data from its value input straight through. | |
Trigger | CSIRO::DataExecution::Dependency | When this input is updated, the operation will bring its value input up-to-date - not before. The input can be connected to a QPushButton to allow a user-interface to provide a 'trigger' for upstream parts of the workflow. | |
Value | CSIRO::DataExecution::Dependency | ||
Default value | CSIRO::DataExecution::Dependency | This input specifies that output value that the operation will provide while the trigger has yet to be activated. | |
Outputs: | |||
Value | CSIRO::DataExecution::Dependency |