Combinational logic for BCD seven segment

HI all,
I have to design the combinational logic for BCD to seven segment display using only And, Or and Not gates and simulate it using the multisim software. I had come out with the truth tables, kmaps and finally i got all the SOP for each of the segments (a - g).
Now i have a problem, using multisim i do not know how to simulate the output. Am i going to draw all the logic diagram for a to g, and how am i going to combine them together?
What other components do i need to proceed with the simulation? Please advice, thanks in advance!

I'm not sure what SOP means, but I am very, very familiar with this project.
Here is a file that sets up a basic structure for you so you can see how it works. I used a Common-anode 7-segment display since those seem to be more common in school kits, which makes the final gate outputs active low. I've only done the "A" segment for an example. You may notice that the gates I have are different than what you get with Karnaugh mapping, because I used the Quine-McCluskey method that Multisim's Logic Converter can produce. It makes for less gates, but is not a method you really want to do manually. If you are doing a school assignment, I would advise against using the Quine-McCluskey result, because an instructor will tear you apart if it doesn't work and you can't show your proofs, so don't forget to remove my gates!
Ryan R.
R&D
Attachments:
7-Segment Driver Array Starter.ms10 ‏101 KB

Similar Messages

  • 5-bit binary in 2 seven segment displays?

    How to display a 5-bit binary in 2 seven segment displays using gates or components available in multisim?
    Attachments:
    sev seg.ms12 ‏408 KB

    Hello,
    It seems you already have a working file. The way a seven segment display works is by lighting each individual light of a the display (there's 7 lights for number 8 for example). You can use a driver or figure out a logic using digital gates. If oyu need information on this, there are lots of examples on the web and youtube. There's also samples in the Multisim samples folder involving seven segment displays that you can see.
    Kind regards,
    Miguel V
    National Instruments

  • Please provide logic for schedule lines and material document Quantity.

    Hi ABAPers,
    Please help in the following context.
    Is there any connecting or refrence field for which a particular schedule line item are considerd for the goods reciept of a particular material document.
    Also provide the logic.
    19                    34
    15
    14                   35
    11
    10
    If 19 15 14 11 10 are schedule lines, and 34 35 are two recived quantities,
    Then how can be the possible permutations and combinations logic to find out that, 34 = 19 + 15 and
           35 = 141110.
    Thanks in advance...

    Niles Raut wrote:
    Hello Gurus,
    >
    > This is intracompany STO scenario with delivery. There is one STO for quantity say 1000 pc created in 2008. Delivery and PGI done for 1000 qty in 2008.  Goods are received in receiving plant for qty 1000 in 2008. Now this delivery document is archieved and user has reversed the GR material document in 2010. Now this reversal material docuemnt has zero material qty becasue the delivery was archieved(which is the probable reson)
    >
    > When I want to cancel this reversal material document it gives error that "Qty and / or "delivery completed" ind. or final issue ind. are missing" which is logical since material document has zero quantity.
    >
    > Is there any sap notes or any other way to fix this?
    >
    > Please guide.
    >
    > Regards
    > Nilesh
    Where is actually the problem, if one only reversed 0 quantity?
    Why do you think you need to reverse this reversal again?
    why with year 2010?
    Dont you do anual inventories?  Such stock counts have corrected your stock anyway. if you start cancelling older movements then you create stock inconsistencies again.

  • Logic for this senerio -- UDF

    Hi XI Gurus,
                          I hav to create a UDF.This is an IDOC - XI - FILE seerio. In  this senerio is I have an IDOc whose 7th segment contains a field. This field can store values in between 0 - 9. On the other hand I have a file structure in my left hand side from Messge mapping prespective , which contains 9 similar sized fields.
    Now the logic is if the field in the segment of the idoc has value say '3', then the file structure in the left hand side would have 3 in the field no 3 and all other fields 1, 2, 4, 5, 6, 7, 8, 9 would be zero.
    Can u guys suggest some logic for this???
    Thanks in advance !
    Poits would be rewarded.
    Arnab

    Hi Mohd,
    Select the Queue option for getting individual nodes
    public void test(String[] a,ResultList result,Container container){
    if (a<i> == 7) { //This is for selecting the node
    for(i=0;i<10;i++){  //This is for collecting the correct value
    ifIi==3){
    write what ever u have to done
    else{
    write the exceptional condition
    Dont to Reward points if this helps
    Regards
    Pragathi.

  • How to write enhancement logic for AR datasource

    I need to enhance the AR data source(0FI_AR_4) with the following logic:
    LOGIC:
    First find out the KB Partner function in the field: KNVP-PARVW. Once the KB value is obtained, then display the value from KNVP-PERNR
    Thanks..
    Edited by: Jim kim on Jul 25, 2011 10:41 PM
    Moderator message : Spec dumping not allowed. Thread locked.
    Edited by: Vinod Kumar on Jul 26, 2011 10:18 AM

    Hi Ram,
    Generally the IDoc user exit is called at the following places:
      1) When the control record is read.
      2) After each and every segment in the data record
      3) At the end of the data segment processing.
    The IDoc user exit interface generally imports IDOC_DATA (data record internal table) table. Now the data records in the internal table should appear in the same order as maintained while defining IDoc structure (WE30 transaction). For SAP standard segment SAP code will take care of this. For extended segment you will have to take care of this aspect by appending the Z-segment in the IDOC_DATA table.
    You can do this by:
             looping at IDOC_DATA table:
                 - Do a case-endcase fo IDOC_DATA-SEGNAM (This stores the segment 
                   structure as per the hierarchy).
                 - Within the case for "Z-segment" you can write the logic for appending
                   the Z-segment to IDOC_DATA-SDATA.
    Hope this gives some clue.
    Regards,
    Gajendra.

  • Error in flex item, combinations table for this flexfield has more 1 entry

    HI OAF Gurus,
    I setup a flex item with the following attributes:
    ID = CostAllocationKFF
    Item Style = flex
    View Instance = XXPerAsgDetailsVO
    Rendered = true
    Appl Short Name = PAY
    Name = COST
    Type = key
    Segment List = XXPAY_COST_ALLOCATION|Company|Cost Centre
    In my controller, I have the following code in processRequest to bind the KFF against the CostAllocationKFF item:
    String costFlexStrucCode = "XXPAY_COST_ALLOCATION";
    boolean flag1 = false;
    OAKeyFlexBean oacostallockeyflexbean = (OAKeyFlexBean)webBean.findIndexedChildRecursive("CostAllocationKFF");
    if(oacostallockeyflexbean != null)
    oacostallockeyflexbean.useCodeCombinationLOV(flag1);
    oacostallockeyflexbean.setCCIDAttributeName("CostAllocKeyflexId");
    oacostallockeyflexbean.setStructureCode(costFlexStrucCode);
    Now, at processRequest it is picking up the right segment values. However, when I dont update the segments and I hit a button that will eventualy call processFormRequest, it is giving me the following error,
    "The combinations table for this flexfield contains more than one entry that matches the entered values. Inform your system administrator that the combination identified by the number 6419 is duplicated."
    Is there anything that I'm missing? What should I do to refrain from such error happening? I also have a flex item for people group but it is not giving me the same error message. Please advise. Thank you very much.

    can someone help shed light on this? I'm still trying to find out what's causing this issue. Thanks!

  • Controlling a bcd 7 segment lcd with labview

    I am pretty new to the Labview environment and am having a problem which involves converting a decimal value into its equivalent 4 digit binary number which then needs to trigger the appropriate boolean value to control a bcd 7 segment LCD.
    For example, decimal 9 gets converted into 1001, and you have four boolean variables D,C,B,A, the converted binary nine needs to trigger D and A while leaving C and B off. Is this possible in Labview and if so any advice
    Regards Shaun Oxley
    [email protected]

    To convert a decimal number to boolean I like to use the "Format to String" function with %b for a format specifier. A number goes in and a boolean "0101110..." string comes out. Once you've got the string, you can break it down by characters or turn it into an array of U8 to do lot of fun array stuff to it. I've attached a quick example that demonstrates a few tricks with strings and arrays. It will take a number and output the four LSBs in booleans for you. Fit for wiring to some DIO functions maybe!
    Dan Press
    www.primetest.com
    Attachments:
    number_to_binary_booleans.vi ‏23 KB

  • How to write the logic for extending Idocs...

    Hi,
          Can anybody pls explain how to write the logic for extending IDOCs with an example...
          Good suggestions can be appreciated..
    Regards,
    Ram

    Hi Ram,
    Generally the IDoc user exit is called at the following places:
      1) When the control record is read.
      2) After each and every segment in the data record
      3) At the end of the data segment processing.
    The IDoc user exit interface generally imports IDOC_DATA (data record internal table) table. Now the data records in the internal table should appear in the same order as maintained while defining IDoc structure (WE30 transaction). For SAP standard segment SAP code will take care of this. For extended segment you will have to take care of this aspect by appending the Z-segment in the IDOC_DATA table.
    You can do this by:
             looping at IDOC_DATA table:
                 - Do a case-endcase fo IDOC_DATA-SEGNAM (This stores the segment 
                   structure as per the hierarchy).
                 - Within the case for "Z-segment" you can write the logic for appending
                   the Z-segment to IDOC_DATA-SDATA.
    Hope this gives some clue.
    Regards,
    Gajendra.

  • Seven segment Display

    Hi,
    My project is to do with a petrol pump and the simulation of it.
    My problem is that i need to create a seven segment display in an interface containing Jbuttons that when pressed will run methods.
    I have the Jbuttons created and there should be(which there currently isnt) a counter shown next to the button for the following method in the Jframe
    public void StartSqueezing()
    NozzleReady=false;
    NozzleInUse=true;
    NozzleNotInUse=false;
    do{
    if( LitresDispensedPerTransaction < PetrolLimit)
    LitresDispensedPerTransaction = (LitresDispensedPerTransaction + 0.10);
    try {
    Thread.sleep(1000) ;
    //1000 millisecs
    catch(InterruptedException ex) {
    while (NozzleInUse = true );
    I also have this further down- getPrice is just another method in the code.
    private void makeFrame()
    frame = new JFrame("Peter Pump");
    Container contentPane = frame.getContentPane();
    contentPane.setLayout(new GridLayout(3, 2));
    JButton getPrice = new JButton ("getPrice");
    contentPane.add(getPrice);
    getPrice.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) { getPrice(); }
    I need a seven segment display that will count up the number of litres of fuel dispensed when the Jbutton representing the above "StartSqueezing" method is pressed. The counter should move up by 0.1 each time.
    I am by no means asking anybody to do this for me, i would just like some help and to be pointed in the right direction for what i need to read up about.
    Many Thanks,
    Edward

    Darryl,
    He is a guy at my college, its ok nobody likes him anyway :P i will just completely ignore what he said as he is actually no better than i am haha.
    Anyway, back to something that matters.....
    public void StartSqueezing()
            NozzleReady=false;
            NozzleInUse=true;
            NozzleNotInUse=false;
            Runnable run1 = new Runnable() { public void run()
             do{
               LitresDispensedPerTransaction =+ 0.10;
              try { Thread.sleep(200);}
                 catch(InterruptedException ex) {}
             while (NozzleInUse == true ); 
         Thread thrd1 = new Thread(run1);
         thrd1.start();       
        }I have put this is the action listener of a button and it wont work....any ideas???
    Edward

  • Logic for carry forward of previous stock to current period stock.

    Hi Experts,
    Client is using already MC.9 for see the stock analysis report, however as per there requirement we are exploring BOM as well as fetching quantity from table level as well. in my report I am experiencing  difficulty to carry forward previous period closing stock quantity to current period stock quantiy, if there is no received for current period, however the same is happens in MC.9
    Could any one tell me what is the logic behind MC.9 which is do carry forward previous period closing  stock to current period stock quantity in report.
    As per the requirement I am using S031, S032,S033, however unable to get logic for carry forward the previous month stock quantity to current month.
    have a requirement of creating a report of showing material stock period wise for each plant in below mention format.
    Header 1
    Header 2
    Header 3
    Header 4
    LFGJA/LFMON
    ROH (MT)
    HALB (MT)
    FERT (MT)
    11.2013
    100.000
    121.000
    121.00
    12.2013
    50.000
    12.000
    123.00
    01.2014
    23.231
    .23.234
    45.342
    02.2014
    23.231
    34.094
    45.098
    03.2014
    34.098
    98.983
    00.000
    04.2014
    00.000
    69.093
    98.098
    05.2014
    00.000
    89.098
    00.000
    For Example Break up of ROH material plant wise in below mention format.
    LFGJA/LFMON
    WERKS
    MENGE (MT)
    11.2013
    P001
    30.000
    11.2013
    P002
    50.000
    11.2013
    P003
    20.00
    Thanks in advance,
    SKN

    Hi,
       The last period closing stock = current period opening stock. You may get the details from MBEWH and S032 tables. Refer the doc: Material Stock and Valuation History tables - how to read them
    Regards,
    AKPT

  • In MVC, do i need a View or Page with flow logic for POPUP window

    Hi All,
    I have the below scenario using the MVC pattern.
    I have a main view with 3 trays, each tray has two buttons, for example first tray has Create Order button. When I click on this button, I need a popup window to come with a tableview and a button(Create), where I select some rows and click on the button Create  to create order.
    But as per the MVC pattern I canu2019t call the view (popup) from another view(main view).  So should I create a VIEW or PAGE WITH FLOW LOGIC for the popup? .
    I need 6 popup to be called from the main view and once the function is done close the popup.
    Please suggest me the flow for this scenario.
    Cheers,
    Srini.

    Srini,
    1. You can call the view in pop-up because you will be calling the controller using open.window.
    Here is the sample code:
    method DO_REQUEST .
      data:
            li_vw           type ref to   if_bsp_page,
            lv_form_field   type          string,
            li_md           type ref to   zcl_model01.
      dispatch_input( ).
      li_md ?= get_model( 'm01' ).
      lv_form_field = request->get_form_field( 'invoice_create' ).
      if lv_form_field is initial.
    *------ Request to display main page
        li_vw = create_view( view_name = 'main.htm' ).
        li_vw->set_attribute( name = 'model' value = li_md ).
        call_view( li_vw ).
      elseif lv_form_field eq 'true'.
    *------ Request to display Invoice page in pop-up
        li_vw = create_view( view_name = 'invoice.htm' ).
        li_vw->set_attribute( name = 'model' value = li_md ).
        call_view( li_vw ).
      endif.
    endmethod.
    Layout:
          function do_Invoice()
          { var s=0; r=1; w=300; h=300; x=screen.width/2;
            x=x-w/2;
            var y=screen.height/4;
            y=y-h/2;
            popUp=window.open('main.do?invoice_create=true','win','width='+ w
            +',height='+ h +', left=' + x +',top='+ y +');
    Option2:
    Ofcourse you can't bind the model in page becos those are 2 different things. But all you need to do is access the model to get some value. To know how to access the model from Page w/flow logic look at [this link|Passing model reference to a page in a Popup].
    Raja
    Edited by: Raja Thangamani on Apr 14, 2009 11:22 AM

  • What is the logic for 2LIS_17_I3HDR to pick a order as completed on time?

    Hi, Experts:
    I am working on PM using 2LIS_17_I3HDR to load data. In 2LIS_17_I3HDR, there is a field called "orders completed on-time". I am wondering what is the logic for 2LIS_17_I3HDR to identify if an order was completed on time. I would assume it compares some kind of completion/finish date with a planed/schduled comletion/finish date. Would someone please tell me what fields in what table or in transaction IW39 DOES does 2LIS_17_I3HDR  use for this?
    Many thanks!
    Jenny

    Hi, Ram:
    Thank you for the reply!
    The key figure is ZHLAFIH_TGERL (Number of On-time Closed Orders). I saw some SAP programs refering to its component type "DZHLAFIH_TE" too.
    Thanks,
    Jenny
    Edited by: Jenny Chen on Dec 2, 2009 7:53 PM
    Edited by: Jenny Chen on Dec 2, 2009 7:55 PM

  • I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money? Does it have a line in and how do you monitor sound? Will I need adaptors and a interface?

    Can anybody help?
    I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money?
    Does it have a line in and how do you monitor sound?
    Will I need adaptors and an interface?
    Also, I am guessing as Logic only runs on MAC surely then they would not the best spec to recommend to run it?
    I see all the upgrades as additional memory or a faster process?
    Is a retina screen necessary, and why flash based storage against a 1TB hard drive, and a i5 instead of an i7
    The main reason for this purchase is to play live and use backing tracks and record found sounds and make creative songs.
    I hope you can provide some valuable feedback, as I am a longtime MAC user and see upgrades and changes happen regularly but the most important thing is the songs not the equipment.
    I have £500 already and willing to add another 500 to 700 pounds, then software extra.

    Can anybody help?
    I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money?
    Does it have a line in and how do you monitor sound?
    Will I need adaptors and an interface?
    Also, I am guessing as Logic only runs on MAC surely then they would not the best spec to recommend to run it?
    I see all the upgrades as additional memory or a faster process?
    Is a retina screen necessary, and why flash based storage against a 1TB hard drive, and a i5 instead of an i7
    The main reason for this purchase is to play live and use backing tracks and record found sounds and make creative songs.
    I hope you can provide some valuable feedback, as I am a longtime MAC user and see upgrades and changes happen regularly but the most important thing is the songs not the equipment.
    I have £500 already and willing to add another 500 to 700 pounds, then software extra.

  • Logic for making ASN as an attachment to a email?

    hi all,
    can anyone help me trying to write a logic for making the Advanced Shipment Notification as an email attachment after having converted it into pdf format?
    I need logic for:
    1) Initially converting it into pdf
    2) Making the pdf as an attachment and not as a general email content.
    Thanks & Regard/Aryan

    Dear Aryan,
    This conversion to pdf can be done by using program RSTXPDFT4, and for the pdf to be sent as attachment you need to contact your technical team as they will write a script for that, scheduling of the same can also be done.
    Reward Points if it helps,
    Regards,
    N

  • Where to see the logic for 0FYEAR (SAP Exit)

    There is already an SAP exit 0FYEAR. There is a requirement to make ZFYEAR1 just like 0FYEAR. So, i want to see where the code (logic) for 0FYEAR is present so that i can write the the same for my custom variable(ZFYEAR1) in CMOD. Can anyone help me with the name of the program?

    Include ZXRSRU01 --> Function Module EXIT_SAPLRRSO_001
    or
    Search for Function Module RSVAREXIT_ [variable name]
    Variable Name = 0FYear

Maybe you are looking for

  • How to use airplay with pandora on macbook

    I'm trying to use airplay to play a browser based player over airplay speakers. I can do this with my iPhone but i can't figure out how to do it on Macbook. Please help

  • CCMS Adapter Engine monitoring

    Hi, CCMS has been configured in our land scape long back. this configuration gets data from adapter engine and display it. We need to modify this. When we checked the configuration all Integration engine errors are being gathered using standard MTE c

  • Send .pdf as email attachment not under tools in 11.0.9

    The option to send .pdf as an email attachment is not under the tools menu as it has been in previous versions. Is this an option that has been removed, or is this an error in the installation?

  • Ipad for my mom

    My mother has an old PC (runs Windows XP) and I was debating between getting her a new imac or an ipad2. I think an ipad2 is what I will get her because all she uses her computer for is email and games, the ipad2 will do that and more. The imac is re

  • Document or link about ETL process troubleshooting

    Hello Gurus,           will you please provide some document or link about ETL process troubleshooting. Many thanks, Frank Zhang