LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem to stop my loop with tab command

Hi everybody,

 

I have problems to implement my VI.

 

I would like to STOP my case "Scenario_en_cours" before to change of tab.

 

Anyone can help me please ?

 

Cordially

0 Kudos
Message 1 of 4
(2,480 Views)

That looks like it will take some time to fix.  But what you need to do is seperate your different loops and functions into modules that run all on their own.  You should have one loop for nothing but GUI events.  One of these events should be your tab value change.

 

So if you have your other loops outside of this main loop, they just run on their own.  What I normally do is use a queue to tell those loops what to do: run, stop, change some data, etc.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 4
(2,475 Views)

Thank's for help crossrulz !

 

Do you have example for this please ? 

 

Cordially 

0 Kudos
Message 3 of 4
(2,436 Views)
How long have you been using LV? What training have you had?

From the tone of your posts I get the feeling that you might benefit from some basic learning. For example, the recommendations that crossrulz makes are excellent and correct -- and they also only require a basic knowledge of LV to implement.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 4
(2,403 Views)