LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

handling refresh of variables within an event structure?

Solved!
Go to solution

Dear all,

 

here I have my problem: I implemented in a data visualisation tool a button for getting the most updated file.

 

But as the mail application shall deliver new files every 2-5 seconds, I wanted to implement also an automatic refresh function, so that the updated file is picked every XX seconds.

 

I tried several, maybe naif workaround, but the problem is that when I start the "Automatic refresh", I can not handle anything else in the Control panel, and I can not change the value of the "automatic refresh control" because probably ... it is waiting. Please find attached the picture.

 

What am I missing?

 

thanks in advance, 

Edo

 

0 Kudos
Message 1 of 4
(2,750 Views)
Solution
Accepted by topic author Edo777

Hi Edo,

you can use the Timeout Event for it. Don't use a wait function inside of an event structure.

 

Mike

Message 2 of 4
(2,744 Views)

HI

Just edit the event case and remove checkmark Lock front panel until event complete (At the bottom of event case when you edit the event case)

 I hope this helps

 

Regards

Santosh

0 Kudos
Message 3 of 4
(2,743 Views)

thanks a lot for both of your hints!

finally I adopted the timeout solution, thank!

0 Kudos
Message 4 of 4
(2,714 Views)