Can I get the event structure to NOT queue events?

I was wondering if it is possible to have the event structure not queue events that happen while the vi is executing code associated with another event. Basically, I have a toggle switch that, when "on", captures a live feed from a camera and displays it to the screen. This is done in a while loop that executes until the toggle switch is turned off. At this point, that event is done and the vi returns to the uppermost level of the event structure and resumes looking for events. The trouble is that the whole while the video capture was happening, the event structure was queueing events that were occuring during that time when the user was hitting other front panel buttons that had their own event associated with th
em and would not execute at that time. When the video capture toggle is turned off the event structure then executes any other events that were queued during that time and I don't want it to. I can't lock the front panel while the video capture is happening so the user can't push buttons because they have to be able to push the button to turn the video capture off. Any suggestions? Thanks in advance.

> I was wondering if it is possible to have the event structure not
> queue events that happen while the vi is executing code associated
> with another event. Basically, I have a toggle switch that, when
> "on", captures a live feed from a camera and displays it to the
> screen.
I think there are lots of other articles about this on devzone.
To summarize them, the key is that the event structure intentionally
synchronizes events with diagram execution. The typical way to do what
you want is to have the event start up another loop or subVI running
asynchronously.
Usually there ends up being one loop with an event structure in it.
Another loop that executes a statemachine, possibly as simple as just
two states of acquiring and not. Use the events to pr
od the other loop
between states via locals, globals, occurrences, etc.
Greg McKaskle

