An interrogation continues with the Structure of the event, please help me understand

Dear Forum,

I'm 3 months in LabView. I created a front panel with what I consider a reasonable set of code below with a basic entry control power boulean a case controlled set of actions. I enclose a strongly striped version to the bottom of this structure with sections deleted button so that the executed code is removed to simplify just ask questions on this control structure. After the recent webinar, I understand this form of control to call a continuous structure of vote - and it makes perfect sense and seems natural for me to the point of programming of data flow.

But according to the webinar it is preferable to use the structure of the event.

However, the structure of the event seems really weird to me. My main question here is certainly the structure of the event MUST be voting each of the values itself anyway, otherwise how does he know that an event had occurred?

So what is the difference between explicitly "polling" the buttons myself with a while loop and using a complex (for me) of the event with 'hidden' polling stations under?

The vote of the 4 buttons in my example should be done at the same time if Labview is truly multithreaded/parallel? There should be no difference in the level of the computer between my code querying and the code 'hidden' the structure of the event making the mark.

Thank you in advance for you help to clarify my confusion.

Sincerely,

Robert Gibbs

rg8766 wrote:

Surely the process:

Check the OS press > OS encodes this trigger to send > OS sends a trigger that the button has been pressed > Labview checks if a trigger happened > Labview decodes what action has been coded in this trigger > Labview takes appropriate, based on relaxation measurements

has more steps and is more intensive than processor

LabVIEW checks the key > Labview performs the appropriate action when you press the button?

BONE is already this process in any case.  If you are in fact doubly effort without worrying.  And the OS is much more efficient that your code will be.  So just let the OS do work heavy while your code sleeps.

And think about the trigger more as an alarm clock.  You are asleep (do nothing, with no CPU) when your alarm goes off.  You wake up and perform the task that the alarm tells you to do.  Once done, you are waiting for another alarm, so you get to sleep.

Tags: NI Software

