logical AND with the structure of the event

Hello world

The structure of the event can manage several events at once to do the same thing: looks like an OR logical operator. But I have not found a way to sequence events to approach a logic and example: you must click on a button to draw, then enter the image would change the mouse cursor. With a structure of the event, I can handle these 2 events separately or together (i.e. change the cursor), but I can't do a sequence of events.

Is this possible to do with a structure of the event?

I hope that I am clear (sorry for English btw). And thanks in advance.

Christophe

I don't think this is possible directly. You will need to add status information to your event loop that could enforce the order of events and the rules of logic you want. Where transformation you would have to check whether the required event has occurred before this event. If that were the case, perform your treatment. If this isn't the case, ignore the event. Your first event would need set this status information. You can also include some kind of time-out for the second event were to occur within a specific period.

This type of logic may be better treated with the help of producer/consumer architecture and a state machine in the task of the consumer.

Tags: NI Software

Similar Questions

  • Impossible to start and open the event viewer.

    I have Windows Vista (SP1) currently and am having some problems with the event viewer.

    Whenever I try to run the observer of events, either through the program or the elevated command prompt, MMC pushes me to get approval to open.

    Once opened, an error message appears indicating "MMC cannot initialize the snap-in" with the only option to hit being 'Okay '.
    I love the event viewer in order to keep track of my system and wonder if there is any means possible to get this corrected and resolved.
    Any help is appreciated!

    Hello

    You did changes to the computer before the show?

    Check if the problem persists with the different user account.

    I suggest you to proceed to the next method.

    Method 1: Run System File Checker (SFC) scan on your computer to fix this.

    SFC analyzes and verifies the versions of all protected system files after you restart your computer.

    Check the link for more information to do the same below:

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833

    Restart the computer and check.

    Method 2: If the problem persists, I suggest you to open in safe mode with networkevent viewer.

    See the link below to start your computer in safe mode

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    Method 3: If the problem resolves itself into safe mode with network, perform the clean boot. Clean boot helps eliminate any driver or software conflicts. This is because as the usual startup programs as well as non-Microsoft services are not started in a clean boot configuration.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    After you perform a clean boot, restart your computer and check.

    Note: After you perform a clean boot, perform step 7: reset the computer to start as usual of the above article.

  • Problem with the event

    Hello
    I am facing a problem with the events. Please Ref. Event.zip the attachment.

    AEv.vi is a LV2G used for the reading/Generate/Init/destroy the event. Test2.VI is a main vi (we must run this vi)

    The AEv.vi Init action must be done in the other vi (other than the Test2.vi:- but for the objective test I've initialized in Test2.vi only).

    Test2.VI is used for genetate event.

    I could have called statically AEv.vi inside the Test2.vi to generate an event... but the path that comes is decided when running... (I have many live similar to AEv.vi...) .. who decided at run time...)

    The problem:

    When I run Test2.vi, it gives me the error code 1 (try running test2.VI... it gives the dialogue on the occurrence of the error)...

    Can someone fix this?

    Thank you!

    I modified your screws to do what I think you want.  The way you did the user events will not work.  I added a line to send orders to Ev.vi

  • Error message: problem loading parameters and check the event log or ask the administrator

    My wallpaper, the desktop icons and most of my documents are gone.

    I have Vista Home Premium and a couple of days and I connected my desktop background was changed. Several desktop icons are missing, and a message came up saying there was a problem loading my settings and check the event log, or ask the administrator (me) for more details. All my "Favorites" were missing in the sidebar and my documents and recorded images folders are empty. Microsoft customer service tells me there is an error in my code for the identification of product (from the Windows Activation in systems and Maintenance) so I can't help out.

    Any thoughts? Thank you!

    Hello, G25

    It is likely that your user profile is damaged. I would advise to create a new user account and test if you get any errors. If everything works as expected under the new user account, you can start to recover your account profile by following the steps on the following link: difficulty of a user profile is corrupted

    David
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Cant't save and clear the event logs to a folder on the hard disk

    I have a new hp laptop under windows7. When I try to erase and save the event logs to a folder on the hard drive, I get a message saying that it cannot save the file to the network location despite the fact that I'm not saving to a network location.  I can record the events first and then to clear the logs.  But can not use the option "save and clear."  What could cause this problem?

    Hello

    1 when was the last time save and clear option has worked?
    2 have you made any changes to the computer before the show?

    Run the System File Checker and check if it helps.

    Follow the steps in this link: http://support.microsoft.com/kb/929833

  • Can we use type multiset and with the clause the two

    Please let me know how to use the multiset type and with the clause.

    You need more inlining, as for example in:

    SQL> select *
    from table (cast (multiset (select *
                                from (with t as (select deptno from dept)
                                      select * from t)) as sys.dbms_debug_vc2coll))
    /
    COLUMN_VALUE
    ----------------------------------------
    10
    20
    30
    40
    50                                      
    
    5 rows selected.
    
  • Problem with the event and the case of Structure

    Hi all,

    I get the problem in my program, I'm using the two structure one is the same and other structure box.

    In the structure of the case, I had the button as an entry to the SPL and the case structure as the output of the structure of the case.

    And in the same, then I had the two text box (num control A and B) in that I had put the event changes its value. Then, even I put the value has

    num or num B control control control this corrosponding num value will save seeing num C. Now the problem is when I click on

    the theLEB button does not blink until or if you don't put the value of one of the corrosponding num control.i didn't post my file in version 8.5 and 8.6 Please find tha.

    Hello

    It should work like that or I misunderstood what you want to do.

    If Boolean is true, boolean 2 is true, at the same time, you can change the value of A so C or B then C.

    See attachment

  • Problem with the events and Movieclips

    Hi all.

    I got myself in a situation where everything was perfect with zoom events, keyboard events and drag-, click of the mouse.

    The project is:

    A movieclip with image sequence: original background.

    And other clips: also images sequence (png)

    They were all separate specific mouse events and all the zoom and key events.

    Now wen I click on the button with the movieclip to function, only the png image sequence is turning and the main mc is not.

    What should I do to rotate active both regardless of the mcs and main mc also png with these.

    Help, please.

    Thank you in advance.

    use:

    var mcA:Array = [garage_horizon_mc, garage_moss_mc, garage_ocean_mc, gutter_ocean_mc, gutter_horizon_mc, Audrey r_moss_mc, main_mc];

    for (var i: int = 0; i<>

    mcA [i] .addEventListener (MouseEvent.CLICK, garageF);

    }

    function garageF(e:MouseEvent):void {}

    for (var i: int = 0; i<>

    mcA [i] .visible = false;

    }

    var mc:MovieClip = MovieClip (e.currentTarget);

    mc.gotoAndStop (rotationframe);

    MC. Visible = true;

    whateverF (mc);

    }

    function whateverF(rotater_gah:MovieClip):void {}

    rotater_gah.offsetFrame_gah = rotater_gah.currentFrame;

    rotater_gah.offsetX_gah = 0;

    rotater_gah.percent_gah = 0;

    rotater_gah.addEventListener (MouseEvent.MOUSE_DOWN, startDragging_gah);

    rotater_gah.addEventListener (MouseEvent.MOUSE_UP, stopDragging_gah);

    }

    function startDragging_gah(e:MouseEvent):void {}

    e.currentTarget.addEventListener (MouseEvent.MOUSE_MOVE, drag_gah);

    e.currentTarget.offsetX_gah = e.target.mouseX;

    }

    function stopDragging_gah(e:MouseEvent):void {}

    e.currentTarget.removeEventListener (MouseEvent.MOUSE_MOVE, drag_gah);

    e.currentTarget.offsetFrame_gah = rotater_gah.currentFrame;

    }

    function drag_gah(e:MouseEvent):void {}

    e.currentTarget.percent_gah = (e.target.mouseX - e.currentTarget.offsetX_gah)/e.currentTarget.width;)

    var frame_gah:int = Math.round(e.currentTarget.percent_gah*e.currentTarget.totalFrames) + e.currentTarget.offsetFrame_gah + 1;

    While {(frame_gah>e.currentTarget.totalFrames)}

    frame_gah = e.currentTarget.totalFrames;

    }

    While (frame_gah<=0)>

    frame_gah += e.currentTarget.totalFrames;

    }

    e.currentTarget.gotoAndStop (frame_gah);

    }

  • Need help with the events of user base in state machine example in queue

    I wrote a small example queue state machine to try to teach myself about the creation and use of the user events.  The purpose of the machine is periodically pick a number (I do now with a control instead of a generator of random numbers for troubleshooting), and compare this figure with the number I put in a control.  When they match, I want to raise an event to fire so I can do something about having found a match.  The examples in the file LV references help show events within the structure of the event, but I want to reach out of a State and trigger an event...

    Can someone point me in the right direction here?

    Thank you

    Hummer1

    I think the service you're looking for is generating the user event.  What to put in your consumer loop, inside the case structure when identical numbers.

  • High logical reads with the INSERT statement

    Hello

    I have an INSERT query that is having a very high reading statspack logical reads. I've seen go Asktom announcement that this is due to the index. Link: [http://asktom.oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:6643159615303]

    Can you please help to explain exactly what Oracle do and why you should read so the e/s logic. It's the that oracle must read the structure of the index for all (bundle branch block + all blocks of sheet) for each insertion line?

    Thanks & appreciate the insight.

    Rgds
    Ung

    Only 5 bound for first INSERTION and only 1 for the next INSERTION.

    This is false.

    "db block ' is ALSO to the e/s logic." This is gets them in CURRENT mode. Oracle reads the Index blocks in the current mode to update the index blocks.

    Your last statement is in direct contradiction with the previous paragraph

    As Tom mentioned, oracle must change the index as well when records are inserted in > (or updated or deleted from) the table. This means oracle must first read the index blocks (in > compatibility mode (LIO) as well as in current mode) in addition to the blocks of the turntable when inserting new > records. So this must explain why LIOs are more when inserting in an indexed table from > inserting into a table not indexed.

    What is correct.

    Hemant K Collette
    http://hemantoracledba.blogspot.com

  • How to repeat an event every month, and that the event referred to the previous Friday if the event falls on a weekend.

    Company is paid twice a month. The 15th and the last day of the month.

    Defining the last day of the month would repeat each month, day of the last week. But how do you define the 15th with these conditions:

    If the 15th falls on the weekend, it will be Friday before the weekend. For example, May 15, 2016 falls on a Sunday, the event must be moved to May 13 instead. Is this possible?

    Thank you!

    Found the answer.

    Snow Leopard iCal - event on Friday if the Nth is a weekend/holiday?

  • Windows 2003 server has been restarted with the event ID 1003

    Hello

    We have windows server 2003 with sp2 and gets recharged every day 2 times and get the blue screen also please find the error code received on the below Event Viewer:

    Error code 00000019, parameter1 00000020, parameter 2 8a2fc0e0, 8a2fc258 parameter3, parameter4 8a2fc100.

    Microsoft verification items, we found once article to fix the fix that is mentioned below:

    ===============================================================

    Article (s): 2280732

    Language: English

    Platform: i386

    Location: (http://hotfixv4.microsoft.com/Windows%20Server%202003/sp3/Fix333407/3790/free/421007_ENU_i386_zip.exe)

    =========================================================================

    could you please let us know because we can see the fix above is with sp3, but the server who has has question is having SP2 that we have tested in the test environment.

    We can with the same fix to install on the server production or any other solution for this problem.

    Please answer as a priority, since we have the issue on the neck.

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    You need to ask the Forum server later here.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • Unable to start Vista, perhaps in connection with the event ID 3004?

    I'm running Vista (64 bit) on a Dell Inspiron 1440 laptop. For some reason it won't finish boot normally. This just started today. The laptop is only a few months old and I have not had other problems. I don't remember installing something new.

    I can boot into safe mode (even if it is very slow and can't run all applications). I tried Startup Repair (did not find anything) and for some reason any there is no restore point (how this happens?), so I can't restore it to the previous point time.

    Running sfc/scannow returns the result "Windows Resource Protection found corrupt files but was unable to fix some of them.
    I can't understand how to get log (not that I understand it anyway but I wanted to post this information here...)

    In the case of the spectator, I found a few errors that correspond to the time I tried to start the computer without success. The news of the event are as follows:

    "Windows cannot verify the integrity of the image of the file \Device\HarddiskVolume3\Windows\Temp\mc2731C.tmp because the hash of the file is not found on the system. A recent hardware or software change might be installed a file that is signed incorrectly or damaged or maybe it's a malicious software from an unknown source. »

    Log name: Microsoft-Windows-CodeIntegrity/Operational
    Source: Code integrity
    Event ID: 3004
    Level: error
    User: SYSTEM
    OpCode: (6815744)

    Do you think this could be the source of my problem? Any idea what I can do about it?

    Thank you!

    ~ Somewhere

    Hello

    (A) check the clean boot.

    A clean boot helps eliminate software conflicts.
    The following link has steps showing how to perform the clean boot. http://support.Microsoft.com/kb/929135
    (1) perform the clean boot
    i. Click Start, type msconfig in the search box and press ENTER.
    If you are prompted for an administrator password or a confirmation, type the password, or click on continue.
    II. in the general tab, click Selective startup.
    III. under Selective startup, clear the check box load startup items.
    IV. click the Services tab, select the hide all Microsoft Services check box and then click Disable all.
    v. click OK.
    VI. When you are prompted, click on restart.
    VII. after the computer starts, check if the problem is resolved.

    (2) enable half the services
    (3) determine whether the problem returns
    (4) enable half of the startup items
    (5) determine if the problem returns
    (6) repeat the steps above until you find out which program or service is causing the issue
     
    After you determine the startup item or the service that is causing the problem, contact the manufacturer of the program to determine if the problem can be solved. Or, run the System Configuration utility, and then click to clear the check box of the element of the problem.
     
    Note: make sure that the computer is configured to start as usual by following step 7 of article http://support.microsoft.com/kb/929135 .
    Reset the computer to start as usual

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:
    (i) click Start, type msconfig.exe in the start search box and press ENTER. If you are prompted for an administrator password or for confirmation, type your password, or click on continue.
    (II) on the general tab, click the Normal startup option, and then click OK.

    (B) you can also perform a virus scan in SafeMode with network online.
    (To start in SafeMode with network, keep tapping the F8 key during restart the computer and select Safe mode with network and press ENTER.)

    i. try to scan the computer using Antivirus software because this problem can occur if the computer is infected with the virus. You can do a scan of PC security by clicking on the link http://onecare.live.com/site/en-us/default.htm and clicking on the analysis of a complete Service and accept the agreement.

    II. to download malware removal (this tool checks your computer infections by specific, prevalent malicious software (including Blaster, Sasser, and Mydoom) and helps to remove the infection if it exists) tool visit the link http://www.microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356&displaylang=en

    Diana
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • The Microsoft Unified Security Protocol Provider security package has generated an exception LSA (lsasrv with) the event ID 5000

    I am operating Windows 7. I get this error that I see in my event log, Event Source LSA ID (lsasrv with) 5000, which translates the message that Windows has encountered a critical error and will stop in a minute. My research looking for the solution indicates that this error is not applicable to Windows 7, but that's it! It happens every hour approximately. It was supposed to effect Windows2000, so whenever I search, it says any fix does not work on my machine. No idea how to fix this error before the reinstallation of the operating system?

    "Provider = name"lsasrv with.
    GUID ="{199FE037-2B82-40A9-82AC-E1D46C792B99}" / > "

    5000
    0
    2
    0
    0
    0 x 8000000000000000
    1074084
    System
    -
    Microsoft Unified Security Protocol
    Provider of
    050000C000000000000000000000000000000000000000000200000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
     

    Thank you, Rick

    Hi Rick,

    Thank you very much for the detailed information.

    If the error only occurs after the server has been rebooted, it is likely that a service tries to authenticate before the directory service is available. Lsasrv.dll library is required by windows and is used to perform the encryption/decryption and local password hashing. Lsasrv.dll is flagged as a system process and does not seem to be a security risk. However, removing the LSA Server Library might harm your system.

    Corrupt Lsasrv.dll file could lead to this problem. You can download the file from any .dll and register again on your computer. But we do not recommend this.

    I suggest you to run the System File Checker command to check if there is any violation in the system files that may be causing the problem.

    To run a SFC scan.

    Please follow the link https://support.microsoft.com/kb/929833?wa=wsignin1.0 to make a SFC scan on the computer.

    If the problem persists, then we run check disk command to find the volumes on your hard disk for problems.

    To run the check disk follow the steps below:

    1. right click on the Windows button.

    2. choose command line (Admin).

    3. in the command prompt window, type the command Chkdsk C: /F and press ENTER.

    4. this process will take about 20 to 30 minutes.

    The above command corrects the bad or corrupt volumes in C:\ drive. After you run the check disk command, check to see if the problem persists.

    Warning: The data available on bad sectors could be lost whenchkdsk trying to repair your hard drive.

    Please respond to this post with the State to help you.

  • What version of IDS 4235 does not correspond with the event viewer

    Hello

    I have an ID with S37 3.1 (3) and the Event Viewer 3.1 ID (1) S37.

    I upgraded to version 3.1 S39 IDS (3) but, after downloading the IDS EV and respective signatures, EV IDS kept the latest version 1.0000 S37. I didn't sign up for the latest version of signatures S39 (3.1 (1) S39).

    Can someone help explain this.

    The S39 has been updated for emergency. In order to get out as quickly as possible the VEI update was not included.

    This will be fixed with the update of the S40.

Maybe you are looking for