LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I write a VI that will randomly guess a user inputed number between 1 and 500?

I have a problem where I need to randomly guess a user inputed number, and then randomly guess that number. I want the program to run for half the time.

 

Anyone have any tips?

 

Thank you.

0 Kudos
Message 1 of 7
(4,285 Views)
If the user inputs the number, what is there to guess?
0 Kudos
Message 3 of 7
(4,244 Views)
End of the semester? What do you mean randomly guess a user number? What do you mean run for half the time, half the time of what?
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 4 of 7
(4,242 Views)
I mean I want it to run for only 250 times, and then give up its guessing.
0 Kudos
Message 5 of 7
(4,227 Views)

What is the point of this exercise? I cannot think of a practical application for this. If this is truly homework (as suspected), then please be aware that we do not do your hoework for you here.

 

What have you tried so far? Please post what you've done so we can suggest what to change. 

Message Edited by smercurio_fc on 05-01-2009 09:32 AM
0 Kudos
Message 6 of 7
(4,219 Views)
Look at the help files on the associated functions-  Welcome to LabVIEW

"Should be" isn't "Is" -Jay
0 Kudos
Message 7 of 7
(4,215 Views)