03-09-2016 09:46 AM
So can anyone make a guessing game? The concept is, it has to have the computer generate a serect number , and the person would have 4 chances to guess what tht number is . If they guess and the number is to true than they win. if they guess and the number is false the computer would tell them if its to high or to low.
03-09-2016 09:49 AM
To answer your question, sure, I believe I could make a guessing game. Probably numerous other members on the forum could do it as well.
03-09-2016 09:51 AM
@Ouzi101 wrote:So can anyone make a guessing game? The concept is, it has to have the computer generate a serect number , and the person would have 4 chances to guess what tht number is . If they guess and the number is to true than they win. if they guess and the number is false the computer would tell them if its to high or to low.
Yes, many people on this board can do that.
Are they going to write it for you, probably not. But people here will help you with questions you have so you can write it yourself. Post your VI and a question about what you are having problems with.
03-09-2016 09:58 AM - edited 03-09-2016 09:59 AM
I would post my VI but I dont even know how to start , do you by any chance know how to?
03-09-2016 10:02 AM
Then start by writing down on a PC of paper some pseudo code as to how it would run on a PC in any generic language.
Have you used LabVIEW before? If not, then I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
Is this homework? Have you asked your instructor on how to get started?
03-09-2016 10:26 AM - edited 03-09-2016 10:29 AM
I got bored and made it... See attached. (LV2014)
Sorry for doing your homework.
You can change the range of the random number and the number of guesses in the Initialization case.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
03-09-2016 10:36 AM
Thank you so much , but theres a bit of a problem , I have labview 2013 and the VI you sent is 2014, anyway you can fix that ? If no its fine
03-09-2016 10:41 AM - edited 03-09-2016 10:43 AM
No not homework , its a project . and yes I know what labview is im somewhat familiar with it. Its just im not 100% sure on how to start.
03-09-2016 10:53 AM - edited 03-09-2016 11:00 AM
Here you go. A hell of a jump start
In general, the standard architecture templates that ship with LabVIEW are great starting points. I used the Simple State Machine template for this. FYI, I didn't document my code really at all. I even left the confusing template textboxes as you can see below.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
03-09-2016 11:05 AM
Now in the spirit of 'giving back', do you want to do some of my work for me?
You can choose from: 'building a test station for a compressor', 'updating a PCB design for a sbRIO breakout board' or 'adding in some additional data processing to some software for a fuel cell system'