LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I stop an infinite loop because of a poorly placed user prompt during development without closing LabView?

Solved!
Go to solution
You are right Chuck, the modal popup is a bear and a lesson learned.
Richard






0 Kudos
Message 11 of 21
(2,504 Views)

chuck72352 wrote:
I tried Abort.VI and with a user prompt, it didn't work for me. But CNTRL +  .   does work.

It doesn't for modal dialogs. However, the rest of that thread discusses this issue and presents suggested solutions.

0 Kudos
Message 12 of 21
(2,485 Views)

Cntl+. will work if you are fast enough and hit the key combination right after clicking on the OK button. It may take a few tries, but it will eventually work.

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 13 of 21
(2,466 Views)

smercurio_fc wrote:
Darren's Occasional Nugget 08/11/2008

I have one, too.

Attached.

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 14 of 21
(2,445 Views)

or you could prevent it from going modal before you start!

 

only modal in runtime.png 

-Barrett
CLD
Message 15 of 21
(2,440 Views)

blawson wrote:

or you could prevent it from going modal before you start! 


Or, you could get a faster computer.  I once had a computer that was SO FAST it could complete an infinite loop in under five seconds!

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 16 of 21
(2,416 Views)

jcarmody wrote:

blawson wrote:

or you could prevent it from going modal before you start! 


Or, you could get a faster computer.  I once had a computer that was SO FAST it could complete an infinite loop in under five seconds!


OK, I may be a mere Mech eng here, but we deal with real world problems and leave the physicits to deal with the theory. How can you have an "INFINITE Loop" that gets completed??? that's not an infinite loop!!! It must have some value basis where it finishes. Smiley Indifferent

 

Bad programming causes infinte loops to finish in 5 seconds!! You forgot to make to loop continue for all values Jim!! Smiley Very Happy

 

James

CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
0 Kudos
Message 17 of 21
(2,411 Views)

James W wrote:

 

OK, I may be a mere Mech eng here, but we deal with real world problems and leave the physicits to deal with the theory. How can you have an "INFINITE Loop" that gets completed??? that's not an infinite loop!!! It must have some value basis where it finishes. Smiley Indifferent

 

Bad programming causes infinte loops to finish in 5 seconds!! You forgot to make to loop continue for all values Jim!! Smiley Very Happy

 

James


Nope! Smiley Very Happy  You forgot to consider that the computer might have had multi-dimensional processors (or, that I might have been being silly).

As for your comment that "Bad programming causes infinte loops to finish in 5 seconds!!"  I resemble that remark.  Smiley Mad

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 18 of 21
(2,404 Views)
If you were running vista, you'd be lucky to run an infinite loop for 5 seconds... 😉
0 Kudos
Message 19 of 21
(2,394 Views)

jcarmody wrote:

As for your comment that "Bad programming causes infinte loops to finish in 5 seconds!!"  I resemble that remark.  Smiley Mad

You "resemble" or "resent"? certainly resemble looks right, the smiley looks like a bad program might!!Smiley Very Happy

CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
0 Kudos
Message 20 of 21
(2,384 Views)