...
This function adds a new System Custom Item during the initialization phase of the server and returns its ID. Compared to a normal custom item, a system custom item can be placed anywhere in the item tree. In general, this function shall be used within the “OnInitEvent” OnInitEvent callback only. Compared to the function “nxanxa.AddSysCustomItem”AddSysCustomItem, the flags for Persistent Persistent, Historical Historical, and Synchronziation Synchronziation can also be set.
Example
The following code creates an item within the branch NETx\XIO\My:
...