10-11-2009 11:38 AM
10-11-2009 11:58 AM
i made truth table and karnaugh mapping and i made my own simple 7-segment vi!!without flip flops! i give a number in my inputs and i see the leds forming my decade number!! i can attach it if you like!! this one i am posting was given to me as it is!the particular subvi was given to me also with the main vi with the flip flops and all these buttons to control it! i didn't make it on my own! i am trying to understand how it works! the logic of it!! and i want to understand what is happening in the block diagram!!
i hope i made myself clear! sorry if i got you comfused! i am a beginner in all these you see 😞
10-11-2009 12:23 PM
10-11-2009 10:59 PM
You do know that the exclamation point is not a substitute for a period, right? Just checking!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
In looking at the code there seems to be a bit of unnecessary operations here and there. However, the overall purpose of the VI is not clear. Why don't you just ask whoever gave it to you what it's supposed to do?
10-12-2009 01:53 AM
Hi smercurio and thess,
the vi looks like someone was given a homework to realize a binary to 7segment decoder using just AND and NOT gates. I had to this while apprenticeship too. But back than we had to use real TTL ICs for this purpose... (Yes, it's that long ago )
Thess:
You should look into several examples found here in the forum for this purpose. You should get familiar with: clusters of booleans and case structures with integer selector input to get the same result with just a case structure...
10-12-2009 02:07 AM
10-12-2009 11:40 AM
10-12-2009 03:13 PM
10-13-2009 06:09 PM
thess,
I don't know how knowledgeable you are with LabVIEW so please don't take offense with the following suggestions.
You stated you wanted to understand the vi step by step. First Ctrl + H which will bring up the functional help. Now if you hover over a function the small help screen will give you some basics about what it is. Run the block diagram with the highlight execution turned on. This looks like a lightbulb on the block diagrams top toolbar. If the diagrams runs too fast to understand use the single step button on that same toolbar. Also if you right click on any wire on the block diagram you can place a probe and/or a breakpoint.
Hope this helps.
10-13-2009 10:09 PM
This is undoubtedly not the simplest way of producing a 7-segment display, agreed.
The obvious intention of the author of this vi was to replicate on the block diagram the internal workings such as this shown from a device datasheet:
Each of the blocks shown on the LabVIEW Block Diagram is probably representative of each of the blocks shown in this circuit diagram.
Follow the circuit and match it to the Block Diagram. If you dont follow something then pick up the relevant text book 🙂
Cheers,
Battler.