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 I/O Tag is kept updated if the AllowRead property is equal to True

1 - AdviseWhenLinked

This I/O 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 I/O Tag link for this purpose can be performed on properties Value, RawValue, TimeStamp, Quality, and Bit00 to Bit31 from the I/O Tag (default)

 

The next script contains an example of using this property.

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

Was this page useful?