4m4d3u5
6 years agoContributor
Name mapping
I have two variables that are in the same area in a dashboard and when I look at their name mapping they both get the exact same name mapping exept that one is QtIndex 1 and the other is QtIndex 2. How can I say give me the data for the individual indexes? Whenever I use text or QtText it only ever gives me the value for one of the variables. I am using Javascript.
I want to do something like but this doesn't work
var1 = someNameMapping
var2 = exact same name mapping as var1
BuiltIn.ShowMessage(var1.QtIndex("1").QtText)
BuiltIn.ShowMessage(var2.QtIndex("2").QtText)
So what I had to do was go into namemapping and create a spicific Alias name mapping for that object