Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Hi, I am looking for a way to define a local variable that will be multi user independent. This is so several user can connect at the same time select frames independent of each other.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I am looking for a way to define a local variable that will be multi user independent. This is so several user can connect at the same time select frames independent of each other.
You need to create an array with one element for each possible user. I usually define these arrays in the root screen.
Then use the global CurrentClientId (defined by one of the VISU libraries) to index the array element used to select the frame.