View (Execution Context View)

This section explains the execution context view.

fig23ECView.png
position of 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.

fig24ECView.png
Execution context view


Screen configuration of execution context view

No. Description
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.

fig25EditRate.png
Editing execution rate


fig26EditRateError.png
When execution rate setting value is invalid


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.

fig27ActionAndStatus.png
EC operation and RTC state change


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.

fig28SelectDialog.png
RTC selection dialog


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.

fig29AttachContext.png
Attach RTC to EC


To cancel EC attachment, select EC of participate and click the [Detach] button.

fig30DetachContext.png
detach RTC from EC