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
(6,498 Views)
multiply the random number by 80 followed by ROUND TO NEAREST vi
Somil Gautam
Think Weird
Message 2 of 7
(6,484 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
(6,479 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
(6,471 Views)
untitled.PNG
Message 5 of 7
(6,469 Views)
Solution
Accepted by 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
(6,433 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
(6,400 Views)