some comments on your VI:
- NEVER delete the label of controls/indicators! NEVER hide the label in the block diagram!
- use a cluster to bundle the boolean indicators of your 7-LED display. Then use a cluster constant to set the indicators.
- the "Numeric" control needs a better (aka "more descriptive") label, and should be an integer type!
- use an array of those clusters mentioned before and a simple IndexArray function instead of creating a case structure with 10 cases and lots of boolean constants…
i need to display 3 digits
After placing those LED indicators in a cluster you can easily create an array of those clusters to allow more than one digit…
(Simple generic rule: when you need a data element more than once you should use an array of those data elements!)
Here is a little help on your homework. Instead of using a case structure, I like the idea of a Look-up Table. Instead of having 7 seprate LED segments, combine them into a cluster. That way you can create an array of clusters to display all digits of your number. Between this and Artem.SPb's idea (edit: and GerdW's ideas), you should be able to do the rest.
Edit: a LUT of Cluster constants as GerdW mentioned would be a lot easier than what I did.
You are indexing Single Element for Display but the Indicator is array.
Change array to Element (LED Display)