Procedure for using the Halt step


The following provides a basic methodology for using the Halt step:

  1. In the Configuration pane, set the Command that the Halt step should issue to control your project's execution.

  2. The Command can be set to one of the following:

    Command

    Behavior

    Pause

    Temporarily stops the project. The next Run command will continue on the next step. Note that to execute a Run command, use a button with its command set to Run.

    Stop

    Stops the project. The next Run or Restart command from a button in the Operator View Layout will restart the project.

    Restart

    Starts the project again. You can Reset the flowchart to revert all steps to their initial state, reset any counters to their initial values, and reset connections.

    Terminate

    Stops the project completely and resets the flowchart. At runtime, this command will terminate the project executable on the runtime platform. At design-time, this command behaves in the same way as the Stop command.

    Wait

    Waits for a specified delay (in milliseconds), optionally relative to a timestamp or a camera's start or stop grab time.

    When using the Stop or Restart commands, you can optionally Reset the flowchart to revert all steps to their initial state, reset any counters to their initial values, and reset connections. Persistent data is not affected by a restart.

  3. In the Operator View Layout tab, add a button, and change its Command to either run or restart. This allows your operator to resume or restart your project after the Halt step.