03-07-2023 10:08 PM
I am working on a new project that involves using the random number (0-1) and the random number (range) VIs to essentially roll dice and based on the number you can see the LEDs light up and depict what that number would look like on a D6 die, and I am doing this
The issue that I am having is that I need to modify this project to where I have a new event in the event case and I can press a button and the dice will roll continuously or a specified number of times and each time we generate a number there will be a histogram with 6 buckets for each 1-6 number that will fill up until the user is done with it.
This is trying to illustrate the probability question of the two random number VIs.
Ignore the for loop in the roll continuously event and any parts that may seem wrong as I was playing around with this for a bit.
03-11-2023 09:11 AM
You need to start with some basic tutorials.
03-11-2023 10:01 AM
See if this can give you some ideas. (It is always good to pad on each side to watch for out of range values (0, or 7), just to be sure they stay zero!
We know this is homework, so use my code to study and learn, then create you own. There are some traps that will tell your teacher that it is not your code.
(You also need to know about cluster ordering for example, etc.)