Active property
Returns or sets a value that determines whether or not the values for the tags in the TagGroup object are updated. Read/write. Boolean.
When True, all tags in the group will be active and updates will be provided through Change events according to the UpdateRate property.
When False, all tags will be inactive and Change events will not fire.
Syntax
[
Group
].Active
= [value
]Group
– is the name of a TagGroup object or an expression that evaluates to a TagGroup object.value
– is a Boolean value that determines whether or not the object is active.Remarks
- If a tag read (or tag write) is to be called immediately after a Tag object of its parent TagGroup object is set to Active, the tag read (or tag write) should be preceded by a call to the RefreshFromSource method to ensure that the tag has been put on scan. After a tag has successfully been put on scan, calling the RefreshFromSource method is no longer required.
- For a single tag, you can use the GetTagData method with its RefreshFromSource parameter set to True.
- The default value of the Active property for new objects is False.
Provide Feedback