r/LabVIEW • • Jan 21 '17

Labview dice

Hi all, could anyone help me create a dice labview simulation? with 7 leds, and 1 "gamble" button. when the button is pressed, the leds should display a number.

0 Upvotes

4 comments sorted by

1

u/sadiek Jan 21 '17

I fixed it with leds. :) thanks for your help anyways :D

1

u/[deleted] Jan 21 '17

You want to make a 7 segment display?

The toughest part of this is going to be converting your number into the 7 bits necessary to display the right number. The complicated way to do this would be to solve a karnaugh map for each segment and each bit of the input, like so:

NumberValueTop Segment
00110
01021
01131
10040
10151
11061

That gets nasty though. Much nicer is to just build a lookup table for each segment.

1

u/digiajay Jan 23 '17

If you're still looking for it. I have made a gamble VI for you. Here it is https://drive.google.com/file/d/0B-PimJ4T_xZSbmQwTHowZkwybmM/view?usp=sharing