No announcement yet.

Programs with stages

  • Filter
  • Time
  • Show
Clear All
new posts

  • Programs with stages

    When having a program with stages, each stage runs one at a time. What if I need a few lines to execute anytime the program is running, no matter which stage it's at (scaling, filtering, etc).
    I can put those lines in the main program, and that works fine, but it's a bit messy. Is there a way to have it in the code block and still run regardless of the stage?
    Thanks in advance

  • #2
    First, more than one stage can be active at a time, and there are lots of good reason to do so. Look through the stage instructions.

    To answer your question, you can put it at the top, above the first stage, or you can put that code in its own stage, and use SGSET to enable that stage.