Installation variable list of strings

Installation variable ‘vResultsList’, initialized as ‘list of strings’: [“”,“”,“”,“”,“”,“”,“”,“”,“”,“”]
Works and reacts properly to changes.

Then after couple of days, when program is loaded, this ‘vResultsList’ is changed and initialized as simple ‘string’: “”
And we get ‘type’ errors → program is stopped.
temporary solution is to manually change ‘vResultsList’ again, but it keeps popping back to “” after some restart, or load…

UR10e with up-to-date software, using URCap IseeUI as HMI interface for operators, therefore needing ‘list of strings’ in installation variables.

Is it showing as a string on installation variables screen?
Could you post some screenshots when it fails.
It would also help to get support file when program fails to start.

On installation variables-screen it shows as intended [“”,“”,“”,“”,“”,“”,“”,“”,“”,“”] (or some strings that I enter in-program). same as in variables screen from home-page.
In the program I fill the strings via 10 string variables.
Then when I run a program, some values get entered, and if I load another program, then it gets changed to just “”.
If I change the installation variable again to the intended format, save, don’t run program, switch back to other program, then format remains as intended.
So as long as values are not overwritten by program, all works fine.
If program is run, values overwritten, then load, the format is changed and program stuck.

If type would be changed from array to string then conditional on previous line would fail.
vResultList and vResultList_old needs to have the same type.
Also error mentions that string was passed where integer was expected - there is no mention of the list.
More details are needed to debug this issue.

Hi @mmi

The conditional on the previous line didn’t trigger an error, because my URCap takes over the same type.
So the URCap initialises “vResultList_old” by writing the initial value of “vResultList” into it.
Thus, “vResultList_old” is also of type “String”.
Why, however, the program returns a type error mentioning it expected a type Integer, I do not know.
I’m in contact with the customer, and I will have a closer look into it.

However, the problem the customer reported, about installation variabel losing its value, is reproducible.
I asked the customer to create a video. You can download it here (expires in 7 days):
download link
When you follow the steps in URSim, the same problem occurs.

Thus the problem is that after some actions, the installation variable “vResultList” which has a value of type “Array of String” is being resetted to a constant String, or the value the variable has in the other installation file.

Kind regards
Dieter