Can I detect and handle an event already within a structure of the event?

I have a VI that would do what I want, if I could detect and handle an event of second mouse click while I'm already handling a previous event (selection from popup menu).

I hope that the picture is clear, but in words what I want is the following: I have first right-click on a chart and select a context menu item, which specifies a graphic manipulation of properties.  Often, this manipulation requires clicking on a second graph to get a reference (for example if I want to copy some of the properties of the first chart on the chart of the target).  It is, it means I'm trying to detect a second event already within a structure of the event.

I think I could do with a state machine and some registers at offset, and if it's the easiest way, I'll do it.  I would be interested to know whether, if there is a way to detect and manage events 'nested' as I suggested.

Thank you!

Your code is not really that complicated.

Yet, the problem is that confuse you it upward with the main state machine. I would use it in a small parallel loop that only manages events associated with the menu shortcuts. All this should be able to run in parallel in any event, even if the main loop updates the data in the chart at the same time, for example.

I don't like the dialog box, it hampers the flow of work, but if you use it, use two button dialog so that the user can also cancel if necessary. Instead of the dialog box, you should just temporarily move the cursor on. I also do little to check before operating on the second graph of reason and give a time limit for the second operation.

Here is a quick project to a more atomic shortcuts Manager. Modify if needed. There are probably bugs.

Tags: NI Software

