Resizing an array of topological variable leads to lose initial values and comments associated to the element
Goals and Symptoms
If you use an array (ex : MyArray : ARRAY[0..9] OF EBOOL) with comments and/or initial values for the elements of the array, at the moment you will resize the array (ex: ARRAY[0..10] OF EBOOL) you will lose all the comments and initial values of the elements.
Causes and Fixes
The workaround is to use DDT array. Define an array in DDT tab of DataEditor, and after create instances of this type. Then if you resize the type you will not lose the comment of the instance.
Legacy KB System (APS) Data: RESL172274 V2.0, Originally authored by on , Last Edited by on
Related ranges: Unity Pro
Udgivet til: Schneider Electric Danmark


Brug for hjælp?
Produktvælger
Find hurtigt og nemt de rette produkter og det rette tilbehør til dine anvendelser.
Få et tilbud
Start din salgsforespørgsel online, så vil du blive kontaktet af en ekspert.
Find forhandler
Find den nærmeste Schneider Electric-distributør.
Hjælpecenter
Find supportressourcer til alle dine behov på ét sted.