Similar Messages

  • How can I get the XML structure from a flat structure?

    Hi all,
    in my XI SP 12 I use a JMS adapter to read information using the WebSphereMQ transport protocol.
    The structure that I receive have this format:
    <Name_A.KeyFieldValue><Name_A.fieldName_A1_Value>...<Name_A.fieldName_AN_Value>
    <NumberRecordType_B><NumberRecordType_c>
    <Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>
    <Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>
    <Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    <Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    the problem is that in this structure each line is not separated by a carriage return or a comma, I have all the information in a single line:
    <Name_A.KeyFieldValue><Name_A.fieldName_A1_Value>...<Name_A.fieldName_AN_Value><NumberRecordType_B><NumberRecordType_c><Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>...<Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value><Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>...<Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    and the customer don't want to insert a line separator.
    Then, the question is:
    How can I get the XML structure from this structure?
    If possible, I don't want to develop new Module and add it in the JMS Module Sequence.
    PS I have already read the article "How to Use the Content Conversion Module with the XI 3 J2EE JMS Adapter.pdf" and it doesn't seem to help me.
    Best Regards,
    Paolo

    To get context parameters from your web.xml file you can simply get the ActionServlet object from an implementing action object class. In the perform (or execute) method make the following call.
    ServletContext context = getServlet().getServletContext();
    String tempContextVar =
    context.getInitParameter("<your context param >");

  • How can I get the events from a java program?

    I want to make a monitor to watch a java program.How can I get the events from the GUI of this program some as mouse cliking, keyinput. So I can watch these in my monitor.
    Thanks

    Hi,
    To put a monitor to the events occuring in the GHUI u need to register required components with the appropriate EventListeners.
    Liek if u want to get notified when a mouse is clicked, then u need to add The MouseListener to the component which u want to be monitored.
    Say
    myFrame which is the JFrame object which shuld be monitored for the events.
    Then in ur program u have to add following code
    myFrame.addMouseListener( someObectReference );
    Here the someObjectReference should be an instance to a concrete class ..i.e. U write a class like the following
    public class MyMouseListener implements MouseListener {
    // override the followig methods
    public void mouseClicked(MouseEvent me){ sop("MOUSE CLICKED ON THE FRAME");}
    public void mousePressed(MouseEvent me){}
    public void mouseReleased(MouseEvent me){}
    If u dont want to use another class for listening to the events. Then u can make teh current class monitor the events. To do so ur class should implement the appropriate listener and should override the required methods.
    and u should say myFrame.addMouseListenet( this );
    thats it

  • Where can I get the After Effects CS6 (not CS3) user's guide.

    Where can I get the After Effects CS6 (not CS3) user's guide. I want Adobe's, not a third party.

    Todd,
    Thanks a ton. I've done searches from search engines, and I've looked at this page many times, but I had not seen this link.
    I really apprreciate your help--though you probably think it was a dumb question.
    Gary

  • How can i get the package structure(much complex)?

    I have a oracle package, which is called SPK_A.
    its structure as below:
    SPK_A...T_A1(table)
    ..............T_A2(table)
    ..............FUN_A1(function)
    ..............FUN_A2(function)
    ..............SPK_B(package)...FUN_B1(function)
    ..........................................FUN_B2(function)
    ..........................................T_B1(table)
    ..........................................T_B2(table)
    I have tried to write the sql with data ditionary(dba_dependencies).
    but i failed finaly.
    Because it can only decribe the reference by the package,
    and i found there are 2 problems with "dba_dependencies":
    1.the relationship between them are not necessarily filiation;
    2.It doesn't describe the really package structure;
    Can anyone help me to get the package structure as above?
    Any Ideas Appreciated.
    The sample sql as below:
    create table T_A1
    empno number,
    ename varchar2(10)
    create table T_A2
    deptno number,
    dname varchar2(10)
    create table T_B1
    empno number,
    ename varchar2(10)
    create table T_B2
    deptno number,
    dname varchar2(10)
    create or replace package SPK_B is
    lv_empno T_B1.empno%type;
    lv_deptno T_B2.deptno%type;
    function FUN_B1(in_empno number) return varchar2;
    function FUN_B2(in_deptno number) return varchar2;
    end;
    create or replace package body SPK_B is
    function FUN_B1(in_empno number) return varchar2 is
    lv_ename varchar2(50);
    begin
    select ename into lv_ename from T_B1 where empno=in_empno;
    return lv_ename;
    end;
    function FUN_B2(in_deptno number) return varchar2 is
    lv_dname varchar2(50);
    begin
    select dname into lv_dname from T_B2 where deptno=in_deptno;
    return lv_dname;
    end;
    end;
    create or replace package SPK_A is
    lv_empno T_A1.empno%type;
    lv_deptno T_A2.deptno%type;
    function FUN_A1(in_empno number) return varchar2;
    function FUN_A2(in_deptno number) return varchar2;
    end;
    create or replace package body SPK_A is
    function FUN_A1(in_empno number) return varchar2 is
    lv_ename varchar2(50);
    begin
    lv_ename := SPK_B.FUN_B1(in_empno);
    return lv_ename;
    end;
    function FUN_A2(in_deptno number) return varchar2 is
    lv_dname varchar2(50);
    begin
    lv_dname := SPK_B.FUN_B2(in_deptno);
    return lv_dname;
    end;
    end;
    /

    Use DBMS_UTILITY.GET_DEPENDENCY
    http://www.psoug.org/reference/dbms_utility.html

  • How can I get the event triggered in the WDOBEFOREACTION of my View?

    I have a custom WDA inserted into an SAP FPM.
    I need to find out whether the user just hit <Enter> or actually chose an FPM button such as Read Only.
    How could I find out the FPM event in my View?

    In my opinion, you would not get FPM events in your view. FPM events are handled in the controllers method like process_event.

  • How  can i get the event of selected PageItem in ActionScript

    hi,
    when i select the pageitem on document then i want the event of that pageitem .
    Is there a possibility to get that event ?
    best thanks for any hint.
    govind

    Marcel,
    Please consult the "Tables" chapter in the UIX Developer's Guide. You can search for a method titled "doSelectionEvent" that will indicate how to deal with table selections.
    Hope this helps,
    Ryan Pollock

  • With Tweak Now I choose Compact Mozilla Firefox Database Files, now I can't open tabs, images etc. on websites. I can't get the old setting back, not even by bringing the system back to another date or installing Firefox anew. What to do? Thanks!

    This is what I think did happen because I am still able to do those things in Internet Explorer.
    E.g. Opening a website I don't see all images, can't use all tabs.
    I also cleared Caches in Extra. (I use Windows XP.) I tried to restore things within Tweak Now.
    So how can I make more space in the Mozilla Database Files.
    Please keep your answer simple, I am not that smart...

    Not a good idea to use external programs like that to mess with Firefox files, those programs somehow manage to break more than they ever fix. Windows system restore does its' fair share of messing Firefox up, too. And reinstalling Firefox doesn't fix a b0rked Profile, unless you remove it when you uninstall Firefox.
    Try a new Profile. <br />
    http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    Then recover specific files from the existing Profile. <br />
    http://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile

  • My LCD screen burned out. I have it connected to a tv now, but can't get the menu bar or the function bars to show up. Please help!

    My LCD Screen burned out, but the computer still works. I currently have it connected to an HDTV via, Mini DVI to VGA, VGA to VGA on the tv. Problem is, I can't get the function bar (maybe not the right term) or the bar at the bottom with all my programs on it. I get my screen saver and have managed to drag (by sheer luck since I can't see anything on my iMac screen) some of my pics I had on my desktop over, but nothing else. Please help!

    Hello
    you should have on your key board "mirroring key" , or F7 on old keyboard
    for now your tv is an extended screen for your imac not a miror , so you can not see menue barre on top of screen
    http://docs.info.apple.com/article.html?path=Mac/10.5/en/8525.html
    HOPE you are in 10.6
    http://docs.info.apple.com/article.html?path=Mac/10.6/en/8525.html
    "On some keyboards, you can press the F7 key, or Command-F1, as a shortcut to turn video mirroring on or off."
    HTH
    Pierre

  • How te get the event of SAVE button in WDDOPOSTPROCESSING method

    Hello,
    am using an application that was configured with FPM, and my question is  how can I get the event wehen the user click on the save button in the method WDDOPOSTPROCESSING?
    will explain again!
    if the user click on the save button, how can I know or get the event in the WDDOPOSTPROCESSING?
    am talking here about the general save button in the header..
    please let me know if somebody knows
    thank you all

    just to make it easy for me,  the save button has an ID , i dont know how to get that ID  or where that action will be generated , i dont know where to implement my method, and this is the problem i dont know where or which method or class or IF will be genareted
    the SAP Developper are taking this case into consideration , because normaly all the data will be stored first in a buffer table, and after the suer clicks on the SAVE button, all the data will bestored in the corresponding INFOTYPE using the CP of the person, but in case of some INFTYPEs that are specified with 'P' instead of 'CP' we can't use the SAP Standard methode insert_infty , and this is the reason why i believe that there must be an alternative way to save all DATA of all Subtable by clicking only once on the save button.
    I foundout that the methode WDDOPOSTPROCESSING will be generated after clicking on the SAVE button, but as I said, i can't get the corresponding event ????
    please is somebody has an Idea, am still interessted to get the solution.
    thank you all

  • I am having macbook air recently my iphotos did not open and was showing report apple and reopen but i came to know that by pressing alt and iphotos i open an new photo library and stored the pics but now how can i get the pics which i had in the earlier

    i am having macbook air recently my iphotos did not open and was showing report apple and reopen but i came to know that by pressing alt and iphotos i open an new photo library and stored the pics but now how can i get the pics which i had in the earlier photo please help me to recover my photos

    Well I'll guess you're using iPhoto 11:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • I've read two solutions to my problem and neither worked. I can't get the repeat option to show in some events, though it does appear in others.

    I can't get the "repeat" option to show in some events, though it does appear in others. How can i get it to show when I need it? (I read two "soluntions" that supposedly worked, but neither worked for me.)

    Greetings,
    I can't say I've seen that behavior before.  I' be curious to see a screen shot of it in the edit mode where you edit the fields.
    Beyond that I'll offer generic troubleshooting steps:
    Go to Apple Menu > System Preferences > Language & Text > Formats > Region. Region should be set to the country of your choice. Do not have it set to "Custom" as this can have unexpected results in the iCal window.
    If that doesn't resolve the issue:
    1. First make an iCal backup:  Click on each calendar on the left hand side of iCal one at a time highlighting it's name and then going to File Export > Export and saving the resulting calendar file to a logical location for safekeeping.
    2. Go to iCal > Quit iCal
    3. Remove the following to the trash and restart your computer:
    Home > Library > Caches > com.apple.ical
    Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache if present)
    --- NOTE: To get to "Home > Library" in Lion: Click anywhere on the desktop and then click on the "Go" menu at the top of the computer screen while holding down the "option" key on the keyboard.  You will see "Library" in the menu.
    4. Launch iCal and test.
    If the issue persists:
    1. Go to iCal > Quit iCal
    2. Remove the following to the trash and restart your computer:
    Home > Library > Caches > com.apple.ical
    Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache if present)
    Home > Library > Preferences > com.apple.ical (There may be more than one of these. Remove them all.)
    --- NOTE: Removing these files may remove any shared (CalDAV) calendars you may have access to. You will have to re-add those calendars to iCal > Preferences > Accounts.
    3. Launch iCal and test.
    Hope that helps!

  • We are upgrading from 8.3 to 9.2. How can i get the table(record) structure changes between these 2 version

    We are upgrading from 8.3 to 9.2. How can i get the table(record) structure changes between these 2 versions. I am not able to find it in Oracle support.

    My guess is you want to upgrade HR8.3 to 9.2 - and that is not one jump upgrade. You will need to go HRMS 83 to 90
    (PeopleSoft Enterprise HRMS 8.3x to 9.0 Upgrade (Doc ID 747333.1) and then 90 to 92 (PeopleSoft Human Capital Management 9.0 to 9.2 Upgrade Home Page (Doc ID 1536087.1)
    Each these MOS pages contains the Demo to Demo Compare Reports that show the data structures changes between the releases.
    Hope it helps.

  • I am trying to install windows 7 on my macbook pro 13", when i run bootcamp it tells me that there is not a windows support software available for my computer. Where can i get the windows support software for my macbook?

    I am trying to install windows 7 on my macbook pro 13", when i run bootcamp it tells me that there is not a windows support software available for my computer. Where can i get the windows support software for my macbook?

    Apple only supports Windows on certain hardware.
    http://www.apple.com/support/bootcamp/
    Apple provides their framework for Windows to run on a Mac, a piece of software called a Hybrid MBR that bridges the gap between how Windows reads the drive partition table (MBR) and EFI/GUID partition table that Mac's use.
    It doesn't mean Windows can't run on your Mac, a third party solution called rEFIt will also bridge the gap and allow booting of more that just Windows, Linux as well for a triple booting computer.
    Your hardware has to meet the other requirements the second and third operating system needs as as being able to install drivers that will work for your hardware, especially the fans or they will run loud and fast by default.
    http://refit.sourceforge.net/
    This above is a advanced procedure which requires knowledge how computers and various operating systems, drive formats and so forth work.
    I even admit I don't know everything myself, but I experiment on a separate piece of Mac hardware (out of warranty/AppleCare) designed for this purpose so in case something screws up I'm not taking down my only machine and can use the other to get online and find solutions.
    There is a very high potential for losing your data if your using advanced/non-Apple methods to install Windows on your only Mac where Apple doesn't support it. Also one shouldn't be doing this on Mac hardware that is under AppleCare or warranty as it might be voided. Proceed at your own risk and education.

  • I just got iphone 5c and i am not happy with it. It uses to much data and i don't even know how. I can't get the ringtones i want for my contacts.I got it on my free upgrade but i want to take it back and get something else but where i got it they say i c

    I just got iphone 5c and i am not happy with it. It uses to much data and i don't even know how. I can't get the ringtones i want for my contacts.I got it on my free upgrade but i want to take it back and get something else but where i got it they say i can't because i don't have the earbuds and i have serches or them. now i am suck with a phone i don't like at all until my next upgrade. this is very dishearten

    1. If you are this unhappy with that phone, and the lost earbuds is the only thing stopping you from taking it back, why do not just buy some earbuds. That way you can get rid of that phone. It all depend upon how much you want to get rid of that phone.
    2. Yet if you are stuck with that iPhone, here is something might help you to control the data usage. By design, iPhones do turn off WiFi when they go dormant. So if a download is in progress and so forth when the phone goes dormant, it will switch to use cellular data, if this setting is left on. Therefore, from multi-sources I have learned that if you keep your iPhone connected to a power source, then it will stay connected to the available WiFi.

Maybe you are looking for

  • Unable to Run on server..

    I am a tertiary student doing a project using Jdeveloper 11g. I just created a login.jspx and wants to run to see if my application works. Everytime i run the login.jspx, deployment fails. starting weblogic with Java version: java version "1.6.0_18"

  • Getting Error while creating Calculation view.

    Hi Expert, I was trying to create one simple calculation view using SQL script but getting below error. /********* Begin Procedure Script ************/ BEGIN create type var_out1 as table (ebeln varchar(10),menge decimal);         var_out  = CE_COLUM

  • Mac mini running very slow after downloading yosemite

    Why is my mac mini (mid 2011) 2.5GHz Intel Core i5 now running very slow in all aspects after upgrading to OS X yosemite 10.10.1? Here is a recent EtreCheck Report Problem description: Mac mini running very slow after upgrading to yosemite EtreCheck

  • I have stopped buying from iTMS - The songs don't work at home

    I am extremely disappointed and disillusioned with iTunes after being a huge fan for so long. I love the iPod and have 3. I love the whole idea of digital music and spent a fortune on iTunes while most of my friends and colleagues were using other sy

  • How to change the decimal places in the value axis of a chart in WAD?

    Hello, The key figure in my chart has 2 decimal places and I want the value axis to show the same. How to do that? Thanks in advance, Nathalie