LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with updating my main window! It will only update when an event occurs.

Hi!
I am making a main front panel where data from different processes shall be shown. By clicking different pictures/buttons I will open new front panels where I can get more detailed information and control values. The problem is that my main window is not updating information (I want this to run continuously) except precisely when I am pushing a button/picture. I hope someone can help me with this problem.
 
I also have some problems to get my stop button (on the main window) to work....so I have to stop my program from running by pushing the red stop button on the main block diagram.
 
-Mari
0 Kudos
Message 1 of 3
(2,343 Views)
Mari,

I have not evaluated you code, but will provide some basic info from what I read out of your message:
> ...It will only update when an event occurs.
If you use an event structure to handle your UI you need a timeout event (set to about 100ms) or another event source that operates and updates your screen. This can be a user event that is fired when new data arrived, or it can be a timeout event that polls for new data.

>
I have to stop my program from running by pushing the red stop button
This is probably due to your stop button is never checked or you have parallel loops with just one of them reads the stop button value. In the latter case just use locals of that button for the other loops.

Just my Euro 0.02!
Greetings from Germany!
--
Uwe

Message 2 of 3
(2,338 Views)

Thank you very much. I have managed to fix both problems 🙂

Mari

0 Kudos
Message 3 of 3
(2,334 Views)