LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

user prompt challenge

Solved!
Go to solution

Hi all,

 

In the Vi attached I would like the user to be prompted with a question to continue increasing by 5 after 50 is reached. He can either choose yes or no and the program continues incrementing if yes is chosen.

 

 

 Thanks a lot.

Download All
0 Kudos
Message 1 of 11
(3,642 Views)
Try this
Tim
GHSP
0 Kudos
Message 2 of 11
(3,631 Views)

Your description isn't very thorough... This is how I understood it.

 

 

--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 3 of 11
(3,626 Views)
Are you sure this isn't a school project?  😉
Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 11
(3,604 Views)

@aeastet, I am using labvie 8.6 and so could not view your code

@elset191, I ran into the same challenge as the code you have provided. The prompt keeps coming up even after you click ok. After clicking ok, the prompt should close and the increment should continue.

@billko, LOL. the code I attached is actually a portion of a very large code.

 

I appreciate all your assistance. Hoep to hear from you soon.

 

Thanks.

0 Kudos
Message 5 of 11
(3,583 Views)
Solution
Accepted by topic author maxidivine

maxidivine wrote:

@aeastet, I am using labvie 8.6 and so could not view your code

@elset191, I ran into the same challenge as the code you have provided. The prompt keeps coming up even after you click ok. After clicking ok, the prompt should close and the increment should continue.

@billko, LOL. the code I attached is actually a portion of a very large code.

 

I appreciate all your assistance. Hoep to hear from you soon.

 

Thanks.


🙂

 

I'm poor and only have LabVIEW 7.1 so I can't see the magnificent structures these guys have made, but I'll have to assume it looked something like this:

 

screen1.jpgscreen2.jpg

 

Good luck!

 

Bill

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 6 of 11
(3,565 Views)

Hey Billko,

 

That was brilliant.

 

Thanks a lot.

 

You deserve the latest version of labview from NI as your reward. LOL.

0 Kudos
Message 7 of 11
(3,549 Views)

@elset191, I ran into the same challenge as the code you have provided. The prompt keeps coming up even after you click ok. After clicking ok, the prompt should close and the increment should continue.

Oh.  I misunderstood your spec.  Simply replace the > with an= and it works how you would want.

--
Tim Elsey
Certified LabVIEW Architect
Message 8 of 11
(3,525 Views)

Nice one Tim,

 

Thanks a lot.

0 Kudos
Message 9 of 11
(3,505 Views)

maxidivine wrote:

Hey Billko,

 

That was brilliant.

 

Thanks a lot.

 

You deserve the latest version of labview from NI as your reward. LOL.


LOL thanks, but I also gave kudos to elset because from the description it would have been fine also.  I confess I never thought about using "equals."

 

Bill

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 10 of 11
(3,484 Views)