(OPCAddItem label flags propid item (parent...))
The name for this connection, as displayed in the OPC option of the Properties window.
one or more of the following:
IS_BRANCH | = 0X0001 |
IS_LEAF | = 0X0002 |
IS_PROP | = 0X0004 |
PARENT_IS_LEAF | = 0X0008 |
If this point is a property of an OPC leaf item (IS_PROP is true), then the property ID must be entered here. Otherwise, enter 0. This entry is ignored if IS_PROP is not true.
The name of the item on the OPC server, as a string.
A list of parent DataHub points (OPC branch nodes) that lead to this point, each as a string. If the point is a property (has a non-zero propid), then the last element of the list should be an OPC leaf node. OPC servers can use the "." character in item names, so this hierarchy is not necessarily derivable from the point name.
This command adds OPC items to an OPC server connection. It does not take effect until the OPCApply command is issued.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.