Similar Questions

  • Can I install and use 2 versions of Mac OS x on the same HARD drive?

    Can I install and use 2 versions of Mac OS x on the same HDD MacPro?

    Or do I need 2 discs for each version of the system?

    I have only to consider their use aIternately. I wouldn't run them both at the same time.

    The machine is running OSX v.10.6.8

    I downloaded OSX El Capitan, but not tried to install it.

    Here are the basics of the machine:

    Presentation of the material:

    Model name: Mac Pro

    Model identifier: MacPro3, 1

    Processor name: Intel Quad - Core Xeon

    Processor speed: 2.8 GHz

    Number of processors: 2

    Total number of cores: 8

    L2 cache (per CPU): 12 MB

    Memory: 4 GB

    Bus speed: 1.6 GHz

    Boot ROM version: MP31.006C.B05

    Version of the SCM (System): 1.25f4

    multiple partitions on a single drive, but they must be partitioned and it can lead to confusion with the rescue partition but I have 4 OS on my Mac Pro and I can boot to one of them. 5 in fact, I have XP as well.

  • manipulation of refreshment of the variables within a structure of the event?

    Hi all

    Here I have my problem: I implemented in a data visualization tool, a button to get the updated file.

    But as the mail application provides new files every 2-5 seconds, I wanted to also apply a function to auto-refresh, so that the file is retrieved every XX seconds.

    I've tried several, solution workaround naïve perhaps, but the problem is that when I start the "auto-refresh", I can't handle anything else in the Control Panel, and I can't change the value of the "automatic update control ' because no doubt... He's waiting. Please find attached the photo.

    What Miss me?

    Thanks in advance,

    Edo

    Hey Edo,

    You can use the event to wait for it. Do not use a wait within a structure of the event function.

    Mike

  • can I format and install el capitan on a cover attached to the eternal road

    My MACBOOK pro is having hard drive problems. It is partitioned to run el capitan and windows 7. the partition main mac only get 75 to 80% through the start-up procedure and then hang up.
    I tried to run disk security recovery volume. zap the PRAM, tried to secure boot and FSCK nothing helps.
    I ordered a new SSD drive and need to get el capitan on the new drive.
    can I format and install el capitan on the new drive if it is attached to the macbook with a hard drive by using the 10.11.1 housing recovery tools before starting the installation in my macbook.

    Another option is to see if the local genius bar formats an installer usb for me.

    thoughts?

    Thank you

    Yes, you should be able to select a destination drive during installation. Is that what you mean?

  • I allowedI have exceeded my GB account. They refuse to pay for the excess. How can I delete and forbid them to use my WiFi? Help the pse. John (Turkey).

    I allowed a neighbor to 'Piggy Back', my access to the internet, giving them my password. They took advantage of this facility, and I crossed my

    GB account. They refuse to pay for the excess. How can I delete and forbid them to use my WiFi? Help please. John in Didim, Turkey...

    [Moved from comments]

    Hi John,.

    Unfortunately, it seems that your neighbors have taken advantage of your kindness.
    As well as the suggestion of Sanwin2 to change the wireless password, you must also change the password to your console to access router (usually accessed via the IP address in the address bar of the browser). Just do it if the Access console password was the same as your Wi - Fi connection, or by default. Please note that this is ONLY if you have a router to access the internet.
    You can contact your router manufacturer and ask how you can prevent access. Usually, you can set your router it allows only the connection from certain IP addresses that you specify. In this way the neighbors won't be able to connect at all. It would be almost impossible unless experts pirate networks.
    You can also contact your nearest branch. As they are piggybacking without your permission, she (I assume) may be classified as theft. Although I'm not 100% sure and the laws may be different in your area, you can call the non-emergency number and report your neighbor.
    Of course, have you tried to go above and asking them to stop using your connection?
    -Jet
  • Control of the event: how to stop the race while loop within a structure of the event

    Hello

    I have some problems with control of a while loop inside a structure of the event (see annex VI).

    I have 3 buttons (the "Start measurement, stop, exit the program"). When a measure is running, it should be possible to stop the measure by clicking on "Stop the measure", but it does not work.

    Someone at - it an idea?

    Thank you very much and best regards,

    Michael

    Hi Michael,

    create a process parallel to your measurement. You can use the design model "producer/consumer with vents. You'll find it with «File-> new...» ».

    Another possibility would be to remove the "lock frontpanel" sign, in the case of event start measurement.

    Mike

  • I want to save certain parameters of the test in my VI that can be viewed and handled from within the program. What is the best way to do it?

    I have a VI that will run tests on the data files. I want the parameters that define the limits that determine if the data had to be hidden from the operator of the program, but can be changed without recompiling the program. I thought to create a text file and just read the text file. I guess I also want to password protect the file so that no one can change the settings. There may be some built-in features that I don't know? Any ideas?

    Aaron

    I use the "Config leader VI' which are provided with the LV to create .ini files.  Fairly easy to protect/hide their in the final installation.

  • Call for a VI in a secondary with parameters within a structure of the event and a button give up

    Hi all

    I have a control with a tab control panel and two tabs have a panel of sup in them.  When running, I load the screw I want panels of void.  In the structure of control panel event, I want to start each screws and monitor the executing State, so I can give up the VI during his execution.  A method that I use can run the VI and the abort event will work (see example).  The second method that I use does not work and that's what I want to do!  I have several entries to the VI I want past that placing the VI in the case where blocks everything and wait the end of VI, so I can't monitor the State of execution.

    I've attached an example of what I want to do.

    Any help appreciated.

    Martin


  • I am not able to access the history button which will empty my cache memory - they light up so I can use them and I'm having a lot of problems with the function

    My computer is running stupid and I am told by my malware bytes I have no problem, and when I try to clear my cache none of the buttons work after show history. THEY're all useless and will not light upwards to use. Also, I was not able to implement zoho as my default email for all default email address = windows won't let me even though I disabled the windows messaging, I can not yet implemented zoho.com

    Make sure that you run not Firefox in private browsing mode (permanent) (don't forget the story never).

    • Tools > Options > privacy > Firefox will be: "use the custom settings for history".
    • Uncheck the box: [] "always use the navigation mode private.
  • How can I load and process a file of HTML5 with Javascript in the same way as an XML file?

    I keep a journal in local files of the weeklies that I'm converting to HTML5 of XHTML. I want to extract all 'items' on specific themes of these files and display them in different orders. It is possible to load an XHTML file using the loadXMLDoc function described in http://www.w3schools.com/dom/dom_loadxmldoc.asp , but the same function detects a parse error when it reads a file of HTML5. (For example, the parser expects that the tag of the element one empty end with / >). How to persuade 16.0.1 Firefox to use a proper parser?

    A good place to ask for advice on web development is to the 'Web Standards Development/evangelism' MozillaZine forum.

    Aid to this forum are better informed on issues related to web development.

    You must register on MozillaZine forum site to post in this forum.

  • A local application can be started and used on a page of Web site by the local user

    can we build a way for a user to a Web site to open a desktop application on the local computer and run it through a page window.  Just curious...  Thank you

    You could certainly have a desktop application open a web page in a browser, but not the reverse without the user giving permission for it. If you think to give the user the ability to use a web site without being connected to the internet, then look-up offline web sites/pages using browsers service workers.

    See-

    https://developer.Mozilla.org/en-us/docs/Web/API/Service_Worker_API/Using_Service_Workers

    PZ

  • Moved again LT - installed Thunderbird - transferred the old profile file and profile.ini - install new cases of tuberculosis shows the file Structure but I can't open to display messages

    Just moved LT from a device running on Win Vista (SP2) to the new device on 8.1 Win 64 bit
    Installed last TB for this new device and registered the profiles.ini and profile data on Dorpbox
    updated the new TB software on new device - profile folder and ini loading profile file

    'C:\Users\Martin\AppData\Local\Thunderbird\Profiles '.
    'C:\Users\Martin\AppData\Roaming\Thunderbird\profiles.ini '.

    It loaded my old settings and I can now send and receive emails.
    My question is:

    In the navihgation pane, everything is like in my last LT, but if I select a folder - it only shows me the configuration page and not the list of messages in the display pane. The only way to display these message is to click with the right button on the required folder and open it in a new tab or window. Then I can see a list of messages!

    I read area online a lot to find my specific problem, but none related, please advise?

    Thank you
    HG

    The sight of my screen to help is attached.


  • My parents has been removed and the game of solitaire on their computers. How can I find and download one for them

    My parents has been removed and the game of solitaire on their computers.  How can I find and download one for them

    You still have the Windows CD?

    Follow these steps how add or remove games in Windows XP
    http://support.Microsoft.com/kb/307768

  • 5.0.2 Android Xperia Z3 can not detect mobile data

    I just update my Sony Xperia Z3 lollipop 5.0.2. After update, I can't detect my mobile data, but there is no problem with the WiFi connection. Can someone tell me how to solve this problem. Please help me. I really need to use the Internet

    Settings > more > internet settings > accept

    to enter them manually, google "android apn settings __name of your network___.

    settings > more > mobile networks > access point names > more

  • The Panel buttons before manipulation within a structure of event

    Is there an easy way to manage buttons on the front panel within a structure of the event? I am currently using a structure of the event to bring up a settings tab, but I can only use the buttons that are designated as events. Is it possible to use non-event buttons to perform a sequence of installation and calibration within a structure of the event?

    I'm not sure that understand your question. From what you describe, you should look into an architecture of producer consumer where your event loop receives an event, and then transfers part of the work to do in the loop of consumption. This keeps your event loop free to receive events. LabVIEW 2012 comes with a good example of this, the message queue manager model project of waiting.

Maybe you are looking for

  • Bookmard records in the Yahoo toolbar is no longer in alphabetical order, in any case to fix this?

    My folders of bookmarks in the bookmarks Yahoo toolbar are suddenly out in alphabetical order. Also doesn't let me save all bookmarks. And does not allow me to open in a new tab of these favorites, it will allow for open in current tab simply not a n

  • I want to go back to Firefox 3.6; How can I do?

    I've updated to Firefox 4 and I don't prefer it to Firefox 3, 6, so I want to unupdate. Can you tell me how to do this? A problem with FF4 is that whenever I opened gmail, after one minute, the view of the screen indicates that it will not work with

  • Droid3 update fails to install

    My phone has downloaded the update and restarted. He "installed" the update and restarted again. (Given the small bar android and progress) After the reboot, a popup came up saying "update failed". Any ideas?

  • Network Load Balancing error

    Hello I have DC with 192.168.10.2 255.255.255.0 P.DNS 192.168.10.2 & ADC 192.168.10.3 P.DNS 192.168.10.2 255.255.255.0 When I configure the network load balancing in win2012r2 std I get below error. Please help on this. "NLB Manager running on a syst

  • Assessment capabilities of Windows print server for a large company automated printing solution...

    Hello I need a solution to print server for a large organization. Need your help in evaluating Windows print management for this purpose. The case: A centralized system correspondence generation will produce a "zip of PDF files" to print in various b