Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Application Server

Property references

  • Last UpdatedJul 26, 2024
  • 1 minute read

Certain property names are reserved by Application Server. However, you are not blocked from using a string that is a reserved property name,. The PROPERTY keyword must be part of the string, for example, PROPERTY(propertyName). In all other cases, the case insensitive PROPERTY keyword is not required.

The Value property is assumed if no property reference is specified.

The following are property references:

  • .Name

  • .Value

  • .Type

  • .Quality

  • .Time

syntax:

obj.int.PROPERTY(quality)

where:

obj = object specifier

int = attribute

PROPERTY = keyword

(quality) = property specifier

For example, you can address the time of an attribute in a scan group for a DIObject from within an InTouch application, as follows:

Galaxy:"<DIObject>.<scangroup>.<attribute>.Property(Time)"

This is the same as if you used .Time:

Galaxy:"<DIObject>.<scangroup>.Attribute(<attribute>).Time"

You can directly address an item without having an attribute in the scan group. For this example, the item is MB1:

Galaxy:"<DIObject>.<scangroup>.MB1.Property(Time)"

and

Galaxy:"<DIObject>.<scangroup>.Attribute(MB1).Time"

For objects with a default scan group, you must refer to the .Time, .Value, and .Quality properties using the .Property(time), .Property(value), and .Property(quality) notation.

The following is an example of the correct use of property:

LogMessage(ATTRIBUTE("MyEngine.tagname.PROPERTY(securityclassification)"))

The following is an example of the incorrect use of property:

Logmessage(abtcpplc5_001.fast.changingpoint.property(quality));

TitleResults for “How to create a CRG?”Also Available in