KillBackground
KillBackground
The KillBackground operation kills the unnamed background task.
KillBackground works only with the unnamed background task. New code should used named background tasks instead. See Background Tasks for details.
Details
You cannot call KillBackground from within the background function itself. However, if you return 1 from the background function, instead of the normal 0, Igor will terminate the background task.
See Also
BackgroundInfo, SetBackground, CtrlBackground, Background Tasks