Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66688

where am i going wrong?

$
0
0

hello guys!i'm trying to create a basic dice vi program that generates a random number between 1-6 when triggered,two of the criteria i tried to implement are:
1.no zero
2.the previous value must not be the same as the current one

i tried to solve it using a feed back loop but still the output isn't satisfactory,where am i doing it wrong?thanks in advance :)

2014-04-27 00_09_04-Untitled 3.jpg            2014-04-27 00_09_17-Untitled 3.jpg

 

 

The block diagram:

2014-04-27 00_20_28-dice.vi Block Diagram.jpg


Viewing all articles
Browse latest Browse all 66688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>