10-21-2016 08:48 AM - edited 10-21-2016 08:49 AM
Updated the code with RavensFan's comments.
You need to set the Keep array to default to 5 falses. It currently defauts to an emtpy array, which will cause no rolling to happen.
Something you should do is add a counter to see how many rolls have been performed. Then you can have the VI stop on its own after the third roll. Hint: you will need another shift register.
10-25-2017 09:29 PM
Okay so Im currently working on this project as well for my class but I have absolutely no idea where to find the KeepTF and RollTF things. I dont even know what those are called. My professor isnt very good. Please help.
10-26-2017 01:23 AM - edited 10-26-2017 01:24 AM
Hi Cuda,
as you surely took the free beginner courses offered by NI you should know:
- those are boolean "things" from their green color
- those are controls as they are data sources
- those are arrays from the thickness of the wires coming out of them
- atleast "Keep" is a 1D array as the FOR loop autoindexes the wire to scalar values
What else do you need to know?