Automatically return to main vi from subi

I have a main VI and a sub VI. The sub vi front panel is opened when it is called and the main VI is updated. But I need to automatically return to the main VI front panel after running the subvi
Attachments:
24-01-2014 main vi.vi ‏121 KB
electron volatage sub vi.vi ‏9 KB
mass sweep subvi.vi ‏17 KB

Norbert_B wrote:
Despite that, the code and interfaces should be reworked to match common development style guides (e.g. gray scale colors).
Agreed!
What's the point of the outer case structure of the main VI (now encompassing while loop). Are you using "continuous run" for this???
Yes, your color scheme is just garish!
Why do you have colored case structures on the diagram? Makes the wires hard to see (try a boolean wire in one of you case structures!). Use the default white, or, if you absolutely must, very light pastel colors as background.
There is no reason to maximise the front panels of the subVIs, blocking everything else on the desktop. Same for the diagrams.
You have a lot of explicit repetitive operations (e.g. string subset). That could be done in a loop instead, reducing the code to <10% of the current complexity.
Your small cases all contain "replace substring", since this is common to all cases of each case structure, it belongs after the case structure. The case structure only needs to contain what's different (the string in this case)! Even better use a string array and index into it with the ring. No case structure needed at all!
If you want to make the subVIs interactive, they need to wait for user input. Currently they show for a nanosecond, complete, and disappear again. (hint: while loop and event structure, for example.)
What is the point of the flat sequence? Seems unecessary.
There is a primitive for "equal zero". Alternatively, wire the integer to the case selector and make one case zero and the other "default".
Your front panel has a wild mix of fonts (arial. times roman, application, etc.). Make a gobal design decision!
Why are your LEDs distorted in random directions? Keep them all round or at least all the same shape.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Returning to main timeline from movie clip

    okay on my main timeline i have an intro, then a main menu. from that main menu it goes to a movie clip, i want to create a 'back to main menu' button inside the movieclip that will return to a certain frame in the main timeline.
    can anybody help me in what coding to use?
    cheers

    ive put the code in my main timeline where on the same frame as the movieclip, but im coming up with an error which is:
    Scene 1, Layer 'Actions', Frame 471, Line 3
    1119: Access of possibly undefined property back_btn through a reference with static type flash.display:SimpleButton.
    ive put in the instance name of the button which is inside the movieclip but doesnt seem to work

  • Problem in CO extension to return to main page from Dialog Page

    Dear All,
    I extended a CO and Over rode PFR.
    My intention is to show a dialog page when "Submit" button is clicked. I am able to show a dialog page, but i am not able to return to the main page upon clicking "OK" in the dialog page.
    Please find the code below in the PFR:
    if (oapagecontext.getParameter("HrSubmit") != null)
              MessageToken[] tokens = { new MessageToken("MESSAGE", "Please add attachments")};
              OAException mainMessage = new OAException("AK","XX_CUST_MSG", tokens);
              OADialogPage dialogPage = new OADialogPage(OAException.ERROR, mainMessage, null, "", null);
              dialogPage.setRetainAMValue(true);
              dialogPage.setOkButtonItemName("OK");
              dialogPage.setOkButtonToPost(true);
              dialogPage.setPostToCallingPage(true);
              oapagecontext.redirectToDialogPage(dialogPage);     
    if (oapagecontext.getParameter("OK") != null)
                   super.processFormRequest(oapagecontext, oawebbean);
    Though i am calling super.processFormRequest, the page is errroring out as soon as i press OK button in the dialog page.
    Please let me know where i went wrong??
    Thanks
    Raj

    Hi Centinul,
    Thanks for the reply. I changed the code as you told, but it did not work.
    Please find the below Code of PFR:
    public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
              super.processFormRequest(oapagecontext, oawebbean);
              OAApplicationModule rootam =oapagecontext.getRootApplicationModule();
              OAApplicationModule applicationModule = oapagecontext.getApplicationModule(oawebbean);
              String absType = (String)oapagecontext.getTransactionValue("AbsenceAttendanceTypeId");
              String absDur = (String)oapagecontext.getTransactionValue("DurationDays");
              String return_value,emp_name;
              int personId= oapagecontext.getEmployeeId();
              int absDays= Integer.parseInt(absDur);
              if (oapagecontext.getParameter("HrSubmit") != null)
                   if (("65".equals((String)absType))&& (absDays>1))
                             try{
                                  OADBTransaction txn = (OADBTransaction)applicationModule.getOADBTransaction();
                                  OracleCallableStatement cs =(OracleCallableStatement)txn.createCallableStatement("Call xx_msft_loa_ppattach(?,?)", 10);
                                  cs.setInt(1,personId);
                                  cs.registerOutParameter(2,Types.CHAR);
                                  cs.execute();
                                  return_value = new String(cs.getString(2));
                                  cs.close();
                                  }//try
                             catch(Exception e)
                                  System.out.println("error..... " + e.getMessage());
                                  OAException confirmMessage = new OAException(e.getMessage(),OAException.ERROR);
                                  throw OAException.wrapperException(confirmMessage);
                                  }//catch
                        if ("NO".equals (return_value))
                             try{
                             OADBTransaction txn1 = (OADBTransaction)applicationModule.getOADBTransaction();
                             OracleCallableStatement cs1 =(OracleCallableStatement)txn1.createCallableStatement("Call xx_msft_loa_ppfullname(?,?)", 20);
                             cs1.setInt(1,personId);
                             cs1.registerOutParameter(2,Types.CHAR);
                             cs1.execute();
                             emp_name = new String(cs1.getString(2));
                                  }//try
                             catch(Exception e)
                                  System.out.println("error..... " + e.getMessage());
                                  OAException confirmMessage = new OAException(e.getMessage(),OAException.ERROR);
                                  throw OAException.wrapperException(confirmMessage);
                                  }//catch
                             MessageToken[] nameTokens = {new MessageToken("EMP_NAME", emp_name)};
                             OAException mainMessageName = new OAException("AK","MSFT_LOA_PP_MSG", nameTokens);
                             OADialogPage dialogPageName = new OADialogPage(OAException.ERROR, mainMessageName, null, "", null);
                             dialogPageName.setOkButtonItemName("OK");
                             dialogPageName.setOkButtonToPost(true);
                             dialogPageName.setPostToCallingPage(true);
                             oapagecontext.redirectToDialogPage(dialogPageName);
                        }//NO if
                   }//65 if
                   }//HrSubmit if
    else if (oapagecontext.getParameter("OK") != null)
                        oapagecontext.forwardImmediatelyToCurrentPage(null, true, null);
         }//PFR
    Upon checking some conditions , i am redirecting to a dialog page after the submit button is pressed, in which i am showing a custom message and a OK button. My intention is after pressing the OK button, it should return back to the original page. i used 'forwardImmediatelyToCurrentPage' whihc is not working.
    As soon as i press OK button, the page is erroring out, with out even showing the error stack. It only shows
    'You have encountered an unexpected error. Please contact the System Administrator for assistance.'
    Please let me know where i went wrong
    Thanks
    Raj

  • Select column in main query from sub query (derived table) -

    Hi:
    I have the following query - How do I select Tot_Atnd defined in the derived table
    SELECT  count(distinct c.prgm_id) AS "Total Completed", h.Tot_Atnd
    FROM  iplanrpt.vm_rpt_prgm  c
    INNER JOIN
    *(SELECT PRGM_ID, SUM(CASE WHEN ATTENDED_IND = 'Y' THEN 1 ELSE 0 END) AS "Tot_Atnd" FROM iPlanrpt.VM_RPT_PRGM_ATND GROUP BY PRGM_ID) h*
    ON c.PRGM_ID = h.PRGM_ID
    Thanks

    Here's an example of what I think the CREATE TABLE and INSERT statements would look like for your data:
    CREATE TABLE     vm_rpt_prgm
    (     prgm_id     NUMBER
    INSERT INTO     vm_rpt_prgm
    VALUES     (1);
    INSERT INTO     vm_rpt_prgm
    VALUES     (2);
    INSERT INTO     vm_rpt_prgm
    VALUES     (3);
    INSERT INTO     vm_rpt_prgm
    VALUES     (1);
    INSERT INTO     vm_rpt_prgm
    VALUES     (1);
    INSERT INTO     vm_rpt_prgm
    VALUES     (3);
    CREATE TABLE     vm_rpt_prgm_atnd
    (     prgm_id     NUMBER
    ,     attended_ind     CHAR(1)
    INSERT INTO     vm_prt_prgm_atnd
    VALUES     (1, 'Y');
    INSERT INTO     vm_prt_prgm_atnd
    VALUES     (1, 'N');
    INSERT INTO     vm_prt_prgm_atnd
    VALUES     (2, 'Y');
    INSERT INTO     vm_prt_prgm_atnd
    VALUES     (2, 'Y');
    INSERT INTO     vm_prt_prgm_atnd
    VALUES     (2, 'N');
    INSERT INTO     vm_prt_prgm_atnd
    VALUES     (3, 'Y');
    INSERT INTO     vm_prt_prgm_atnd
    VALUES     (3, 'N');
    INSERT INTO     vm_prt_prgm_atnd
    VALUES     (3, 'N');But, I don't know your data. The sample data should be a simplified case of reality that represents (as best as possible) the real data set. For example, in vm_rpt_prgm, can the same prgm_id show up in multiple records? If not, the sample data I provided above is not representative of your data. Similar questions for vm_rpt_prgm_atnd: Can the same prgm_id show up in multiple records? Are the values of attended_ind 'Y' or 'N'? Can there be prgm_id's that exist in this table, but not the other? If not, again, my sample data is not representative of yours, so adjust it as needed and re-post it.
    Here's some quick summary information on my sample data above:
    There are 3 distinct values of prgm_id in vm_rpt_prgm.
    There are 4 distinct values of prgm_id in vm_rpt_prgm_atnd.
    There are 6 rows/records in vm_rpt_prgm.
    There are 9 rows/records in vm_rpt_prgm_atnd.
    The count of all 'Y's in vm_rpt_prgm_atnd is 5.
    The count of all 'Y's in vm_rpt_prgm_atnd for only the prgm_id's in vm_rpt_prgm is 4.
    So, which of these things (or other things) do you want to see in your result set?
    You might say you want to see:
    COUNT_OF_UNIQUE_PRGMS     TOTAL_ATND_YS
    3                    4or...
    PRGM_ID     TOTAL_ATND_YS
    1          1
    2          2
    3          1
    4          1Once you clearly specify what you want, I can probably help you

  • Calling main vi in sub vi

    I have created the project  in Lab view.  Created main  Vi and calling sub vi to perform certain functionality . We have requirement at end of the last sub vi....it should return to main front panel. I have tried calling main vi in  the sub vi to get back to main front panel but it not allowing me to insert main vi as part of sub vi. Could you please help me with solution to get this working
    Regards,
    Sharanu

    There is no need to do anything. When you insert a subVI into a main, execution will automatically return to main when the subVI finishes. If it's not, then is the subVI in some infinite loop and you're stopping with the "Stop sign" on the toolbar? Or, in your main VI, do you have a while loop so that it keeps running? Posting your VI and subVI would go a long way in pinpointing your error. Please do a Save With Options and save into a distribution llb so that all of your code is in one place. Since this is a pretty basic task in LabVIEW, you might want to check into some of the learning resources here.

  • Unable to start from sub process

    The scenario of our application is :
    We have multiple processes,each again having multiple activities inside them.
    There is one main processes and the others are all sub processes.
    The main process looks something like below :
    Start->Sub-process1->Sub-Process2->Sub-Process3->Sub-Process4->Sub-Process5->End
    My requirement is to start the main process from Sub-Process2,rather than the usual way of instantiating the main process.
    I tried configuring Sub-Process2 as an alternative Start (in the Work Flow Builder),but that doesnt seem to be working.
    I am using Java APIs to interact with Oracle Work Flow.
    Any ideas ??
    Amit.

    One possibility is to call WF_ENGINE.CompleteActivity() if you need to start a process with an activity node that is mid-stream in a process thread and not at the beginning of a process thread. The activity node you specify as the beginning of the process must be set to 'Start' in the Node tab of its property page.
    http://download-west.oracle.com/docs/cd/B10501_01/workflow.920/a95265/wfapi42.htm#comact

  • I cannot open itunes store from my iphone 4s. When I press the application icon it seems to be open at first but then automatically return to the main menu. What can be the problem?

    I cannot open itunes store from my iphone 4s. When I press the application icon it seems to be open at first but then automatically return to the main menu. What can be the problem?

    Logout of the app store and iTunes store: Settings>iTunes & App Store>Apple ID. Go back to home screen and  reset the phone by pressing the sleep/wake and home buttons together until the Apple logo appears then release them.
    Once phone has finished rebooting go back to  Settings>iTunes & App Store and login with your Apple ID and password again. Then open the iTunes Store app again.

  • How to transfer a string from sub sequence to main sequence

    Hi,
    How to transfer a string from sub sequence to main sequence, My main sequence has included a sub sequence, the sub sequence is return a string value after running done, I need to get this string value from sub sequence to main sequence, I check the defined that look like seem the two
    sequence have themself local variable,but I don't know how to defined a globe variable to cover main sequence and sub sequence like VC++'s Main App ,Please kindly help me,thanks in advance...

    Hi,
    I hope this small example will help you.
    Regards
    Ray Farmer
    Regards
    Ray Farmer
    Attachments:
    Sequence File1.seq ‏36 KB

  • How to pass the value from Sub report to main report

    I have un report(mainreport) within a subreport(subreport).
    With reporting services, how to pass the value from Sub report to main report?
    thanks

    Hi Alebet,
    With reporting services to pass values from sub report in to main report is not supported directly.
    But there are some workarounds through which you can get this .
    There are two ways to get this.
    1- Put your sub report query into some table. i mean to say through the subreport query get some temporary table.
    2- Using this temporary tables data write some Scala function in the data base.
    3- Now in your main report query return this scala function as a column.
    4- Extract the column value where ever you want in your main report which is getting calculated from the subreport query. so you will be getting the values returned from the subreport in the main report.
    This will definitely work fine as i have done some report in this way.
    Another way of doing is that
    1- prepare another data set with the same query as in sub report in the data tab.
    2- then refer this 2nd dataset in your main report .
    But better way will be the top one.
    Anyway please let me know if you get the solution.
    Thanks
    Mahasweta

  • Material exchane ,copy pricing and conditions from main item to sub item.

    Hi All,
    We are using parts exchange/interchangeability in the transaction ME22N,
    While using ME22N we are exchanging  main item with interchangeable part and while doing so we want to copy pricing and conditions from main item to sub item.
    But its not happening.
    As per sap help its possible, details describe below.
    http://help.sap.com/erp2005_ehp_04/helpdata/en/c2/0a5288b77d11d3bcce00105ab03aee/content.htm
    Price Determination by Copying from Main Item
    In the case of price determination by copying from the main item, the net price of the originally ordered part is still used for the superseding part in a part exchange.
    The system copies all conditions from the main item to all sub-items and takes into account the order quantity for the main item when calculating scale prices. It does not take into account the conditions and scale prices that exist for the interchangeable part.
    You cannot change the conditions, which have been copied from the main item, at sub-item level. It is possible, however, to define additional conditions for each sub-item.
    Prerequisites
    A calculation schema, which can be altered on an individual basis in Customizing, has been supplied for the price determination.
    In the vendor master record, you have set the schema group 09 (interchangeable material).
    But in customizing I didnu2019t find value 09 for schema group .
    Can any buddy through some light on missing pieces which need to be set?
    Thanks
    Regards
    Ritesh

    Hi,
    Can you check few more things and tell me?
    - In this exit, does XVBPA and XVBAP contains all the line items. ( main and sub items ).
    - In Sales order creation time, do these table have VBELN populated when this exit triggers.
    - If you modify XVBPA or XVBAP in this exit, do they get overwritten after that.
    Try this code. See if it works.  Let me know if you still have a problem.
    DATA: wa_hvbpa LIKE vbpa,
          wa_xvbpa like vbpa.
    CLEAR: wa_hvbpa, wa_xvbpa.
    * check if HVBAP and VBAP line items are not same
    IF vbap-posnr <> hvbap-posnr.
    * read the ****-to partner from main-item
      READ TABLE xvbpa INTO wa_hvbpa WITH KEY posnr = hvbap-posnr
                                              parvw = 'WE'.
      IF sy-subrc = 0.
    *   read the line item data for sub-item based on main item
        READ TABLE xvbap WITH KEY posnr = vbap-posnr
                                  uepos = hvbap-posnr.
    * See if current line is the child of that BoM parent
        IF sy-subrc = 0.
          MOVE wa_xvbpa-kunnr TO xvbpa-kunnr.
          MOVE xvbap-vbeln TO wa_xvbpa-vbeln.
          MOVE xvbap-posnr TO wa_xvbpa-posnr.
          MOVE 'WE' TO wa_xvbpa-parvw.
          MODIFY vbpa FROM wa_xvbpa.
        ENDIF.
      ENDIF.
    ENDIF.
    Regards,
    RS

  • Copy down Ship-to Partner from main item to sub-items on Sales Order

    This is my first post on the forums here.  I'd appreciate any help you can give on my issue below.
    I have a requirement to copy down the ship-to partner from the main item to sub-items during sales order create or change.  Currently I have code in include MV45AFZB within user exit USEREXIT_FILL_VBAP_FROM_HVBAP as follows:
    <i>* Need to be able to copy the ship-to of a BoM parent down to the
    respective BoM children if the parent has a different ship-to
    from the header.
    data:  wa_xvbpa like vbpa.
    Clear: wa_xvbpa.
    read table xvbpa into wa_xvbpa with key posnr = hvbap-posnr
                                            parvw = 'WE'.
    A BoM parent line has a different ship-to from the header.
        if sy-subrc = 0.
          read table xvbap with key uepos = hvbap-posnr.
    See if current line is the child of that BoM parent
            If xvbap-uepos = hvbap-posnr.
              move wa_xvbpa-kunnr to xvbpa-kunnr.
              move xvbap-vbeln to wa_xvbpa-vbeln.
              move xvbap-posnr to wa_xvbpa-posnr.
              move 'WE' to wa_xvbpa-parvw.
              modify vbpa from wa_xvbpa.
            endif.
          Endif.</i>
    This isn't working for me.  At one point, I was able to copy the ship-to down to the first sub-item but not any subsequent ones.  I'm sure I need to add some code to another sales order user exit to get this to work, but I'm at a loss at this point.   Has anyone had to do this or something similar before? 
    Thanks very much in advance for your help.
    Angela

    Hi,
    Can you check few more things and tell me?
    - In this exit, does XVBPA and XVBAP contains all the line items. ( main and sub items ).
    - In Sales order creation time, do these table have VBELN populated when this exit triggers.
    - If you modify XVBPA or XVBAP in this exit, do they get overwritten after that.
    Try this code. See if it works.  Let me know if you still have a problem.
    DATA: wa_hvbpa LIKE vbpa,
          wa_xvbpa like vbpa.
    CLEAR: wa_hvbpa, wa_xvbpa.
    * check if HVBAP and VBAP line items are not same
    IF vbap-posnr <> hvbap-posnr.
    * read the ****-to partner from main-item
      READ TABLE xvbpa INTO wa_hvbpa WITH KEY posnr = hvbap-posnr
                                              parvw = 'WE'.
      IF sy-subrc = 0.
    *   read the line item data for sub-item based on main item
        READ TABLE xvbap WITH KEY posnr = vbap-posnr
                                  uepos = hvbap-posnr.
    * See if current line is the child of that BoM parent
        IF sy-subrc = 0.
          MOVE wa_xvbpa-kunnr TO xvbpa-kunnr.
          MOVE xvbap-vbeln TO wa_xvbpa-vbeln.
          MOVE xvbap-posnr TO wa_xvbpa-posnr.
          MOVE 'WE' TO wa_xvbpa-parvw.
          MODIFY vbpa FROM wa_xvbpa.
        ENDIF.
      ENDIF.
    ENDIF.
    Regards,
    RS

  • Passing values from main report to sub-reports

    - How do we pass values from main report to sub-report?

    Look at this link which shows how to pass values from a subreport to a main report.
    http://www.datamanagementgroup.com/resources/trainerstalk/trainerstalk_howto_share_subreport_data_with_main_report.asp
    You can use the same method to pass values from main report to a subreport.
    1) Create a formula @mainFormula in the main report, as given in item 1 of link.
    2) Place this formulla in a suppressed report footer section above the target subreport.
    3) In the subreport, create a formula @subFormula that declares the same variable name, as given in item 3 of link.
    4) Place @subFormula column in the subreport where you want to display it.

  • Duplication of Notes from Sub-Process to Main Process

    Hi all,
    I have sub-process and a main process.
    I create notes in the main process.
    Then put them in the sub-process by re-creating them in the sub-process.
    And then when I come out of the sub-process,I re-create the notes in the main process, so that the sub-process notes are added up with the main process notes.
    The problem is that the main process notes are duplicated.
    The reason being,
    I have already transferred and re-created notes in the sub-process while entering it.
    I also still have notes in my main process.
    When I come out of the sub-process, I transfer and re-create notes in the main process too.
    Now, this adds up to the notes already in the main process and so there is a duplication of notes in the main process.
    So its
    Notes created in Main Process --> Transferred to Sub-process and re-created them for sub-process --> Transferred to Main process and re-created them for merger of the main process notes with the sub-process notes.
    (Notes in Main Process) ---> ( Notes in Main Process + Notes in Sub-Process) --> ( Notes in Main Process + Notes in Sub-Process + Previous Notes in Main Process)
    Previous notes in Main Process = Notes in Main Process
    Therefore the duplication.
    notes ( in built) array has no option to clear it up.
    How do I clean the notes then?
    I need to re-create and transfer them everytime I move from main process to sub-process and back to main process for showing up in the notes section of the workspace?
    Also the creator and the creation time of the notes is not reflected.
    They seem to be constant variables.
    How do I resolve these issues?

    Anybody on this?

  • Returning automatically to the main menu

    Sorry for the RTFM all but no one at my work knows the answer. How do I get a DVD to automatically return to the main menu when it has completed playing a track?

    Thank you, so basically to make connections you must have the outliner and connection wizard opened at the same time? I got it to work thank you.

  • How to pass control from main controller to sub controller?

    Hi Experts,
    I have created one controller named "available.do" by which I am calling a view "available.htm". On that view I am showing one Button which says Check Availability. On clicking of this button it shows another view "list.htm". But it is showing new view and old view on same page.
    Second I want to add one button on second view "list.htm" which should perform some function. I don't know how I can achieve this functionality?
    Someone has suggested me that for this I have to create sub controller...but i don't know much about it as I am new in BSP.
    Kindly tell me and paste code so that I can solve my both problems.
    <<Text removed>>
    Thanks in Anticipation,
    Virendra Kedia
    Edited by: Matt on Oct 15, 2011 7:25 AM

    Hi,
    I guess you might have below coding in DO_INIT method,
    me->view_main = 'main.htm'.   "Where VIEW_MAIN is the attribute in you main controller of type STRING.
    you should have below coding in DO_REQUEST of main controller.
    DATA: main TYPE REF TO if_bsp_page.
      me->dispatch_input( ).
    *Create main view.
      main = create_view( view_name = me->view_main ).
    *Set desgin attribute.
      main->set_attribute( name = 'design' value = application->design ).
    *Call main page views.
      call_view( main ).
    *Activate  Sub -controller.
      controller_set_active( controller_id = 'sub_cntrl' active = lc_active ). 
      l_cntl_inst ?= get_controller( controller_id = lv_cntl_id ).  "DATA: l_cntl_inst TYPE REF TO cl_bsp_controller.
    *Call sub-controller.
      call_controller( l_cntl_inst ).
    Please check with this.
    Thanks,
    Chandra

