Have a look at the following info from out help files:
https://www.vtscada.com/help/Content/Scripting/Expressions/UseTagValues.htm
In short:
The following tools are available to help you specify tags in the hierarchy. All of these are used inside the square brackets that denote a tag name.
\ Divider between parent and child tag names.
..\ Forces VTScada to start searching one level up the hierarchy tree. Always use this when the property you want to refer to in a parent might also exist in the current tag.
Child\GrandChild To reference a value (or other property) from a child of the current tag, start with the name of the child tag, then a backslash between each subsequent child name.
*TagType
..\*TagType Ancestor Relative Path, used when selecting a parent tag of a given type.
For example, if you want a calculation tag to refer to the first parent that is a driver, use [*Driver]. (*)
If you want it to refer to the first parent that has a numeric value, you can use [..\*Numeric]. The ..\ portion is necessary to prevent the calculation tag from finding itself.
<> Absolute path. The tag name must start immediately below the root level of the tag hierarchy.
(*) Types you are likely to use most often include: *Port, *Driver, and *Numeric.
There are advantages and disadvantages to each method. For each situation, VTScada uses what is most likely to be useful in that situation. "Likely" doesn't mean "always".
Have a look at the following info from out help files:
https://www.vtscada.com/help/Content/Scripting/Expressions/UseTagValues.htm
In short:
The following tools are available to help you specify tags in the hierarchy. All of these are used inside the square brackets that denote a tag name.
**\** Divider between parent and child tag names.
**..\** Forces VTScada to start searching one level up the hierarchy tree. Always use this when the property you want to refer to in a parent might also exist in the current tag.
**Child\GrandChild** To reference a value (or other property) from a child of the current tag, start with the name of the child tag, then a backslash between each subsequent child name.
*TagType
**..\\*TagType** Ancestor Relative Path, used when selecting a parent tag of a given type.
For example, if you want a calculation tag to refer to the first parent that is a driver, use [\*Driver]. (\*)
If you want it to refer to the first parent that has a numeric value, you can use [..\\*Numeric]. The ..\ portion is necessary to prevent the calculation tag from finding itself.
**<>** Absolute path. The tag name must start immediately below the root level of the tag hierarchy.
(\*) Types you are likely to use most often include: \*Port, \*Driver, and \*Numeric.
There are advantages and disadvantages to each method. For each situation, VTScada uses what is most likely to be useful in that situation. "Likely" doesn't mean "always".
Trihedral Engineering Ltd.