AdviseType

<< Click to Display Table of Contents >>

 

AdviseType

Enum Controls the Advise mode. The available options are described on the next table.

Available options for the AdviseType property

Option

Description

0 - AlwaysInAdvise

This Tag is kept updated if the AllowRead property is equal to True

1 - AdviseWhenLinked

This Tag is only updated if the AllowRead is equal to True and it is linked to any active object, for example a Display on an open Screen or an enabled alarm, among others. The Tag link for this purpose can be performed on the following properties: Value, RawValue, TimeStamp, Quality, and Bit00 to Bit31 from the I/O Tag (default)

 

Example:

Sub CommandButton3_Click()
  MsgBox Application._
    Application.GetObject("Driver1.Tag1").AdviseType
End Sub

Was this page useful?