Parent Child References are the easiest to map. However, I am exploring the possibility that the hierarchy for an application might require references to properties in an adjacent tag in the hierarchy. I haven't run into issues when concatenating descriptions in this way. However, in other values that require a specific data type (Scan Intervals, Drivers, AIO Scale Min's and Max's), I have expressions that compile, but values that cannot be evaluated by the property I am mapping to.
I believe that the Scope function is intended for this very application
-->Link to Help Pages
-->Link to Function References
If I wanted a to refer to a min value that has the following Tag Name: [Parent1\VariableTagNameX\MinProperty]
How can I use scope to place the Min Property of Parent1 in the MinProperty value of Parent2?
The VariableTagName is a property I want to refer to in the "local tag" that has a different parent.
[Parent2\Child1\MinProperty]--where I want to use scope function
[Parent2\X]-value that identifies the Tag Name of VariableTagX I want to refer to
I've been trying something like the following, but believe I am misunderstanding the syntax
Scope([Parent1],Concat(..\X,"\MinProperty" ) )
Parent Child References are the easiest to map. However, I am exploring the possibility that the hierarchy for an application might require references to properties in an adjacent tag in the hierarchy. I haven't run into issues when concatenating descriptions in this way. However, in other values that require a specific data type (Scan Intervals, Drivers, AIO Scale Min's and Max's), I have expressions that compile, but values that cannot be evaluated by the property I am mapping to.
I believe that the Scope function is intended for this very application
[-->Link to Help Pages](file:///C:/VTScada/VTSHelp/Content/Scripting/Expressions/OpAndFunctionExamples.htm?tocpath=Scripting%7COperators%20and%20Functions%7C_____3)
[-->Link to Function References](file:///C:/VTScada/VTSHelp/Content/Pro_Functions/Scope.htm?Highlight=scope)
If I wanted a to refer to a min value that has the following Tag Name: [Parent1\VariableTagNameX\MinProperty]
How can I use scope to place the Min Property of Parent1 in the MinProperty value of Parent2?
The VariableTagName is a property I want to refer to in the "local tag" that has a different parent.
[Parent2\Child1\MinProperty]--where I want to use scope function
[Parent2\X]-value that identifies the Tag Name of VariableTagX I want to refer to
I've been trying something like the following, but believe I am misunderstanding the syntax
Scope([Parent1],Concat(..\X,"\MinProperty" ) )