Changes
The CreateOPCUAScope opens a previously configured [[Activity:CreateOPCUAConnection (Activity)|OPC Connection]], processes variable requests and closes the connection when finished.
=Description=
{{ActivityInfoBox
| title = Configure OPC UA Variable
}}
{| class="wikitable sortable" | width = "50%"
|}
===Usage===
This activity is used to open a preconfigured [[Activity:CreateOPCUAConnection (Activity)|OPC Connection]]. It is a nestable activity, which means it can host any amount of sub-activities that will be processed sequentially. The hosted activities are typically [[Activity:AccessOPCUAVariable (Activity)|AccessOPCUAVariable]] activities, either as direct children but also wrapped within looping activities like ForEach or While. When all child activities are processed the OPC connection will be closed again.
The CreateOPCUAScope activity, as used in the larger example "Read value from OPC variable":
[[File:UI_Activity_CreateOPCUAConnection_Example.png|x700px]]
<headertabs />
==See also==