Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

...