Similar Questions

  • Can not understand this issue with the layout - please help

    Hello

    I have a problem with the page layout in the header of my site portion.  I would like the Facebook icon, the text "Write us", "Reservations welcome!" text and phone number all rinse just like on the picture below.

    whatiwant.jpg

    No matter what I do the text "Write to us" is not the right move.

    whatigot.jpg

    I don't know what I'm not doing correctly so I ask some fresh eyes to take a look at the code CSS (here).  The tags I'm tweaking are:

    #et-social-icons {float: right; margin: 20px 0px 0px 0px ;}}

    #et-social-icons one {make-size: 14px; color: #581b1a ;}}

    #email - us {margin: 60px banner 0px 0px 0px; padding-left: 40px ;}}

    #email - we a {make-size: 14px; color: #581b1a ;}}

    #reservations p {margin: 0px 0px 30px 0px; do-size: 14px; police-weight: 800; color: #581b1a ;}}

    The header html/php code is here:http://codeviewer.org/view/code:383 has

    Try the css below. I'm not sure where you want to put as there seems to be a lot of css files associated with the page. We really need to finish the css cascade.

    #email - us {}

    text-align: right;

    }

    {#et-social-icons}

    text-align: right;

    padding: 0;

    }

    #reservations p {}

    text-align: right;

    margin: 0;

    padding: 0;

    }

  • Get several lines with the request - please help

    Hello

    I have query that gives me the output below.
    select distinct a.*,cu1.usr_key,cu1.first_nm,cu1.last_nm
    from(
          select ng.grp_key, ng.grp_nm , gt.grp_typ_nm, stts.nm as grp_sts, ng.expiry_date, ng.updt_dttm, stts.stts_key
          from new_group ng, user_group ug, group_type gt, status stts
          where ug.grp_key = ng.grp_key and ng.grp_typ_key = gt.grp_typ_key and 
          ng.stts_key = stts.stts_key and
          ug.usr_grp_rl_typ_key = 1 and 
          lower(ng.grp_nm) like 'test foe%'
          union 
          select ng.grp_key, ng.grp_nm , gt.grp_typ_nm, sts.nm as grp_sts, ng.expiry_date, ng.updt_dttm, sts.stts_key
          from new_group ng, group_type gt, status sts
          where ng.grp_typ_key = gt.grp_typ_key and ng.stts_key = sts.stts_key and 
          lower(ng.grp_nm) like 'test foe%')a, common_user cu1, user_group ug1
    where cu1.stts_key = a.stts_key and cu1.usr_key = ug1.usr_key and ug1.usr_grp_rl_typ_key = 1 and ug1.grp_key(+) = a.grp_key;
    18345 enemy test remove Group organization DELETED February 9, 12 AM 3 09.38.34 29742 Sam Saed
    18345 enemy test remove Group organization DELETED 9 February 12 09.38.34 AM 3 29643 dummyName514 dummy
    18345 enemy test remove Group organization DELETED February 9, 12 09.38.34 AM 3 28917 TestMObileUser Gujral
    18345 enemy test remove Group organization DELETED February 9, 12 AM 3 27284 Rocky jegou 09.38.34
    18345 enemy test remove Group organization DELETED February 9, 12 AM 3 28920 Bhavani Gujral 09.38.34
    18345 enemy test remove Group organization DELETED 9 February 12 09.38.34 AM 3 29645 dummyFName516 dummy
    18345 enemy test remove Group organization DELETED February 9, 12 AM 3 27316 Karthik Gilani 09.38.34
    18345 enemy test remove Group organization DELETED February 9, 12 AM 3 28147 Bowl David Mathews 09.38.34
    18345 enemy test remove Group organization DELETED February 9, 12 AM 3 09.38.34 29731 Sam Saed
    18345 enemy test remove Group organization DELETED February 9, 12 AM 3 28919 Madhu mango 09.38.34

    For a group 18345, there are 10 users and this is the reason why I get a multiple user records.

    I can't avoid these last three columns, because I have to show these values in the application.

    In my opinion, the UNION is at the origin of the problem. Can I replace the UNION here? Please share your ideas on this.

    Thank you
    Rambeau

    Published by: ouali on February 9, 2012 22:35

    Hello

    because I have to show these values in the application.

    What is your problem then? If you simply issue a SELECT statement to application code or send the data back to REF CURSOR, it will be quite OK to have several lines. That's what the SELECT statements are for: to return sets of results with several lines.
    So, could not explain your problem more in detail please? If you get an error somewhere, provide the code causing the error and the error message (it is probably ORA-001422 exact extraction returns several lines somewhere in PL: / SQL, isn't it? then post here).

    In my opinion, the UNION is at the origin of the problem. Can I replace the UNION here? Please share your ideas on this.

    Us don't know not the answer to this question, because no one here knows your needs (what you need).

  • The procedure of procurement of the game Clash of Clans first two payments $9.99 $4.44 and the second did not gems continued with the developer of the game and they told me to resolve this ongoing problem with Apple's iTunes... help me solve

    The procedure of procurement of the game Clash of Clans first two payments $9.99 $4.44 and the second did not gems continued with the developer of the game and they told me to solve this problem continue with Apple iTunes... help solve me this problem and the compensatory jewelry

    Double-see your message, my first response to this topic tells you how to contact iTunes Support (we are fellow users): Re: the procurement process of the Clash game Clans the amount was deducted from the iTunes account and do not have t...

  • the start-up of the pc have to press F1 key to continue with the load upward,

    the start-up of the pc have to press the F1 key to continue with the load upward, then when the desktop is in place, the date and time is always set to December 2004. Tried to restore to a point without risk, but it makes no difference.

    Sounds like the battery RTC (aka aka backup battery BIOS battery) must be replaced.

    On most computers, it's easy and inexpensive (generally, the battery is a CR2032 available in your local corner store).

    On other computers, however (including portable computers), the procedure can be a little more difficult and/or the battery may be more expensive and only available online.

    What is the make and model (very important - require the label if you have a loptop) from your computer?

  • I am a subscriber of Adobe Creative Cloud, received I say as my signature, it cancelled. Because? I didn't ask. I want to continue with the subscription. Please contact me.



    I am a subscriber of Adobe Creative Cloud, received I say as my signature, it cancelled. Because? I didn't ask. I want to continue with the subscription. Please contact me.

    Hello

    Your question is not clear. If you are facing problems of activation you can see the following link for errors in connection with Creative Suite and creative Cloud applications, activation and connection Solutions. Contact support Adobe, you can refer to contact customer service

  • A week ago, I bought a subscription to CC in Adobe Photoshop and Lightroom. I can access Photoshop but this screen still ask me for the license number or if I want to continue with the trial. The same thing happens with Lightroom, only he mak

    A week ago, I bought a subscription to CC in Adobe Photoshop and Lightroom. I can access Photoshop but this screen still ask me for the license number or if I want to continue with the trial. The same thing happens with Lightroom, only it makes me sign and taking me in the tutorials. I can't access the actual program. Help!

    Ask the serial number http://forums.adobe.com/thread/1234635 has a link to FAQ

  • Hi, I am told by a website mFirefox is out of date so I can't get all the features. I continue to download an update, but it continues still to be. Could you please help me. Thank you.

    Hi, I am told by a website mFirefox is out of date so I can't get all the features. I continue to download an update, but it continues still to be. Could you please help me. Thank you.

    Download the latest version of Firefox to:

    Uninstalling Firefox

    Install Firefox on Windows

    Check and tell if its working.

  • 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

  • Please help me understand how to install updates with the following error updated Message__The following have not been installed: __Security update for Microsoft XP KB 2289162

    Please help me understand how to install updates with the following error Message

    The following updates were not installed:

    Security for Microsoft XP KB 2289162 update

    See the section "How to get help" of http://support.microsoft.com/kb/2289162

    For individuals, please visit the Microsoft Solution Center and antivirus security for resources and tools to keep your PC safe and healthy.  If you have problems with the installation of the update itself, visit the Microsoft Update Support for resources and tools to keep your PC updated with the latest updates.

    Buying to meet problems installing Microsoft security updates also can visit the following page for assistance: https://consumersecuritysupport.microsoft.com/

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • "Unknown popup window titled" information "appears with the message please wait a few moments.

    Original title: window unknown popup

    I'm under THAT XP SP 3 fully updated; Mozilla Firefox version 7.0.1 - I keep getting a small pop up window titled 'Information' with the message: Please wait a few moments. It has a small clock on the left side of the field. Only momentary and random. I ran Mcafee virus scan and webroot spyware with no prob on either. Is this some sort of spyware or what?

    Hello

    1. find this jump up while working on Mozilla Firefox?

    I suggest that you initialize in a clean boot state and check if the problem persists.

    Put your boot system helps determine if third-party applications or startup items are causing the problem. If so, you need to maybe contact the manufacturer of the program for updates or uninstall and reinstall the program.

    How to configure Windows XP to start in a "clean boot" State

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

    Note:

    How to configure Windows to use a Normal startup state

    After you have used the boot is a way to solve your problem, you can follow these steps to configure Windows XP to start normally.

    (a) click Start and then click Run.

    (b) type msconfig and click OK.

    The System Configuration Utility dialog box appears.

    (c) click on the general tab, click Normal Startup - load all services and device drivers and then click OK.

    (d) when you are prompted, click on restart to restart the computer.

  • 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.

  • ON PAPER MESSAGEDU MY C510 SAME HP IF THERE IS ENOUGH PAPER IN THE TRAY, PLEASE HELP.

    ON PAPER MESSAGEDU MY C510 SAME HP IF THERE IS ENOUGH PAPER IN THE TRAY, PLEASE HELP.

    We recommend that you reset your C510 HP first. You can perform the reset by following the steps below:

    1. press the "Power button" to activate the product.

    2. with the product, unplug the power cord from the back of the product.

    3. disconnect the power cord from the wall outlet.

    4. wait at least 15 seconds.

    5. plug the power cord into the wall jack.

    6. reconnect the power cord to the back of the product.

    7. If the product does not light by itself, press the Power button to turn it on.

    Once done, print a self-test report by following the next steps:

    1 load plain white paper in the input tray.

    2. from the home screen on the control panel of the product, click "Menu" on the upper left side. A list of menu options screens. 3. click on "Settings" and then click on 'tools '. The maintenance of the printer menu displays.

    4. in the maintenance of the printer menu, click "Printer Status Report". The product prints the report.

    If the report is printed correctly, try again to print your original document.

    If the problem persists, you may need to check the status of documents in the status bar. To do this, follow these steps:

    1. remove the stack of paper from the status bar.

    2. check that the obstacles within the status bar. A flashlight to view the mechanism inside the status bar to make sure that nothing is blocking the paper to engage with the rollers. Even small pieces of paper can cause paper feeding problems. (Important: If any obstruction is detected in the paper path, you need to refer to "Cleaning the rollers" segment at http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/kb/docDisplay/?spf_p.tpst=kbDocDisplay&spf_p.prp_kbDocDisplay=wsrp-navigationalState%3DdocId%253Demr_na-c02248120-20%257CdocLocale%253D%257CcalledBy%253D&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken)

    3. to review the status of the paper and then replace any paper torn, dusty, curled, wrinkled, or bent.

    4. ensure that all the papers in the stack are the same size and type. Never charge which coexist types of paper in the tray. The product can only process one type of paper at a time.

    5. press on the stack of paper on a flat surface to align the edges.

    6. make sure that the paper stack does not contain less than 10 and not more than 25 sheets paper.

    (Note: the limitation of the number of documents applies only during the phase of solving problems.) Once the problem is resolved, you can load the tray to its original capacity).

    Once you have checked the status of documents, reload the tray in the following way:

    1. lift output in open position and open the door of the feeder.

    2. slide the width guide to its outermost position paper.

    3. Insert the stack of paper into the paper tray with the short edge forward and the print down side.

    4. adjust the paper width guide so that it rests against the stack of paper.

    5. lower the output tray, and then close the tray door. Once this is done, print again an automatic test report by following the above steps. If this too does not resolve the issue, refer to some more solutions at HP support center link below: http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/kb/docDisplay/?spf_p.tpst=kbDocDisplay&spf_p.prp_kbDocDisplay=wsrp-navigationalState%3DdocId%253Demr_na-c02248120-20%257CdocLocale%253D%257CcalledBy%253D&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken

    GuruAid.com

  • I lost some of the folders in the library.  They exist in the Explorer solutions, but somehow got removed from the library.  I can bring them back in but I'm afraid it will happen again in LR.  Please help me understand what happened and how can I prevent

    I lost some of the folders in the library.  They exist in the Explorer solutions, but somehow got removed from the library.  I can bring them back in but I'm afraid it will happen again in LR.  Please help me understand what happened and how can I prevent the recurrence. I use Win7.

    A few possibilities:

    1 > you click with the right button on the files and chose to remove them from Lightroom.

    2 > you have created a new catalog, and records that are not part of another catalog.

    Each of these scenarios seem like they could be a possibility?

  • I really need someone to help me. I tried to figure out how to select a PDF to convert a Word doc. When I go to select a PDF file, all that comes is the WORD documents. doesn't show ANY of my PDF files... Please help me understand wh

    I really need someone to help me. I tried to figure out how to select a PDF to convert a Word doc. When I go to select a PDF file, all that comes is the WORD documents. doesn't show ANY of my PDF files... Please help me understand what is happening? We put it on automatic renewal so I know it's not that we have not renewed this subscription, because we pay automatically.

    Hi olivias,.

    Looks like there may be some confusion on your system which application should be associated with PDF files. You can reset the file name associations by following the steps described in these articles (depending on your operating system):

    How to change the default application for a file type. Macworld

    http://Windows.Microsoft.com/en-us/Windows/change-default-programs#1TC=Windows-7

    Please let us know if you have any additional questions.

    Best,

    Sara

Maybe you are looking for