jdbrandt
Lifetime Supporting Member
Issue:
The ability to have a Program Tag and a Controller Tag with the same name.
Now, I know there are some who will say "But, I want to.", but, there is a compelling reason not to, if albeit a small one.
If you do have this situation, and you want to reference the Controller Tag in a Program that can see the Program tag, the Controller Tag will not be available to you. (Try it yourself, and see.)
Apparently, 'Program Tags win' (as, I suppose they should).
My situation was that a user AOI referenced a Controller Tag, and, was itself, called from another AOI. In the over-reaching AOI, it had an input parameter that used the Program Tag (because it could do nothing else), and, unfortunately, the Logic portion got confused, as to which tag was which.
No big deal, easy to fix (offline), but difficult to find, because everything 'looked right', but, of course, it didn't work.
A good exercise for Ron's bootcamp, I think.
The ability to have a Program Tag and a Controller Tag with the same name.
Now, I know there are some who will say "But, I want to.", but, there is a compelling reason not to, if albeit a small one.
If you do have this situation, and you want to reference the Controller Tag in a Program that can see the Program tag, the Controller Tag will not be available to you. (Try it yourself, and see.)
Apparently, 'Program Tags win' (as, I suppose they should).
My situation was that a user AOI referenced a Controller Tag, and, was itself, called from another AOI. In the over-reaching AOI, it had an input parameter that used the Program Tag (because it could do nothing else), and, unfortunately, the Logic portion got confused, as to which tag was which.
No big deal, easy to fix (offline), but difficult to find, because everything 'looked right', but, of course, it didn't work.
A good exercise for Ron's bootcamp, I think.