LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

28 segment display with decimal point

Solved!
Go to solution
OK another question. So far i get 4 of the same number. How can i get 9 to be 0009 while looping it?
0 Kudos
Message 11 of 27
(2,102 Views)

Please post what you have tried so far.  Guessing at what you might have done or not is not very productive.

 

Lynn 

0 Kudos
Message 12 of 27
(2,097 Views)
Your right i'm just trying to wrap my mind around this I'll also upload the file if you would like
Download All
0 Kudos
Message 13 of 27
(2,093 Views)

You are just sending the same data to all 4 indicators.

 

Try this.

0 Kudos
Message 14 of 27
(2,066 Views)

Here is my version.  I created a lookup table of clusters of booleans, the same as your display clusters and avoided the conversions.  Also I have shown one way to get the digits from a number >9.

 

Lynn 

0 Kudos
Message 15 of 27
(2,062 Views)
Ok wow thanks! Do you know how i could impliment a decimal point?
0 Kudos
Message 16 of 27
(2,058 Views)

If the decimal point is always in the same location, such as xxx.x, then multiply the numeric value by ten and convert the result to an integer.  This gives a 4-digit integer which can easily be handled by the method I posted.  The display only sees the digits and does not know where the decimal point is.

 

Lynn 

0 Kudos
Message 17 of 27
(2,037 Views)
You could do a log base 10 of the number (assuming it is a double).  Take integer value of that (floor) and add 1.  That will tell you how many digits are to the left of the decimal point.  Then you could "Turn On"  the decimal point in the respective cluster.
0 Kudos
Message 18 of 27
(2,033 Views)
Thanks to everyone you guys have been a great help!
0 Kudos
Message 19 of 27
(2,022 Views)
Hi im not sure if anyone is still watching this thread but i have tried your ideas about the decimal point and i feel dumb for saying but i'm not sure exactly how to use your methods.
0 Kudos
Message 20 of 27
(1,989 Views)