uaPLUS Reference
DlgCreateDaItems Delegate
See Also  Send Feedback
Advosol.uaPLUS Namespace : DlgCreateDaItems Delegate

Glossary Item Box

This plug-in method is called from the generic server at the startup, when the first client connects. All items supported by the server need to be defined by calling the AddItem callback method for each item.

The Item IDs are fully qualified names ( e.g. Dev1.Chn5.Temp )
The generic server part creates an approriate hierachical address space. The sample code defines the application item handle as the the buffer array index. This handle is passed in the calls from the generic server to identify the item. It should allow quick access to the item definition / buffer. The handle may be implemented differently depending on the application.

The branch separator character used in the fully qualified item name must match the separator character defined in the GetServerParameters method.

Syntax

Visual Basic (Declaration) 
Public Delegate Function DlgCreateDaItems() As Integer
C# 
public delegate int DlgCreateDaItems()

Return Value

Returns S_OK if the items were successfuly created.

Remarks

If the item definitions are read from an XML configuration file and this file also contains the BranchSeperator character definition then the file must be loaded in the GetServerParameters method because this method is called first and needs the BranchSeperator character definition.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2010-2018 Copyright Advosol Inc. All Rights Reserved.