Actions > Stop SCP – Stopping an SCPThere are three ways to stop an executing SCP:
● Halt all currently running SCPs by selecting Actions > Stop SCP.
● Halt a specific SCP with theSTOP_SCP
statement within the SCP.To control simultaneous execution of several SCPs, the SCL commands
EXEC
scp_name
andSTOP_SCP scp_name
are used. This means that multiple SCPs cannot be handled interactively, it must be done programmatically in another SCP.Note: The main section of an SCP is not executed if the SCP is started with the EXEC command. The main section contains the GO commands. There can only be one main section controlling the Simulation. In this case the main section of the SCP containing the EXEC command.The Auto-Run feature cannot be used with SCPs. If Auto-Run is active, it is stopped if you attempt to start an SCP. You are not allowed to start Auto-Run until all SCPs are stopped.
A special case is when an SCP is assigned to a basic activity. This connection is set up by the SCL command
ASSIGN
. This cannot be done interactively, only in an SCP. The assigned SCP is started, suspended, restarted and stopped along with the assigned activity.