Viivi IDE States < Viivi IDE < Viivi's Cell < Entrance


Viivi IDE States


Viivi IDE changes its state from boot-up to termination.


Main States

The main states changes due to the user's operations.

Initial State


	indicator-color    | state-string
	-------------------+-----------------------------------------
	N/A			   | "Click the PLAY/STOP-button to go."

Viivi IDE comes to the initial state just after being booted-up and when it restarts after termination.
In the initial state, only the controller and the argument-command window are shown on the display.
The user can make the initial-settings:

Clicking the enter-button or the play-button will proceed the state to the ready-state.


Ready State


	indicator-color    | state-string
	-------------------+-----------------------------------------
	N/A			   | "Ready"

This state shows that Viivi IDE is ready to start processing/evaluation based on the settings in the initial state.
If it is the first session, the default IDE elements (the controller, the argument-command window, the standard-output-port window, the standard-input-port window) are shown on the display.
Otherwise, all the windows at the end of the previous session are restored (except for the I/O-port windows to be opened afterwards.

Clicking the enter-button or one of the step-buttons will proceed processing/evaluation by one-step.
Clicking the play-button will proceed processing/evaluation continuously.


Processing State


	indicator-color    | state-string
	-------------------+-----------------------------------------
	Orange		   | "Processing..."

This state is for processing the argument-commands.
Clicking the enter-button, play-button, or one of the step-buttons will halt processing/evaluation.


Evaluating State


	indicator-color    | state-string
	-------------------+-----------------------------------------
	Orange		   | "Evaluating..."

This state is for evaluation.
Clicking the enter-button, play-button, or one of the step-buttons will halt processing/evaluation.


Halted State


	indicator-color    | state-string
	-------------------+-----------------------------------------
	Black		   | "Halted"

This is the state that all the processing and the evaluations are stopped.
During the halt-state, the user can use the Selection-Lit function.
Clicking the enter-button or one of the step-buttons will proceed processing/evaluation by one-step.
Clicking the play-button will proceed processing/evaluation continuously.


Inputting State


	indicator-color    | state-string
	-------------------+-----------------------------------------
	Blue			   | "Inputting to/from ..."

This is the state for inputting from input-ports.


Warning State


	indicator-color    | state-string
	-------------------+-----------------------------------------
	Red			   | "Warning"

This is the state when a warning is generated.
Viivi IDE does not stop at the warning state but continues processing/evaluation.


Error State


	indicator-color    | state-string
	-------------------+-----------------------------------------
	Red			   | "Error"

This is the state when an error is generated.
Viivi IDE stops at the error state.


Terminated State


	indicator-color    | state-string
	-------------------+-----------------------------------------
	N/A			   | "Terminated"

This is the state that all the argument-commands have processed or that the user have quit from the input to the input-line on the controller.
Clicking the enter-button or the play-button will bring Viivi IDE back to the initial state.



Auxiliary States

These states are used by Viivi for its internal processing.


Opening-Input-Port State


	indicator-color    | state-string
	-------------------+-----------------------------------------
	Orange		   | "Opening #<input-port:...> ..."

This is the state that Viivi is opening an input-port.
After the input-port is opened, Viivi IDE proceeds to the next state automatically.


Opening-Output-Port State


	indicator-color    | state-string
	-------------------+-----------------------------------------
	Orange		   | "Opening #<output-port:...> ..."

This is the state that Viivi is opening an output-port.
After the output-port is opened, Viivi IDE proceeds to the next state automatically.


Output State


	indicator-color    | state-string
	-------------------+-----------------------------------------
	Orange		   | "Outputting to #<output-port:...> ..."

This is the state that Viivi is outputting something to an output-port.
After the outputting is over, Viivi IDE proceeds to the next state automatically.



Viivi IDE States < Viivi IDE < Viivi's Cell < Entrance


Contact

Exhibited on 2022/03/02
Copyright(C) 2003-2022 ilma <ilma@viivi.io> All rights reserved.