03-18-2025 09:53 AM
Hello,
I am attempting to make changes to a Labview file. The part of the VI I'm having trouble with is a 1D array of strings which is the n-dimension array of an index array.
Right now, there are 11 items in the array and I am trying to add two more. I can select currently empty elements of the array, and type the new data into them. When I save and close however if I reopen the file the new data is gone and the elements are empty once again. I also attempted to modify the existing elements, but these changes also are not saved if I click save and then close and reopen the file.
Does anyone know why this might be the case, and if so how I might be able to fix it?
My version is Labview 2015 SP1 Full Developmental System.
Thanks
Solved! Go to Solution.
03-18-2025 10:01 AM
03-18-2025 10:15 AM
I thought I had, and all it had done was set one of the new values to all of the empty elements so I didn't think it had done anything. But I went and did it again after you replied, looks like I had just done it incorrectly. This seems to have fixed the issue. Thanks.
03-18-2025 10:29 AM
On a side note, if these strings are static for the duration of the run, you should make them a diagram constant instead.
(And if you later change the constant back to a control, all values will be the default automatically) 😄