<< Click to Display Table of Contents >>
AdviseType |
Controls the Advise mode. The available options are described on the next table.
Available options for the AdviseType property
Option |
Description |
---|---|
0 - AlwaysInAdvise |
OPC Tag is kept updated if its AllowRead property is set to True, and OPC Group's Enable property is also set to True |
1 - AdviseWhenLinked |
OPC Tag is only updated if OPC Group's AllowRead and Enable property are set to True, and Tag is linked to an active object, such as a Display on an open Screen or an enabled Alarm, among others. A Tag link for this purpose can be performed in the following OPC Tag properties: Value, RawValue, TimeStamp, Quality and Bit00 to Bit31 (default) |
Example:
Sub CommandButton3_Click()
MsgBox Application._
GetObject("OPCDriver.OPCGroup.OPCTag1").AdviseType
End Sub