EVENT PROGRAMING

Hi This is a u201Cgoods received noteu201D Program . In this actualy We no need to keep button , because we are going to run this Application in dos mode through telenet via shell in mobile device. Now we configured everything but in dos mode buttons will not work. So they need f1 or f2 key press event for executing the same , is it possible to do so please let me know. I tried with in my PAI MODULE THE FOLLOWING LINES
Case sy-ucomm .
When space .
When others .
Endcase .
When we need to execute only one task the above line is comfortable . But in my case i have to execute 3 diffrent task with the help of 3 different key press event . Is it possible pls help me .
FROM ARUN

So if you are creating a program to be ran on a RF device, you should copy the gui status LMOB_GROUP8 from program RLMENU into your program.  The gui status is designed to handle F1, F2, F3, and F4 keys on a RF device.
Then in your PAI, you can do a case statement like this.
Case sy-ucomm.
    when  'SAVE' or 'F1'.
    when 'CLR' or 'F2'.
    when 'BACK' or 'F3'.
    when 'NEXT' of 'F4'.
endcase.
Regards
Rich Heilman

Similar Messages

  • I am making a Conference/Event program book.  Are there mac programs or apps that could help me design this?

    I am making a Conference/Event program book.  Are there mac programs or apps that could help me design this?

        I can see that this issue has been quite extensive, and frustrating, and I am so sorry for all that has happened societygirl! I would like to help you work this issue out. Please follow & send me a Direct Message, so I can get your account specifics and help finally bring this to a resolution.
    Thank you,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • TCA Business Object Events: Raise Events Program

    Hi,
    We are integrating two ebiz instances using SOA and both the instances currently are on 11.5.10. We have back ported patches from ebiz 12i into these instances to use TCA Business Objects functionality(Business Object API's and events). I have a few questions realted to the concurrent program "TCA Business Object Events: Raise Events Program":
    1) Do I need to schedule this concurrent program to raise business object events?
    2) Is there an alternate way to raise these business object events(any profiles)?
    Appreciate if someone can answer these questions.
    Thanks,
    Sak

    Hi,
    We use AIA and TCA Business Object Events program to integrate from one Ebiz instance to another.
    To achieve what you want I would not do anything in SOA.
    In out integration TCA ends up putting messages into WF_BPEL_Q.
    I would use the following process: (Assuming offline time is a possibility)
    1. Retire the parts of AIA that dequeue from WF_BPEL_Q. (depending on how messages are picked up.)
    2. Create a PLSQL script that dequeues all messages from WF_BPEL_Q but dosn't process them. Using relevant select statements you can dequeue by message ID and select only relevant messages
    3. Run whatever process you need that puts fires the Raise Events Program
    4. Run the script to dequeue the messages that does nothing with them.
    5. Re-activate the parts of AIA that dequeue from WF_BPEL_Q
    This should give you the desired effect. Just be careful you don't screen out messages that do need to be transfered.
    Robert

  • Problem in Events (Program)

    Hi,
    Pls look at the code below.
    I have created a pushbutton and written a triggering event for that.
    but then in output if i press the button the event is not triggered and
    so i dont get output at all.
    REPORT zexample.
    *button to be clicked after which the event should get triggered
    SELECTION-SCREEN: PUSHBUTTON /10(20) button USER-COMMAND 'BUT1'.
    INITIALIZATION.
      button = 'LISTS'.
          CLASS cl_names DEFINITION
    CLASS cl_names DEFINITION.    " declare the events in this method
      PUBLIC SECTION.
        CLASS-EVENTS: get_event EXPORTING value(fcode) TYPE sy-ucomm.
        CLASS-METHODS: user_action.
    ENDCLASS.                    "cl_names DEFINITION
          CLASS fcode_handler_class DEFINITION
    CLASS fcode_handler_class DEFINITION.  " definition for handler events
      PUBLIC SECTION.
        METHODS: fcode_handler FOR EVENT get_event
         OF cl_names IMPORTING fcode.
    ENDCLASS.                    "fcode_handler_class DEFINITION
          CLASS cl_names IMPLEMENTATION
    CLASS cl_names IMPLEMENTATION. "Raise the event
      METHOD user_action.
        RAISE EVENT get_event EXPORTING fcode = sy-ucomm.
      ENDMETHOD.                    "USER_ACTION
    ENDCLASS.                    "cl_names IMPLEMENTATION
          CLASS fcode_handler_class IMPLEMENTATION
    CLASS fcode_handler_class IMPLEMENTATION.  "implement the handler event
      METHOD fcode_handler.
        CASE fcode.
          WHEN 'BUT1'.
            WRITE: 'Hello Program !!'.
        ENDCASE.
      ENDMETHOD.                    "fcode_handler
    ENDCLASS.                    "fcode_handler_class IMPLEMENTATION
    AT USER-COMMAND.
      CALL METHOD: cl_names=>user_action.
    pls give me a solution.
    Deepak

    Just copy paste:
    REPORT zexample.
    *button to be clicked after which the event should get triggered
    *SELECTION-SCREEN: PUSHBUTTON /10(20) button USER-COMMAND BUT1.
    INITIALIZATION.
    *button = 'LISTS'.
    CLASS cl_names DEFINITION
    CLASS cl_names DEFINITION. " declare the events in this method
    PUBLIC SECTION.
    class-EVENTS: get_event EXPORTING value(fcode) TYPE sy-ucomm.
    CLASS-METHODS: user_action.
    ENDCLASS. "cl_names DEFINITION
    CLASS fcode_handler_class DEFINITION
    CLASS fcode_handler_class DEFINITION. " definition for handler events
    PUBLIC SECTION.
    METHODS: fcode_handler FOR EVENT get_event
    OF cl_names IMPORTING fcode.
    ENDCLASS. "fcode_handler_class DEFINITION
    CLASS cl_names IMPLEMENTATION
    CLASS cl_names IMPLEMENTATION. "Raise the event
    METHOD user_action.
    RAISE EVENT get_event EXPORTING fcode = sy-ucomm.
    ENDMETHOD. "USER_ACTION
    ENDCLASS. "cl_names IMPLEMENTATION
    CLASS fcode_handler_class IMPLEMENTATION
    CLASS fcode_handler_class IMPLEMENTATION. "implement the handler event
    METHOD fcode_handler.
    *CASE fcode.
    *WHEN 'BUT1'.
    WRITE: 'Hello Program !!'.
    *ENDCASE.
    ENDMETHOD. "fcode_handler
    ENDCLASS. "fcode_handler_class IMPLEMENTATION
    DATA: h1 TYPE REF TO fcode_handler_class.
    start-of-selection.
    *at selection-screen.
      CREATE OBJECT  h1.
      SET HANDLER h1->fcode_handler." FOR ALL INSTANCES.
    CALL METHOD: cl_names=>user_action.
    This works for me.
    Regards,
    Ravi

  • OO class and events program

    Hi All,
    I am not an experienced ABAP OO programmer. Here is the requirement.
    I need to develop an ABAP OO program which has to send an SMTP mail for all exceptions. The exceptions need to be handled using event handling functionality inside try catch statements. There are plenty of exceptions which need to be handled using events. I have written a sample template for this purpose. Please help me out to develop this in a better way.
    Pasting the code below.
    CLASS CL_NETAPP_EXCEPTION definition INHERITING FROM CX_AI_APPLICATION_FAULT.
    PUBLIC SECTION.
    CLASS-DATA: MESSAGE_TEXT TYPE STRING,
                MESSAGE_ID TYPE STRING.
    EVENTS smtpnotification.
    EVENTS ALERTNOTIFICATION.
    ENDCLASS.
    START-OF-SELECTION.
    when data is not found, raise exception.
    select producttype from product where prodtype = 'xxxx'.
    if sy-subrc ne 0.
    CL_NETAPP_EXCEPTION=>MESSAGE_TEXT = 'DATA NOT FOUND'.
    CL_NETAPP_EXCEPTION=>MESSAGE_ID   = 'i001'.
    endif.
    *these are some of the other exceptions.
    *CL_NETAPP_EXCEPTION=>MESSAGE_TEXT = 'CRM connection failure'.
    *CL_NETAPP_EXCEPTION=>MESSAGE_ID   = 'i002'.
    *CL_NETAPP_EXCEPTION=>MESSAGE_TEXT = 'INPUT FORMAT INCORRECT'.
    *CL_NETAPP_EXCEPTION=>MESSAGE_ID   = 'i003'.
    CLASS CL_NETAPP_EXCEPTION IMPLEMENTATION.
    *call function 'xxxxx' for inserting or updating data.
    ENDCLASS.
    CLASS CL_NETAPP_EVENTHANDLER DEFINITION.
    PUBLIC SECTION.
    METHODS: SMTPNOTIFICATION,
             ALERTHANDLERNOTIFICATION.
    EVENTS:  SMTPNOTIFICATIONEVE.
    EVENTS:  ALERTHANDLERNOTIFICATIONEVE.
    ENDCLASS.
    CLASS CL_NETAPP_EVENTHANDLER IMPLEMENTATION.
    METHOD SMTPNOTIFICATION.
    TRY.
    IF CL_NETAPP_EXCEPTION=>MESSAGE_ID ne space.
    *send mail notification when there is an exception.
    CALL FUNCTION 'SMTP_DISPATCH_REQUEST'.
    ENDIF.
    RAISE EVENT SMTPNOTIFICATIONEVE.
    ENDTRY.
    ENDMETHOD.
    ENDCLASS.
    Thanks
    Deno

    Hello Deno
    I am very confused about your coding and your actual requirement. I assume that your report has to verify data records. If verification fails the report should send in most (all?) cases a SMTP mail.
    If this scenario is close to your requirements then a possible solution could look like this:
    * Assumption: you have an itab containing the data to be verified
      LOOP at gt_itab INTO gs_record.
    * You have created a class (e.g. ZCL_MYCLASS) that does all the verifications for a single record.
    * In addition, you have created an exception class (e.g. ZCX_MYCLASS) that has all exceptions defined.
    * All methods of ZCL_MYCLASS including the constructor method use the exception class in their interfaces.
      TRY.
        CLEAR: go_error.  " error object of type zcx_myclass
        CREATE OBJECT go_myclass
          EXPORTING
            is_data = gs_record.
        go_myclass->verify_data( ). " method contains all other verification methods
      CATCH zcx_myclass INTO go_error.
    *   Send SMTP mail: go_error->get_text( ) contains error message   
      ENDTRY.
      ENDLOOP.
    Regards
      Uwe

  • Event programming (continuous run)

    I'm developing an application that runs continuously, and has three buttons, corresponding to three different actions. I have used an event structure, and defined different cases, to be executed when the button values change. The problem is that while is waiting for an event, I need the application to keep on running, not to be waiting. Hay can I solve this problem?

    Without knowing your exact application I can think of two simple ways that might work. First, you can put the event structure in a parallel loop with the rest of the structure. This will do exactly what you are asking for. However, now you have to be careful in your programming in terms of how you transfer the new values from one loop to another.
    A second method that could be useful is to have an event structure with a short timeout. This will limit the amount of time that is spent waiting on the event structure during each iteration of your program. This method is easier in terms of data transfer but loses some of the advantages of the event structure. In most cases I would prefer the first option.

  • Everytime I open ICal a box comes up with "Adding New Events" - Program freezes

    Everytime I open ICal a box comes up with "Adding New Events" and I can't get rid of it without force quitting out of the program.  Any suggestions???

    I am having the same problem with no luck trying to find any help.  Please help us find a solution for this.

  • Unknown event - programs in daemon mode cant access resources.

    Hi Guys. First of all Im not keen on os stuff, thus not sure what I should look for to solve my problem, Thats why Im posting before getting deeper into forums.
    Here is my problem. Im working on academic network - Solaris 7-10. Where parts of configuration is made by students (Im still one). Problem is that recently someone created hardening scripts (this is my first point of createing this failure). Im not sure what was modified but:
    WHen I run programs in terminal eveything is fine - program can run as root or other special user (like mysql). Problem arrises when it is run in daemon mode.
    Snort doesnt read anything from interfaces - or doesnt dump anything to mysql, ntop cant generate gui, tcptrack doesnt write anything to log files.
    Furthermore IPSec doesnt forbids sending packets - configuration is read it is validated, but when I start IPSec no packet is sent to second host which is defined as destination in SA.
    Has anyone had such experience?
    Or does someone know what should I look for in configuration?
    (I have this problem on solaris 9 and 10, however no native program - that was in distribution has this problem while running)

    It appears that your files from the other Mac were transfered as an intact User Account. You can try following the instructions below to see if you can remove the User Account, but save the files and access them. These instructions are from Mac Help in the Help menu of the Finder.
    Deleting a user account
    If you are an administrator for your computer, you can delete user accounts on your computer that are no longer needed.
    When you delete a user account, you can choose to save the user's files or delete them.
    IMPORTANT: If the user's account is encrypted (FileVault is turned on), turn FileVault off for the user before you delete the account.
    1. Choose Apple menu > System Preferences and click Accounts.
    2. If some settings are dimmed, click the lock icon and type an administrator name and password.
    3. Select the user account you want to delete, then click Delete .
    4. Click OK to save the user's files on the computer, or click Delete Immediately to remove the user account and all the user's files.
    If you saved the user's files, they are stored in a disk image in the Deleted Users folder, which is in the Users folder on your Mac OS X disk. To see the saved files, double-click the disk image in the Deleted Users folder. You can drag the disk image to the Trash to delete the files.

  • Generate an event programically

    Greetings everyone!
    I am trying to create a 'splash' screen that is displayed during httpconnection calls so that the user is informed of the status of the connection (ie connecting, posting, receiving etc). I created a form that implements the runnable method so that i can call httpconnection on a seperate thread. Once the run method is called i clear up all elements in the form, display a message and proceed with the http business.
    The only problem is that the only way i found that i can move on to either a) the next form (if the data return is OK) or b) to the same form that made the call (if there is some error) is by inserting a command in the form after the connection is finalized, thus allowing the user to click his way out of the info screen.
    I was wondering if there is some way for an event to be generated automatically once the connection is finalized, which could be treated by the commandlistener, thus allowing me to avoid any further user interaction.
    thanks in advance!
    best,
    marcos

    thanks for the help guys, i apologize if i did no make myself clear, but i think i can try out the call back method you guys suggested.
    my problem was the following, i would:
    1) generate an event that would call my connection thread
    2) the main thread would then finish
    3) the connection thread would get started
    4) the form would be cleared up and a new message (ie connecting etc) would be appended
    5) the connection thread would finish
    i guess what i forgot to explain is that at this point i was hoping i could 'generate' an event so that i could call back my CommandHandler class (which implements commandlistener). i could probably change the code around in all my forms so that the result from the connection gets treated in the same thread that calls the connection. but by what i understood i could call commandlistener(command c, displayable d) directly, which would result in an event being generated and thus i could stick to my current logic whereby all events get treated in the main thread.
    so the next step would be
    6) i save the result of my connection
    7) i call back my commandhandler
    8) i treat the result of the connection and move on to the next Form by calling display.setDisplay...
    is that correct or did i misinterpret your answer?
    thanks again for the all the help guys, much appreciated!

  • Excel 2013 BeforeRightClick Event fails on Windows 8.1 Tablet (it's an Excel 2013 tablet touch screen interface bug)

    I have developed customized table context menus in an Excel 2013 workbook on my Laptop. They work just fine on my laptop and my work desktop. But when I try to run them on my tablet PC the Worksheet_BeforeRightClick event in Excel 2013 never fires. Other
    worksheet events appear to work okay. I have fully reinstalled Office 2013 Pro and that does not make any difference.
    I have read other comments regarding this same problem going back to 2013, but have never seen Microsoft respond to this issue. Nor have I been able to find a resolution. Has anyone else run into this and found a solution?
    Additional Discoveries: Testing on my tablet shows that adding one custom CommandBarButton to either the top or the bottom of the default "List Range Popup" context menu causes the Worksheet_BeforeRightClick event to fail.  The basic context
    menu commands still show up, but the default dropdown button for additional context menu commands disappears. The event is perhaps firing, but any customized code for the context menu is not being handled properly by Excel. This does appear to be a bug and
    not a question of coding error. Perhaps someone else with a tablet PC running WIndows 8.1 could test this.
    Based on comments
    here this bug was introduced in Excel 2013 because others find the problem does not exist when using Excel 2010 on a tablet PC. Note that all the commenters on the linked thread that are experiencing this problem are using tablet PCs.
    Update 3-13-15: I stand corrected. The Worksheet_BeforeRightClick does work on Excel 2013 Windows 8.1 tablets. I happen to own an Asus VivoTab Note 8, which comes with a Wacom stylus. If I use the Wacom sylus to right click on an Excel 2013 worksheet cell,
    the Worksheet_BeforeRightClick event fires and modified context menu code runs just fine. But the code will not run if one uses their finger to right click a worksheet cell. This explains why this problem only shows up on tablet PCs. So the "bug"
    introduced in Excel 2013 is a general user touch screen interface bug and not an Excel events programming bug.
    Update 3-21-15: Switched to a  Toshiba Protege laptop with touch screen. Same issue with finger touch screen interface on the Toshiba touch screen as with the Asus VivoTab touch screen.
    Laptop: Toshiba Protege (with touch screen), Windows 8.1 64bit and MSOffice 2013 Pro 32bit
    Tablet: Asus VivoTab Note 8, Windows 8.1 32bit and MSOffice 2013 Pro 32 bit
    Desktop: Generic, Windows 7 64bit and MSOffice 2013 Pro 64bit
    phillfri

    Hello Phil,
    Command bars were deprecated and shouldn't be used any longer. Instead, you need to use the Fluent UI (aka Ribbon UI) instead. You can read more about the new UI in the following series of articles in MSDN:
    Customizing Context Menus in Office 2010
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3)
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3)
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 3 of 3)
    As a workaround you can add a custom control to the context
    menu with the getEnabled or getVisible callback which will be invoked before the context menu is shown.

  • Process Flow of Events in ABAP Report

    Hi every one,
                          Could some body explain about each and every event how and when it trigerrs.
    I am always confusing with these events.
    Plz tell me abt all the Driver events, User Events, Program events how they are Trigerred .
    Explain me with complete details.
    And more over what is the first event trigerred if i have all the events in my report program.
    If you have Good Links plz do send me .
    Thanks & Regards,
    Sudheer.

    Hi,
    Chk this info.
    CLASSICAL REPORT EVENTS :
    INITIALIZATION : TO INITIALISE THE SELECTION SCREEN ELEMENTS
    START- OF-SELECTION: NORMALLY WE WRITE THE REPORT LOGIC HERE
    AT SELECTION-SCREEN : SELECTION SCREEN VALIDATIONS
    WHETHER U ENTERED IS CORRECT OR NOT AT SELECTION SCREEN LEVEL
    AT SELECTION-SCREEN ON FIELD : TO PROVIDE INPUT HELP[S FOR THE FILDS AT SELECTION SCREEN
    FOR EX : MATNR IF U PREESS F4 AT SELECTION SCREEN.
    TOP-OF-PAGE : TO PROVIDE LIST HEADING ( OUTPUT HEADINGS)
    END-OF-PAGE : TO PROVIDE FOOTER I.E., PAGE NUMBERS
    END-OF-SELECTION : TO FREE THE MEMORY , NO NEED OF USING THIS SPECIALLY
    INTERACTIVE EVENTS :
    AT LINE-SELECTION : IT IS USED TO HENDLE SECONDARY LISTS
    AT USER-COMMAND : TO PROVIDE OUR OWN GUI ( PUSH BUTTONS ETC) AT OUTPUT
    AT PF-STATUS : TO PROVIDE FUNCTIONS FOR OUR OWN PROVIDED GUI BUTTONS AT OUTPUT
    LOAD-OF-PROGRAM.
    Triggers the associated event in an internal session after loading a program of type 1, M, F, or S. Also runs the associated processing block once and once only for each program and internal session.
    INITIALIZATION.
    the associated event is executed before the selection screen is displayed.
    START-OF-SELECTION.
    In an executable program, the corresponding event is processed after the selection screen has been displayed and before data is read using a logical database
    GET
    Triggers the associated events when data is read in an executable (type 1) program using a logical database.
    END-OF-SELECTION.
    The END-OF-SELECTION event is triggered in type 1 programs once the logical database has finished reading all data and before the list processor is started.
    END of page and top page
    while displaying the list as the name suggest fired at the top and end of page
    SM62 is the Transaction code for creating Events.
    Here you can see
    System event names
    User event names
    System event names are standard events .
    User event names are customized event name, here click "Maintain" and double click it. it takes to another screen . From here you can create your customized Events.
    Regards
    Sandeep REddy

  • Image Analysis Threshold won't work in program program freezes

    I am a new user to labview and I probably have an error in my code but the only problem is that there are no error messages I get from my code and it runs up to a point at which the program freezes and I can't click any buttons on the Front Panel. Basically everything works up to when I want to choose the Threshold of my image at this stage it creates an image of the values in the threshold buttons but I can't adjust the values anymore to find out the best values.
    I should say that I have tried my Threshold code on its own and it seems to work fine so I am really confused as to what is getting muddled up!
    Any help on what might be wrong would be helpful. I have added the VI and an image that I am analyzing.
    The process currently goes as follows, you load the image, then choose a colour plane (usually green) that gets extracted. Then you draw a line on the border of the object and it rotates the image to make it straight and then you choose a ROI and it cuts the main object out. Finally at the point when you should be choosing a Threshold it hangs.
    Thanks for any help!
    Solved!
    Go to Solution.
    Attachments:
    Image adjustment version 4a.vi ‏143 KB
    Sample 2.jpg ‏2359 KB

    Hi,
    The root of your problem is in how you have used multiple event structures. Typically, a program should just have one event structure, which handles all events during the program. The vision functions were all working correctly!
    From looking at what you are trying to do, I think it would be worth using a well known architecture called the state machine with events. I'll attach some code framework to show you what it might look like for you, you can adapt it to suit your program. I hope its enough for you to get an idea of what I'm trying to show you, it doesn't have any code in it yet, but I think it gets the idea across, and if you combine it with the link below on state machines, it may help you to set out your code in a better architecture.
    A few links you may find helpful:
    Event programming: http://www.ni.com/white-paper/3331/en
    Caveats for using events: http://zone.ni.com/reference/en-XX/help/371361J-01/lvhowto/caveatsrecmndtnsevnts/
    State machine: http://www.ni.com/white-paper/2926/en
    let me know if you have any more questions.
    Ian S
    Applications Engineer CLD
    National Instruments UK&Ireland
    Attachments:
    Event state machine example.vi ‏14 KB

  • How to ignore TCA events by AIA

    Hi,
    We have implemented Order to Cash PIP 3.1.
    Here is the question we have: The Customer integration from Ebiz to Siebel was implemented 3 weeks ago but we could not run the concurrent program "TCA Business Object Events: Raise Events Program" as we had some issues in the integration. Now we have fixed those issues but we do not want to trigger the integration for the existing update/create events waiting to be processed as these are already updated/created in Siebel thru our legacy integration. How can we clean the queue in Ebiz ? We need to start with the new events.
    Thanks
    Sai

    Hi,
    We use AIA and TCA Business Object Events program to integrate from one Ebiz instance to another.
    To achieve what you want I would not do anything in SOA.
    In out integration TCA ends up putting messages into WF_BPEL_Q.
    I would use the following process: (Assuming offline time is a possibility)
    1. Retire the parts of AIA that dequeue from WF_BPEL_Q. (depending on how messages are picked up.)
    2. Create a PLSQL script that dequeues all messages from WF_BPEL_Q but dosn't process them. Using relevant select statements you can dequeue by message ID and select only relevant messages
    3. Run whatever process you need that puts fires the Raise Events Program
    4. Run the script to dequeue the messages that does nothing with them.
    5. Re-activate the parts of AIA that dequeue from WF_BPEL_Q
    This should give you the desired effect. Just be careful you don't screen out messages that do need to be transfered.
    Robert

  • Contextual Event Framework

    i want to know how to use contextual Event Framework For Region Communication.
    i referred 1 r 2 links .i couldnt understand anything...
    is there is any link to refer for a simple Contextual Event Program for region Communication????
    Thanks In Advance
    VL Naidu

    Well, perhaps if you told us which 2 links you tried and failed to understand, we might be able to help. As it is, I'm going to give you [url http://lucbors.blogspot.com/2010/03/adf-11g-contextual-event-framework.html]this link as a good, simple example.
    If that's one that you don't understand - why not ask a question to help clarify what you don't understand, and that way help to build your understanding.
    John

  • Invoking an event from another event

    Hi,
    I'm kind of new to the event structure in LV 7. Can anyone tell me how to invoke another event from the other one. For example i have two events say "calculate" to do something and "popmessage" to pop-up a user defined message box. How do i trigger the popmesage event upon timing out?

    Hello,
    In order to invoke a new event from within an existing event, you need to use programmatically generated (or user) events.
    To find more information on programming with events,
    See the LabVIEW User's Guide
    In LabVIEW, go to Help, Search the LabVIEW Bookshelf
    Click the LabVIEW User Manual
    Chapter 9 describes Event-Driven Programming.
    Read the event-programming tutorials.
    Go to http://www.ni.com and click on Support at the top.
    In Option 3, enter keywords "events labview" (without quotes).
    The first link should be Event-Driven Programming in LabVIEW and the
    third should be Advanced Event Handling with LabVIEW 7 Express.
    Look at example code in LabVIEW
    In LabVIEW, go to Help, Find Examples.
    On the Search tab, enter "events."
    Open "Programmatically Fire Events" for an example of triggering a new event from within an existing event.
    I have also attached a simple example showing how to use programmatic events to invoke a new event from within the current event. However, the new event will not be processed until the current event is finished.
    Is your situation that the calculate event may take a long time and you'd like to pop up a message after a certain amount of time? If so, one solution is to have parallel event structures. In the second structure, only process the user event. However, a simpler solution may be to check the clock before your processing loop and com
    pare this value periodically in the loop to see if a certain amount of time has elapsed.
    Happy coding,
    Grant M.
    National Instruments
    Attachments:
    Programmatic_Event.vi ‏40 KB

Maybe you are looking for