CYCLE.END monitor command Regardless of the "stop_flag" parameter, this command waits until the program actually is terminated. If the program being terminated loops internally, so that the current execution cycle never ends, the CYCLE.END command waits forever. To release the system keyboard from a CYCLE.END command that is waiting for a program to terminate, press CTRL+C (that is, hold down the CTRL key and press the C key). Example The following portion of a command program shows how to make a command program wait for execution of one program to complete before issuing the next command.
MC EXECUTE 1 setup ;Start execution of "setup" (as task #1) MC CYCLE.END 1 ;Wait for "setup" to complete MC EXECUTE 1 main.1 ;Start "main.1" executing as task #1 MC EXECUTE main ;Start "main" executing as task #0 MC CYCLE.END ;Wait for "main" to complete Related Keywords ABORT monitor command ABORT program instruction EXECUTE monitor command EXECUTE program instruction HALT program instruction KILL monitor command KILL program instruction PROCEED monitor command RETRY monitor command STATUS monitor command STATUS real-valued function STOP program instruction eV+Operating System Reference Guide, 2.x,18321-000 Rev A Page 54