Maybe you are looking for

  • Problem in JNDI lookup.

    Hi, I have a JSP running on tomcat. And it accesses an EJB running on weblogic thru a local bean. When the following JNDI lookup code is executed, I get errors. Errors follow the code. Please Help. Thanks! public InitialContext getInitialContext() th

  • On Demand Selection

    When I select the On Demand Feature in the Menu screen, my TV screen becomes snowy but I am still able to hear the sound.  While watching TV,  typically during certain comercials, my screen will go snowy at times while I can still hear the sound of t

  • Error when updating 10.3

    I'm trying to update my 10.3 up to 10.3.9 but I get an error that reads: The update "MAC OS X Update Combined" could not be verified and expanded correctly Make sure you have permission to write to /tmp/501/TemporaryItems/com.apple.SoftwareUpdate, He

  • RE: standard workflow template for Rejecting of purchase order

    Hi, Workflow template for 'Rejecting of purchase order' , 65400030 is missing in SAP version 4.6c. Is there any patch to get this feature in 4.6c? Thanks and Regards, Sowmya

  • I installed an update to OSX v.10.7.5..

    I installed an update to OSX v.10.7.5.. The update: OSXUpd10.7.5Supp.dmg..The result: Mial will not open, message: You can not open this this version of mail with this version of OSX..Followed instructions to open out of App folder and got same messa