Data Access Item objects contained by group
Item is a vector of
contained by the
initially an empty vector. The size of
as you add items with the
and decreases as you remove items with the
The default value is an empty matrix (
This example creates a fictitious client, adds a group and two items.
da = opcda('localhost', 'Dummy.Server'); grp = addgroup(da, 'MyGroup'); itm1 = additem(grp, 'Item.Name.1'); itm2 = additem(grp, 'Item.Name.2'); allItems = grp.Item
If one of the items is deleted, the Item property is updated to reflect this.
delete(itm2); newItems = grp.Item