Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69497

Why don't the values in an array get deleted after VI finishes?

$
0
0

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


Viewing all articles
Browse latest Browse all 69497

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>