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

Event structure not clearing the Queue after it exits the SubVI

$
0
0

Ok I'm not sure if this is a dumb question or not...

I was just trying out some stuff and stumbeled on this problem...

 

So i created a sample (not the exact)

In qqq_Main.vi just press PressMe

(it opens up a subVI qqq.vi)

Ther are two stop buttons "Stop1" and "Stop2".

To close the SubVI either press "Stop2" 

or press "Stop1" and then "Stop2"

 

with the latter method of closing the Stop2 value change is registered outside the while loop, and after the SubVI closes shouldnt this be Cleared???(Or should we manually clear it??)

 

Due to this not clearing, the second time I press "PressMe" the Stop2 Value change even gets triggered before pressing anything


Viewing all articles
Browse latest Browse all 67304

Trending Articles



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