02-21-2022 01:15 PM
Can some one help me out with this. I dont really know whats it asking. i just want to see the Front panel and Block diagram so i can compare. Please if you could try this problem and attach the Front panel and Block diagram
02-21-2022 01:27 PM - edited 02-21-2022 01:30 PM
Hi Tommy,
@Tommy12310 wrote:
Can some one help me out with this. … i just want to see the Front panel and Block diagram so i can compare.
To "compare" you should attach your VI so we can tell you, how to improve that approach!
(No one will do your homework for you. Please show some effort on your own…)
@Tommy12310 wrote:
I dont really know whats it asking.
When you can't follow the steps given in your homework assignment then you should take those Training resources offered at the top of the LabVIEW board.
(Or ask your teacher/classmates for help!)
02-21-2022 01:33 PM
thank you but i just wanted to compare my answer. its whatever though. ill ask my professor, im sure he'll help me out (expect that he sucks at teaching), if anyone kind enough can post what they got that would be amazing!
02-21-2022 01:54 PM
Hi Tommy,
@Tommy12310 wrote:
i just wanted to compare my answer.
Again: when you already have an answer then you should attach your VI!
Did you place all those items named in your assignment (case structure, 7 LED to form a 7-segment display, Enum/ring, while loop) yet?
Do you get the required result?
In case you didn't solve the homework: where are you stuck? Did you debug your VI?
I really would like to help, but I will not solve your homework by posting a solution! Show some effort on your own…
02-21-2022 03:20 PM
Honestly it's a very poor assignment as it tells you to use a single case structure with a case for every possible user input.
While in this instance that is only 5 different cases (-2 through 2)
How would you scale that to actually display every possible input (-9 through 99)?
Surely not a single case structure with 100+ cases!
02-21-2022 03:27 PM
@RTSLVU wrote:
While in this instance that is only 5 different cases (-2 through 2)
I would just wire the enum to a picture ring and call it a day. 😄
02-22-2022 06:06 PM - edited 02-22-2022 06:09 PM
@Tommy12310 wrote:
i just want to see the Front panel and Block diagram so i can compare. Please if you could try this problem and attach the Front panel and Block diagram
this is all about binary to decimal number system conversion
the frontpanel of a 7 segment bcd done in excel
you could turn this into -2 to 2 by using bit 3 as a sign bit
e.g.
1010 = -2
1001 = -1
0000 = 0
0001 = +1
0010 = +2
02-22-2022 07:28 PM - edited 02-22-2022 07:32 PM
I am not going to do your homework for you, but here's how I would do a seven segment numeric display.
Start with one of these charts...
02-22-2022 07:59 PM
@RTSLVU wrote:
I am not going to do your homework for you, but here's how I would do a seven segment numeric display.
That was actually a problem for one of the "challenge the champions" events at NI week a few years ago. I was sitting in the front row and cringed at the solutions they were tediously constructing while I was imagining something similar to the following:
Note that the arrangement of the cluster constant element mimics the display, for very easy (and fast!!!) setting of the patterns.
(The solution for that challenge would just to have a control for the index, so this is a bit fancier, cycling through all the numbers. We could expand and create an array of clusters on the front panel and parse multidigit positive integers. Scalable!)