terry56 Member T Join Date May 2010 Location California Posts 45 May 1, 2012 #1 If I use a numeric display, connection tag is {[well10]levelValue[1]} the HMI works, but use a connection tag such as {[well10]levelValue[arrayNum]} the display is '***'. Any ideas???
If I use a numeric display, connection tag is {[well10]levelValue[1]} the HMI works, but use a connection tag such as {[well10]levelValue[arrayNum]} the display is '***'. Any ideas???
Operaghost Member Join Date Apr 2002 Location Dallas, TX USA Posts 4,107 May 1, 2012 #2 Arrays do work, so something isn't quite right. Can you post a screenshot of the Tag Browser window? OG
Arrays do work, so something isn't quite right. Can you post a screenshot of the Tag Browser window? OG
terry56 Member OP T Join Date May 2010 Location California Posts 45 May 1, 2012 #3 here is the screenshot of real tag. File attached.
VAN Member V Join Date Apr 2012 Location Wa Posts 509 May 1, 2012 #4 Does your expression show as true (it doesn't look right) and what number does the expression give when running, if it gives one, is it the right one?
Does your expression show as true (it doesn't look right) and what number does the expression give when running, if it gives one, is it the right one?
bernie_carlton Lifetime Supporting Member + Moderator Join Date Apr 2002 Location Yakima, Washington Posts 6,413 May 1, 2012 #5 In my experience you can't use an array index as a variable, it must be a number. Thus the connection cannot change at run time.
In my experience you can't use an array index as a variable, it must be a number. Thus the connection cannot change at run time.
terry56 Member OP T Join Date May 2010 Location California Posts 45 May 1, 2012 #6 Thanks Bernie, I got the same answer as you but did not know whether it was true or not. Thanks for the help.
Thanks Bernie, I got the same answer as you but did not know whether it was true or not. Thanks for the help.