AnsweredAssumed Answered

How to run same custom symbols on a display in PI Vision?

Question asked by JG70030 on Jun 28, 2018
Latest reply on Jun 29, 2018 by Roger Palmen



i have to run multiple instances of a symbol on a display. When i trigger a function on Symbol A (e.g. click a button), Symbol B is reacting (because i use document.getElementById and the id is found multiple in the DOM).

I use AngularJS and e.g. ng-repeat uses wrong elements, althogh i use track by an id.


How can i seperate the symbols?

How can i get a unique ID for a symbol to use it in JS? (displayProvider.getSelectedSymbols() is not an option, because on a saved display the symbols are initial unselected)


Thank you in advance!