How to generate another event in an event processing structure?

Because event 1 processing should use the code for event 2 processing.
Event 2 is pressing a button. I can not use value change in property Node because of the latching mechanism.How to solve the problem?

Hi,
I am not sure I understand your problem...
Apparently you have 2 events that require the current value of a latch boolean, is that it ?
If yes, in the event "value change" made on the button you don't need to actualy have the button in the event to get the value. In this event, you can get both the new and old value of the boolean from the "thing on the left hand side of the structure.
As Altenbach said, some code with a simple example would helps us provide better advice
When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

Similar Messages

  • How to fire another event handler for postprocess stage

    Hi All,
    I have 3 custom event handlers for postprocess stage, for modify action on user object. The problem is tah only one event handler is executed - I use EntityManager API to modify user object. How to fire another event handlers? Do I have use UserManager API?
    best
    mp

    As Bikash stated, used a single event handler. You can put if statements in there to identity the operation, as well as if statements if the parameter is found i the list of attributes being modified. This way you will only perform the action when necessary.
    -Kevin

  • How to generate key events to a componet without keyboard

    I want to generate a key event, a Keylistener is already there, (in fact, java3D's KeyNavigatorBehavior). I want to use other input methods instead of key pressings, so how I generate the key event manually
    thx,

    Look at java.awt.Robot. It has a keyPress() method to simulate key presses.

  • How to generate an Event on Digitalnput-ValueChange?!

    Guten Tag and best wishes from Berlin!
    I use an EventStructure (ES) with no Timeout. One Event that is handled
    by that ES is the "Control1-ValueChange"-Event generated when the user
    clicks the Control1. That's easy.
    Now I have a DAQ-Card with Digital Inputs and I also want the
    EventStructure to react on the Change of the value of one digital input
    line.
    I know I could set the timeout of the EventStructure to some ms and
    check the DI after Timeout and then start the ES again and so on...
    But well, I dont like this.
    Is there another possibility?
    Thanx a lot for your replays,
    Stefan

    Hi Anonymous,
          You might want to check-out the DIO Change occurrence VIs (DIO\Advanced.)  I've never used them, but it sounds promising.  Hey!, occurrences are Events too! 
    There's the "DAQ Occurrence", a "DIO Change Occurrence", VISA Offers it's brand of "Events", we can register the Event-case for a range of [user] events.  It would be nice to see NI "normalize" event-posting across different "systems" so that a single event handler could monitor everything.
    Cheers.
    Message Edited by Dynamik on 03-01-2006 05:31 PM
    Message Edited by Dynamik on 03-01-2006 05:32 PM
    When they give imbeciles handicap-parking, I won't have so far to walk!

  • How to generate key events programmatically

    Hello friends,
    I am developing an application that would automaticall trigger some keboard events for this purpose i would like to trigger an event like alt+f4 i.e pressing alt+f4 together
    How can we do this using java
    regards
    hari

    You should be able to use the java.awt.Robot class to perform programmatic UI events.
    It doesn't seem that it permits use to do things like keyPress("alt-f4") so you might have to do something like this:
    Robot robot = new Robot();
    robot.keyPress(KeyEvent.VK_ALT);
    robot.keyPress(KeyEvent.VK_F4);
    robot.keyRelease(KeyEvent.VK_F4);
    robot.keyRelease(KeyEvent.VK_ALT);Hope this helps.

  • How to generate automatic event?

    i'm using awt and action event , i need the button to do kind of demo like i was pressing it , how can i do that?

    Hi,
    Use the Robot AWT class.
    JRG

  • How to trigger another events during one event is running?

    dear all,
    i have two events. both of them are triggered by pussing two different buttuns.
    one has been triggered and at running status.
    right now i can't not trigger the other events. clicking the buttons doesn't give my any response.
    does any one have some ideas?
    thank you very much
    Jack

    Hello Jack
    When you select edit events in the context menu from the event case, a dialog appears. At the bottom is a check box which allows to lock the frontpanel until the event is executed (meaning the event case is finished). If you disable this case, the frontpanel is not locked, but the events are not handled before the event case is called for the next time. Therefore it should be placed in a loop. There are some examples in LabVIEW which might help.
    If you want to trigger the second event when the first is not finished yet, you must create two separe event cases, each in an own loop. And the check box mentioned above must be off for both events.
    I hope this helps. If not, aks again.
    Greetings
    shb

  • How do you restrict access to a business process structure in Solution Mngr

    We have set up a business process structure in Solution Manager that includes Finance to Manage and Hire to Retire.
    Although it is Ok for people to display the documentation in each area, we do have the requirement that the people owning Finance to Manage should not able to change the documentation in Hire to Retire and visa versa. Is there a security object that restrict this access? Are there other ways doing this?
    Thanks
    Paul

    I am not a security person, but we have the following details in the profile. You can change these if you click on these areas changing it to display or change mode
    SAP Solution Manager Tab AI_SA_TAB
    --> SAP Solution Manager Tab 
        ---> Activity 02, 90
        ---> Tab in SAP Solution Manager BCSETS, CONFIG, CUSTDOCU, GRAPHIC, IMG, ISSUE, (ETC.)
    > Transaction Type in SAP Solution Manager  1
    Hope this helps
    Paul

  • Generate an event from another event

    Hello,
    What im trying to achieve is once a user presses the enter key in a Text Area, it generates another event which is 'pressing a button' without actually physically doing it.
    private JButton btn = new jButton("Submit");
    private void msg_taKeyReleased(java.awt.event.KeyEvent evt) {                                  
        if(evt.getKeyCode() == KeyEvent.VK_ENTER){
           // generate event that clicks button without doing it physically
    } Does anybody know how to do this?
    Thanks

    I would use key binding: [http://java.sun.com/docs/books/tutorial/uiswing/misc/keybinding.html]
    Demo:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class KeyboardBindingExample {
      public static void main(String[] args) {
            EventQueue.invokeLater(new Runnable(){
                public void run() {
                    new KeyboardBindingExample().launch();
        private Action click = new AbstractAction("Submit") {
            public void actionPerformed(ActionEvent evt) {
                System.out.println("click!");
        void launch() {
            JTextArea text = new JTextArea(20,60);
            JButton submit = new JButton(click);
            JPanel south = new JPanel();
            south.add(submit);
            InputMap im = text.getInputMap();
            ActionMap am = text.getActionMap();
            Object key = click.getValue(Action.NAME);
            im.put(KeyStroke.getKeyStroke("ENTER"), key);
            am.put(key, click);
            JFrame f = new JFrame("KeyboardBindingExample");
            Container cp = f.getContentPane();
            cp.add(new JScrollPane(text), BorderLayout.CENTER);
            cp.add(south, BorderLayout.SOUTH);
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.pack();
            f.setLocationRelativeTo(null);
            f.setVisible(true);
    }

  • How to generate selection change event through code in JTree?

    I am developing an application which downloads the file from other system and adds it into the tree. On selecting any file in the tree I m displaying it's contents. But now i am trying to display the contents of downloaded file as soon as it's download completes. Here i am not getting the way to how to generate the event as the download completes, because i tried that setSelectionPath(TreePath path), but it also don't generates the selection change event. Is there any other way to do so?

    Put null in place of oldLeadSelectionPath. From the API for TreeSelectionEvent:
    protected TreePath     oldLeadSelectionPath:
    leadSelectionPath before the paths changed, may be null.
    I'm at the office and can't try out anything, so please let me know whether that works for you.
    db
    edit Or it may be easier to put all code from your valueChanged (...) override in a new method and invoke that method both from valueChanged (...) and wherever else you need.
    Edited by: Darryl.Burke

  • 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

  • Generate duplicated event by Event ID

    Hello everyone,
    I have lots of events that were generated in SAP by a custom user. By that time, someone in BASIS blocked the user WF-BATCH.
    So the events were generated correctly (they all have the green status) but none could create the workflow because of WF-BATCH being blocked.
    Because this list is huge, I want a program/transaction/function were I could give the event ID, and then system could read the container of this event and generate another event as a copy.  Otherwise I will have to use SWUE and replicate it one by one!
    Does anyone know if there's any standard solution for this?
    Thanks in advance!
    Kind regards,
    Carla Sousa

    Hello,
    It is very unlikely that such a program exists. You would have to create it yourself.
    Were the events lost - that is, they're not waiting in a queue to be released? That is often the case when there is an error of this sort, if the system has been set up for that.
    I hope you had the event trace turned on. If so, you can find the events in table SWFREVTLOG.
    regards
    Rick Bakker
    hanabi technology

  • How to re-name any folder under "Business Processes " in SOLAR01  in SAP

    Hi,
    How to re-name any folder under "Business Processes " structure in SOLAR01 in SAP Solution Manager. ?
    Can any one tell me the procedure for this ...
    Thanks.

    Hi
    just choose the Business Process on the left and click the structure tab
    here it will list all the business scenario names you have added just directly edit or write it whatever you want
    if you want to do at lower level
    choose the business process node of that Business scenario under this you get all the business process in structure tab
    here also edit it or directly write it
    Hope it solves
    Regards
    Prakhar

  • How can I detect an external trigger and then generate an event or occurance

    I have a PXIe-1065 chassis with a PXIe8030 controller, PXI-6653 timing module, PXI-6542 Digital IO, and PXI-6259 DAQ board, running LabView 8.5. I need to detect a trigger (100 ns TTL pulse) from an external device then start a process on a GPIB device. Is there a way for me to detect this trigger and then generate an event, or an occurance ? Can I do this without polling a device? Can any of this hardware generate an interrupt that LabView can detect?

    My screenshot was only an example how you can approach the issue. I wasnt saying that you should try it with AI....
    Just take a closer look into the DAQmx Events and you will discover something like this:
    hope this helps,
    NorbertMessage Edited by Norbert B on 10-05-2007 02:35 AM
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.
    Attachments:
    DAQmxEvent.PNG ‏11 KB

  • In iPhoto, I want to copy certain photos in an event and then have the copies in another event WITHOUT removing the original photos from their original event; how to do that?

    in iPhoto, I want to copy certain photos in an event and then have the copies in another event WITHOUT removing the original photos from their original event; how to do that?

    The only way to do that is to export the image to a new file and then re-import it.
    It's not really the intended way of working as it uses twice the disk space and is inefficient.
    Use Albums instead. A Photo can be in any number of albums and use no extra disk space as it just simply references the image in the Library. Albums can be sorted any way you want - including manaually - and can have image from anywhere in the Library just by drag and drop.

Maybe you are looking for

  • 700 MHZ iMac g3 won't boot up

    Hi I'm having a bit of a problem with my iMac g3. it's the 700 MHZ snow edition and it's not wanting to start up. although I hear the cd drive spin up as there is a cd in the drive and I also hear a faint crackle from the CRT Monitor but I don't hear

  • Dvd,s/software doesn't work says dvd driver disabled!

    I put in a dvd/cd  but nothing happens

  • Multiple Hierarchy Use in EVDRE

    Hi, How to use the PARENTH2 hierarchy in Evdre report. I need that always the report opens with H2 hierarchy instead of using H1. Tried using MEMBERS(H2) but does not work. Please advice... Regards, Abhinav

  • Setting text to K100%

    Hi, I am a new user to InDesign and have created a document - I want all the text to be set to K100%, but for some reason when I change the colour percentages, click ok, and check again, it has reset the colour persentage to eg: C35%, M87% etc and ha

  • How can I improve the sound quality of my new iPod?

    Hey there, I just received my new iPod with my new MacBook Pro computer. I have read every bit of documentation i received plus I have scoured resources here on the forum, but I am baffled. I just synced my iPod for the first time to my Macbook, iTun