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

XControl frontpanel freezes when timeout 0

$
0
0

Hi

 

I have an XControl with a big event handler (about 20 events currently). When I run this XControl for debugging ("Run Continuously"), its frontpanel freezes after only a few clicks, sometimes even directly after start. When I set timeout in the event handler to a value greater than a few milliseconds, it works.

 

The event handler is built as described here: http://www.ni.com/white-paper/3198/en/

 

- Why does it crash when timeout is 0? Is this a normal behavior because the handler might take a few milliseconds to finish?

- Is it a good fix to just increase timeout to some 100 milliseconds or will I likely run into new problems?

 

Best regards,

Michael


Viewing all articles
Browse latest Browse all 69178

Trending Articles



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