General popup handling

Hello experts,
I'm looking for recommendations concerning mutliple popup usages in a WD component.
For example when I have to display 3 different popups in just 1 application, what's the best way to realize that?
Should I create 1 window and 1 view for each popup?
Or just 1 window and 1 main view which is then firing the inbound plugs of the other 3 views after evaluating the conditions?
Just wonder what's the bet solution, any ideas?
Best regards, Steffen

Hi Thomas,
very good points, thanks!
IMO the problem with using just 1 window to display many view in a popup is that you need a kind of "master view". In the INIT method of this master view you have to precess the conditional dispatching, means the firing of the plugs, to the other views, which is not very nice and also not very transparent. At least this is how I have solved it.
Another option might be to bind the text view elements of the popup view to context elements. Then, before calling the popup, you'll need to change these context elements accordingly and provide the different actions for the popup buttons.
There are many ways, but what I learned is that the common way is to have 1 window and 1 view for each popup.
Thanks again!
Steffen

Similar Messages

  • How to add sound to the general error handler

    I'm looking for an easy way to create an audible indication (a beep or something) when the general error handler displays an error message.  Anyone have any suggestions??
    Solved!
    Go to Solution.

    Hi Bill,
    I thought this was an interesting idea, so I wrote up the code and posted it on the NI Community here: Simple Error Handler with Beep.  If you have any cool VIs that you'd like to share, you can post them on the community as well to share them with others.  Thanks!
    Stephen Meserve
    National Instruments

  • Using the general error handler on an embedded rt target

    I would like to know how the general error handler can be best employed
    with Labview RT on a Compact Fieldpoint controller.  Clearly no
    dialogue options are valid so how can error information be accessed
    remotely - is there an error log file available on the controller?

    I think there are plenty of ways to handle errors with Labview RT on a Fieldpoint controller.
    Usually I use the general error handler vi to catch the error and get the error message (sure, no dialog), then write the eroor message into a log file (ordinary text file created on the controller), and/or send the eroor message through TCP/IP network to the host. You can use FTP to open, read and tranfer the log file at host. Hope help.
    Xu

  • General error handling operation

    Hi,
    I did not find a comprehensive explanation how error handling works in TestStand, only bits and pieces about the callbacks (perhaps I looked at the wrong places).
    Anyway, I made some experiments with SequenceFilePostStepRuntimeError and StationPostStepRuntimeError - intentionally leaving out ProcessModelPostStepRuntimeError to reduce complexity - and came up with the attached flow chart. I would like to know:
    if that shows the correct operation of TestStand error handling (we are currently using 4.1, about to switch to 2010 or 2012, so it would also be interesting to know if anything changes with the new versions)
    if it is always the case that the combination of ErrorReported=True und Error.Occurred=True after the error handler leads to termination of the execution? I could not find any setting governing that (the "goto cleanup immediately" setting of the sequence was off;
    Best regards
    Peter
    Attachments:
    TestStand_ErrorHandling.png ‏36 KB

    Hi Peter,
    1) Every step has :
    error.code   - to set the error code
    error.occured - boolen if set true displays a popup error message to the user
    error.message - the popup contains this message
    when you set error.occured=true it will bring up a popup message with the error.message and error.code.
    Please note that this may not be acceptable in the manufacturing environment where operators may not be trained to check for errors.
    The general practice in manufacturing is to fail all important steps that errors out so that the final result is failed.Then do a offline analysis.This is done by step.results.status = "Failed".You can also populate step.results.ReportText with proper values so that your test report reflects the type of error/failure.
    2) Regarding the  SequenceFilePostStepRuntimeError and StationPostStepRuntimeError - they are optional error handling methods if you want to act on errors.
    3)Every step has an option ( look for properties-->post actions).On Pass or On fail destinations can be set for each step.Cleanup is always executed except in cases of abort.
    4) In the menu configure-->Station options-->execution there is an option for runtime errors ( one of them is run cleanup).
    Hope the above information helps.

  • General Error Handling - use of FEH (PPO/ECH)

    We are investigating the usage of Forward Error Handling, known with SAP as PPO (Post Processing) and ECH (Error Capture Handler) to be able to re-process errors (automatically or manually) from incoming messages.
    I am interested in talking with anyone who has implemented this. General questions are:
    - how have you found it to work in real life?
    - configuration/set-up straight-forward?
    - what scenarios have used it in?
    - incorporated into your custom services?
    But am interested in any comments.
    I am posting this within the PI forum as it ties into the fact we async scenarios inbound to SAP, typically from our PI system, and when those scenarios encounter an error we are looking for a way to have a business/end user - friendly interface for reprocessing the error. Implementing a proxy scenario, and thus having the errors show within sxmb_moni/sxi_monitor, is probably not going to work for us - too technical.  I am also aware of an add-on, AIF I believe, but our company is not interested in installing that.
    There are 4 blogs out there that I am aware of - 2 from Tobias and 2 from Michal. Very informative.  I am finding some config not as ours though.  Am really interested in anyone has really implemented and used this in a prod environment.
    Regards,
    Keith

    I think I am exactly at the same position as you in figuring out the usage of FEH in an environment. I just completed a small document (for internal purpose) that I prepared gathering all the information from those blogs, SCN and TechEd. Here are my 2 cents:
    >>- how have you found it to work in real life?
    We haven't implemented it yet. But we believe it will be quite useful in handling business specific errors. We are trying to find out if it can be merged with the existing BPEM infrastructure to generate BPEM cases.
    >>- configuration/set-up straight-forward?
    Yes, the blogs should be quite useful to provide this information.
    >>- what scenarios have used it in?
    Most importantly it will be used for standard service implementation where we consume enterprise services from ES workplace. These services have FEH capability built in (they have FEH method implemented within). The scenarios are of course inbound abap proxy.
    >>- incorporated into your custom services?
    We are still in design phase. But if you ask me about it, i would say yes you can and I think you should use it for custom ones as well.
    Kind regards,
    Prateek Raj Srivastava

  • General Fault Handler -  ESB implementing OWSM

    good day
    When I activated my OWSMAgent within ESB, I launched a null pointer Exception when running a fault, since I have reviewed the documentation WSM_DeploymentGuide and commented that it is not possible to add an error handler general, reviewing the logs I found the following error:
    XML-22045: (Error) Extension function error: Class not found '
    Missing class: com.cablemas.extensionfunctioncablemas.ExtensionFunctionCablemas
    Dependent class: oracle.xml.xpath.XSLExtFunctions
    Loader: oracle.xml: 10.1.0_2
    Code-Source: / F: / product/10.1.3.1/OracleAS_1/lib/xmlparserv2.jar
    Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in F: \ product \ 10.1.3.1 \ OracleAS_1 \ j2ee \ home \ oc4j.jar
    This load was initiated at oc4j: 10.1.3 using the loadClass () method.
    The missing class is available from the following locations:
    1. Code-Source: / F: / product/10.1.3.1/OracleAS_1/j2ee/oc4j_soa/applib/ExtensionFunctionCablemas.jar (from <code-source> in / F: / product/10.1.3.1/OracleAS_1/j2ee/oc4j_soa/config / server.xml)
    This source code is available in loader global.libraries: 1.0. This shared-library can be made visible to the "oc4j" by modifying the boot loader descriptor.
    Class ExtensionFunctionCablemas use it to take the code of the error, locate it within a table in the DB and return the corresponding message, the null pointer exception only if it throws error. OWSM reviewing the request is recorded correctly, and the answer recorded as a fault but I'm not returning the message corresponding to error code.

    Dear Pallavi,
    Very useful post!
    I am looking for similar accelerators for
    Software Inventory Accelerator
    Hardware Inventory Accelerator
    Interfaces Inventory
    Customization Assessment Accelerator
    Sizing Tool
    Which helps us to come up with the relevant Bill of Matetials for every area mentioned above, and the ones which I dont know...
    Request help on such accelerators... Any clues?
    Any reply, help is highly appreciated.
    Regards
    Manish Madhav

  • Popup handling in crm web ui

    Hi Experts ,
    I came up here with new doubt , my requirement is , I need to create a popup in web ui , there it contains a attribute mail,
    there IC agent enter the mail id and click on continue , then a mail to be send to that mail id . and it need to be closed after clicking continue button. for this I create separate window with one view name as email ,when user clicks on continue , a pop up is opened using view_mangaer->create_popuup. there agent enter  mail id and clicks on continue to get this value I used the method get_fired_outbound_plug() . then I call the my view here , but when I came to this view data is cleared , what I need to do to show the previous  data .
    Thanks & Regards
    Siva Krishna

    Hi Shiva,
    If i understand it clearly you have a popup where the user enters the mail ID and clicks on Continue.
    Then you would be sending the mail to the mail ID entered in the POPUP.
    So now if the user opens the POP UP again you want to show the Mail ID entered previously.
    Solution : Since it the Value node it would be refreshed
    So please use a STATIC variable and store the value and use this value in GET_METHOD of the Attribute.
    Reward if Helpfull!!
    Regards,
    Ratna Rajesh

  • General Event Handling (Outside AWT)

    Hi all, I am looking for info on allowing my classes to send and recieve events between classes (the set of events is to be defined by me). What is Java's event handling approach? Is there something outside the AWT?
    I realise there may be design patterns for this scenario but though there may be some Java specific way as well (like in the AWT).
    Thanks,
    David

    listeners.
    like this...
    FooEvent <- your event class
    FooEventListener <- listener interface
    FooMaker <- class that generates foo events
    An interface for the listener.
    public interface FooEventListener{
      public void processEvent(FooEvent evt);
    }the class making the events
    public FooMaker{
      // among other things might have methods like...
      public void addFooEventListener(FooEventListener fel){
        // add the listener to some collection
      // called when events happen
      private void notifyListeners(){
         // notify each listener
    }and your listeners will implement the interface.
    does that help?

  • General Exception Handling

    Hello. In my applications I usually have a try catch(Throwable) block surrounding all the top code (the code in main()) to log and report errors and exceptions that is not caught anywhere else, and to have my application exit in a controlled way. But I recently noticed that exceptions thrown in event handling (i.e. java.awt.EventDispatchThread.run) are not caught by the try catch block in main().
    Are there any easy way to catch everything so my app can exit in a controlled way?
    If this is not possible which exceptions are not propagated to main()? I would guess that it's exceptions thrown in other threads, is this correct? If so, do I have to surround all event handling by try catch(Throwable) to be safe?
    I would like more information and guidelines about exception handling. Any book recommendations?
    Help appreciated, thanks!

    You should never let exceptions propagate outside your event handling methods.
    If you don't follow that rule, the java.awt.EventDispatchThread.run() method terminates and the Java Virtual Machine tries to print the stack trace to the terminal window (if there is one) and then exits, but not through your main() method.
    So, try /catch all Exceptions inside your event handler methods:
    // inside event handler method
    try {
        // handle event here
       } catch (Throwable t) {
         // handle errors and recover from errors here
         // and either log error or if important display message to the user.
       }There is no easy-lazy way to do exception handling by only having the try/catch block in main in this case.
    Note : If any of the listeners throws an exception none of the following listeners is called. Since there is no guarantee of the order in which listeners are called you cannot be sure which ones are called first.

  • General Error handling

    I've managed to get myself confused with error handling in Forms 6i.
    If I have a trigger that does a 'commit-form' like this
    commit_form;
    IF NOT form_success THEN
    RAISE form_trigger_failure;
    END IF;
    EXCEPTION
    WHEN OTHERS THEN;
    END;
    and the commit_form fails due to a mandatory field being missing (or similar) then what happens first?
    Does my ON-ERROR trigger fire?
    Does the form_success check fail and raise form_trigger failure?
    Does my exception block get used?
    Or does more than 1 happen??
    I could - of course - find the answer to this through debug but I'm looking for a more generic answer if possible.
    Thanks - Sean.

    What happens first?  The forms validation process runs and informs user that the field is required.
    Does On-Error fire?  Yes, if you have one in your form.
    Does the form_success check fail and raise form_trigger failure?  Yes -- but ONLY if your On-error raises Form_trigger_failure.  If it does not, you have lots of problems.
    Does my exception block get used?  Yes.  Raising Form_trigger_failure causes control to pass to the exception handler.  But I never use an exception handler except when I code SQL commands.
    Now...  After commit_form, you should also check Form_Status.  Read the help topic on the Form_Success built-in.
    My standard C00_Commit program unit does this:
      COMMIT_FORM;
      IF :SYSTEM.FORM_STATUS <> 'QUERY'
      OR NOT FORM_SUCCESS THEN
        RAISE FORM_TRIGGER_FAILURE;
      END IF;
    END;

  • How to implement general error handler in labview projects

    Thanks,

    Hello,
    You may also find these links useful:
    Custom Error Handling In LabVIEW
    http://zone.ni.com/devzone/conceptd.nsf/webmain/de​4f036f22c4b9f286256fee0010b6fd
    LabVIEW Introduction Course - Six Hours (has a section on error handling)
    http://zone.ni.com/devzone/learningcenter.nsf/03f7​c60f17aad210862567a90054a26c/55974411828f779086256​...
    Hope this helps!
    Charlie S.
    Visit ni.com/gettingstarted for step-by-step help in setting up your system

  • General Popup Question

    I am using Macromedia MX and would like to add popup menus to
    my site developed with Dreamweaver, but have read many articles on
    why I should not use the popup menus from Fireworks. I really like
    using the Fireworks program, but am wondering what would be the
    best program to generate these popup menus - Dreamweaver,
    Fireworks, Flash, or something else? Any suggestions?

    Use Dreamweaver and these links -
    Check the uberlink and MacFly tutorials at PVII
    http://www.projectseven.com/)
    and the Navbar tutorial/articles at Thierry's place
    http://tjkdesign.com/articles/dropdown/)
    Or this one (more recent article):
    http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp)
    Or to get it done fast, go here -
    http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "P-C-Surgeonz" <[email protected]> wrote in
    message
    news:emh94c$n3s$[email protected]..
    >I am using Macromedia MX and would like to add popup
    menus to my site
    >developed
    > with Dreamweaver, but have read many articles on why I
    should not use the
    > popup
    > menus from Fireworks. I really like using the Fireworks
    program, but am
    > wondering what would be the best program to generate
    these popup menus -
    > Dreamweaver, Fireworks, Flash, or something else? Any
    suggestions?
    >

  • General Labview Error Handler question discussion

    Recently two functions were brought to my attention, the General Error Handler and the Simple Error handler. 
    And I cannot wrap my hand around these two features.  While I have been using Labview I have always used the Labview error cluster.  When would you use these two features?  As I feel the cluster error is much help. 
    Maybe it is my defnition that I have confused: 
    The general error handler will display a dialogue box describing the error that will be passed and shuts down the code? 
    The simple error handler notifys the operator that an error has occured but it can be customized for adding functionality, it takes the error cluster input and determines if an error was generated.  "If an error has been generated, the VI displays a dialog box with the error code, a brief description of the error, and the location of the error."   How is this not the same as an error cluster?  
    If anyone has any simple code examples for this or knowledge I greatly appriciate it. 
    Caleb

    Jacobson wrote:
    Psireaper9 wrote:
    The simple error handler notifys the operator that an error has occured but it can be customized for adding functionality, it takes the error cluster input and determines if an error was generated.  "If an error has been generated, the VI displays a dialog box with the error code, a brief description of the error, and the location of the error."   How is this not the same as an error cluster?  
    You are correct that they give the same information.  The difference is that if you want to use an error cluster you will need an indicator on your front panel.  If you use the simple error handler you won't have to have an error cluster on your front panel but the user will be notified if an error does occur.
    Think about all the programs you normally use (excel, chrome, etc.).  As a user you expect that errors aren't happening, and if errors do occur then the application will usually just close out and you get an error dialog about the error.
    I use the simple error handler with no user interaction to extract the error text.  Is there an easier way of doing that?

  • Displaying errors when Enable automatic error handling option is on

    In order to display error messages do I need general or simple error handler to implement if I have Enable automatic error handling on?
    Solved!
    Go to Solution.

    Both will (optionally) display a popup when an error occurs. The general error handler just has more options for special cases. The simple error handler is typically sufficient.
    If you havce automatic error handing enabled, you'll get a popup whenever a function generates an error AND the error output is not wired. Once you wire an error handler, the automatic error handling will no longer occur.
    To display an error, you can also just place a plain error indicator on the front panel. This avoids annoying popup messages.
    LabVIEW Champion . Do more with less code and in less time .

  • How to suppress error 200279 popup?

    Hi All,
    I have created a DLL using the LabVIEW to measure the voltage from a multifunction DAQ (PXI 6259). I am using this DLL in my LabWindows code for voltage measurement. I am getting 200279 error popup when the DAQ card is not able to sense the voltage. I have tried playing with the sample rate but I still get this error 1 out of 10 times. I had refered to the discussions and Knowledge base for this error. I was not able to find how to suppress this popup (if it occurs), as I would like to continue with my other tests with out the user pressing the Continue button on the popup.
    Please find in the attachments the error popup and the LabVIEW code for measuring the voltage. Any kind of pointers and suggestions would be helpful.
    Thanks for your response in advance.
    Pradeep
    Attachments:
    Logic.JPG ‏55 KB
    errormsg.JPG ‏29 KB

    The error popup comes from the general error handler on the right hand side of you code, set the enum constant to 'No popup'.
    I would set the numbers to read to -1 (all available) this means the buffer is cleared every loop run.
    If it goes to fast you can add a timeout to the while loop.
    I am interested in the settings about sampling mode and sample clock.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

Maybe you are looking for

  • Podcasts stop before replay is done

    've got a 5th generation iPod. Recently, several podcasts have hung up with 44 seconds left to play. The iPod behaves as if it has finished playing back the recording, returning to the menu or cycling to the next podcast, depending on what it is bein

  • Burn failed (unknow error 261)

    I tried to make a copy of a playlist on cd-rw. I got this message 'burn failed. unknown error 261'. Can anyone help me fix this problem?

  • PO# field in FAGLL03

    PO and Vendor field can be populated on FAGLL03 through the OBVU transaction(special fields). This is for all documents created post the customization change Does anyone know how can the historic PO fields be updated on FAGLL03?

  • Opening one of my pages in a new window.

    Hi there, i'm trying to create link that opens a larger version of an image in a new window. So far i've created a hyperlink from the original (small) image to a larger version of the same image on a new page but it doesn't look like i can get that n

  • Rights authentification Failed

    We have Zen 11 and working with remote control of desktops. We have not a had a problem until on previously controlled desktops, when we try to remote in we get the following message: "Rights Authentication failed, The managed device was unable to co