makepublic - Convert private group into public group

Syntax

makepublic(GObj)

Description

makepublic(GObj) makes the dagroup object specified by GObj public. Public groups allow you to share data configuration information across multiple OPC clients. You can check whether a group is public or private using the GroupType property.

Public groups on a server cannot have the same name. If you attempt to call makepublic on a private group with the same name as an existing public group, an error is generated.

Once a group has been made public, you cannot add items to that group or delete items from that group. You must ensure that a group contains the required items before making the group public.

Not all OPC data access servers support public groups. If you try to make a public group on a server that does not support public groups, an error is generated. To verify that a server supports public groups, use the opcserverinfo function on the client connected to that server.

Use the clonegroup function to create a private group from a public group.

See Also

clonegroup, opcserverinfo

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS