LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Build a VI that generates a random number between 1 and 80 ....Help!!!!

Solved!
Go to solution

Build a VI that generates a random number between 1 and 80 

Divides the random number by a number specified in the front panel.

If the inputted number is zero, the VI program should turn on a LED in the front-panel to indicate a divide by zero error.

0 Kudos
Message 1 of 7
(5,675 Views)
multiply the random number by 80 followed by ROUND TO NEAREST vi
Somil Gautam
Think Weird
Message 2 of 7
(5,661 Views)
You only need the random number to multiply 80. The random number produces a point number between 0 and 1.
Regards
MY
Message 3 of 7
(5,656 Views)
Random.JPG
Message Edited by Baji on 09-21-2009 03:10 PM
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
0 Kudos
Message 4 of 7
(5,648 Views)
Solution
Accepted by topic author edwardty2009

Hai edwardty2009,

 

Welcome to the forum.

 

Thanks for the kudos.

 

Is your problem solved? If so can you please mark as solution which post helps best to solve your problem.

 

Thanks,

Mathan

0 Kudos
Message 6 of 7
(5,610 Views)

One quick question Edward, was the answer just in time for your monday morning class.

 

Ton

 

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 7 of 7
(5,577 Views)