I am having a weird problem with my code. I have a 2D array that receives data over a serial connection from a microcontroller. My VI searches this array for a specific value and when that value is found, it moves on to another part of the code. The problem is that when I run the VI mulitple times without closing, the array's data does not get deleted so the value that causes the VI to move on is found immediately and the first part of the VI is skipped.
Do I need to do something to ensure all data is cleared after a full run?
Thank you