This section explains the execution context view.
In the Execution Context view, you can display a list of execution contexts (EC) to which the selected RTC belongs, start/end EC, execute action of RTC, attach/detach RTC to EC. You can also set the EC execution period.
|①||RTC instance name.|
|②||Display a list of ECs to which the RTC belongs.
EC owned by RTC is "owned*", EC with participation only is displayed as "participate*".
|③||Execution rate of selected EC in ②|
|Display the properties of the selected EC as a list of Name and Value.
id: ID of EC. When online, context_handle is displayed as ID.
kind: EC type (PERIODIC/EVENT_DRIVEN/OTHER)
state: State of EC (RUNNING/STOPPING)
component_state: State of selected RTC on EC (ACTIVE/INACTIVE/ERROR)
owner: Instance name of this EC owner RTC
participants: Number of RTCs participating in this EC
In addition, any property set in EC is displayed.
|⑥||Reflect the input execution rate to EC.|
|⑦||Start selected EC. (Not available offline)|
|⑧||Stop the selected EC. (Not available offline)|
|⑨||Activate the state on the selected EC of the selected RTC. (Not available offline)|
|⑩||Deactivate the state of the selected RTC on the selected EC. (Not available offline)|
|⑪||Resets the state of the selected RTC on the currently selected EC. (Not available offline)|
|⑫||Detach the selected RTC from the selected EC. & br; However, detach is impossible when RTC itself is the owner of EC.|
|⑬||Open the RTC selection dialog on the system editor and attach the selected RTC to the EC.|
The editing value of the execution rate is not applied until the [Apply] button of ⑥ is clicked. In addition, information being corrected (not applied) is displayed in light red. If the input value is incorrect, it will be displayed in red.
In the case of online editor, you can change the operation of EC and the state of RTC on that EC.
When you click the [Start] button, EC is started, the state of the property becomes "RUNNING", clicking the [Stop] button stops EC, and the state becomes "STOPPING".
To change the state of the RTC on the EC click the [Activate], [Deactivate] button. When activated, the component_state of the property becomes "ACTIVE", and when deactivated, the component_state becomes "INACTIVE".
If RTC enters the "ERROR" state for some reason, click the [Reset] button to restore it.
RTC can attach to multiple ECs.
Select the EC to which you want to add the RTC and click the [Attach] button to open the RTC selection dialog. In the selection dialog, a list of RTCs on the system editor is displayed.
After selecting RTC and clicking [OK], RTC is added to the EC, and a new EC is added to the participate EC list of the added RTC.
To cancel EC attachment, select EC of participate and click the [Detach] button.