LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

7 segment with d-flip flops!

I'm a tad confused (happens easily with my small brain). You said you "made the truth table then the Karnaugh tables" and that you "made your own circuit" with gates. But you get lost in this "circuit". But you said you made the circuit. When you say you made your own "circuit" are you talking about a physical circuit? The code in LabVIEW is not a "circuit" - it's a block diagram. So, what are you getting lost in?
0 Kudos
Message 11 of 23
(6,506 Views)

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 😞

0 Kudos
Message 12 of 23
(6,498 Views)
i know i may sound stupid or lazy but i want to take it step by step so i can trully understand and learn!! thank you all for your time!!
0 Kudos
Message 13 of 23
(6,492 Views)

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? 

Message 14 of 23
(6,470 Views)

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 Smiley Wink )

 

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...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 15 of 23
(6,459 Views)
thank you guys. i will do that. thanks for your time.
0 Kudos
Message 16 of 23
(6,455 Views)
D_latch_2.vi is missing..?????
Regards,
N. Srinivasan
0 Kudos
Message 17 of 23
(6,429 Views)
i will attach it now. i will attach all 3vis! the main vi and 2 subvis! i still don't understand everything i see! i understand the subvi's on their own but the main vi is too difficult!!
Download All
0 Kudos
Message 18 of 23
(6,411 Views)

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.

Now Using LabVIEW 2019SP1 and TestStand 2019
Message 19 of 23
(6,383 Views)

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:

 

 7-segment internals.JPG

 

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.

 

 

 

Message 20 of 23
(6,374 Views)