From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate random numbers from 1 to 5

Solved!
Go to solution

How to generate random numbers from 1 to 5   

 

 

 

 

-1110340081

0 Kudos
Message 1 of 4
(2,479 Views)

Random integers 1,2,3,4,5 or random floating point numbers 1...5?

 

What have you tried so far? Where did you get stuck?

0 Kudos
Message 2 of 4
(2,476 Views)
Solution
Accepted by fewfew

thank you i have finished

0 Kudos
Message 3 of 4
(2,467 Views)

(You should not mark a post as solution unless it actually contains a solution to the original problem)

 

Do you want to share your code? Did you test to make sure that all numbers equally probable?

Message 4 of 4
(2,455 Views)