06-06-2013 02:19 PM
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
Solved! Go to Solution.
06-06-2013 02:21 PM
Without seeing a VI, we can only guess.
My guess is that your code uses shift registers, and those shift registers are not initialized.
06-06-2013 02:26 PM
Here is the VI. I thought I had initialized them.
06-06-2013 02:52 PM
I was missing one...