Creates and controls a Flow over the Flow API
This sample is based on the ControlFlow sample as creates the same flow with it, but creates and controls it using the Flow API Introduction sample for creating and controling flows using the Flow API. The sample first loads an existing flow out of a flow file. In this flow, an output state is changed, depending on the state of two input ports. Via the API, a delay of 1s before setting the DigitalOut is added.
The state of the Input ports can be toggled using the keyboard key "1" and "2" inside the Emulator tab. See the console for the DigitalOutput state.
programming-pattern, flow, sample, sick-appspace