03-20-2025 09:00 AM
Hi, has anyone encountered an issue where a local variable 2D array (it's 8x16), initially it is all 0s but then gets populated on an earlier step and after a couple of steps it would reset to 0s again? It's confirmed that it is populated on the earlier step. This is not happening all the time so it's kind of strange. Is it some kind of known bug on TestStand? Should I use File Global Variables to store those 8x16 data instead? Thanks
03-20-2025 09:29 AM
I don't believe, it makes a difference whether you are using a Local or a FileGlobal...
For debugging: if the code is not too large, use single stepping and check, where this reset occurs.
Maybe there is some conditional code that resets / empties the array?