Lock front panel until the event case for this event completes

A Dynamic Event is a filtered event? Is this why "Lock front panel until the event case for this event completes" is not shown on Edit Event window dialog? I use Dynamic Event so I can subvi the event structure.
I need stop my app from locking the FP whenever the user double clicks on the numerical array value (<-- the FP freezes the mouse and renders it useless) and stops the value from ever being changed. This event is registered for Value Change (not mouse up or down) and I get a locked mouse. As yet in the UI, no value changed occurs but I get a locked mouse. A LV bug?
Trying to KISS, I can see this fixing this by moving ONLY the value change event to the top level VI instead of a dynamic registered event in a subVI. This will give me the option to NOT "Lock front panel until the event case for this event completes" .
Solved!
Go to Solution.

richjoh wrote:
Thx, Ben that fixed the problem when I unchecked "Lock panel...".
So it appears LV locks the panel during runtime once the Dynamic Reg Events is on BD and it doesn't matter if your case to handle the Reg Events is created or NOT... interesting. That's why my mouse persisted to "freeze up" although I deleted the case for my FP array.
Its situation like what you described that has given me many insights into how LV actually works. In one of my bbuggy VI's I found that a class wire can run a million miles through multiple sub-VI queues etc but the data itself is only touched when it has to be touched. in my case it was a crash while trying to write bogus class dat to a TDMS file.
I am glad you are back on course.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • Is it possible to display in a front panel indicator the units name (for instance, N "Newtons" or ºC) from a virtual channel that you previously defined using MAX?

    If possible, how can I do it?
    Thanks in advance With LabVIEW 6 it is clear that we can display the DAQ channel name of previously defined virtual channels, so it seems to be possible that we would be able to access to other information defined in MAX as channel units name...
    Thanks

    Yes it is possible.
    Locate the LLB:
    LV folder\vi.lib\daq\dqchnutl.llb
    There you find useful vis to handle virtual channel.
    The Get DAQ ChannelNames.vi return also the channel units

  • Unexpected effect of Lock Front Panel in Event Structure

    I have been using LV intensely for only a short time, although I have dabbled with it many times since its first appearance. The "problem" that I have had may well be the intended behaviour, but it just seems unintuitive to me. I'm writing a small application to take measurements from a USB instrument. I have already written a basic driver for the instrument, which the application calls, and the driver is working as expected. In the application, the user can configure various settings and then click an Execute button to transfer them to the instrument. The click event is handled in an event structure along with other events. Since some of the instrument operations take an appreciable time, the first action that occurs in the click event case is to disable the Execute button using a property node so that further clicks are ignored until the operation completes, at which time the button is re-enabled.
    When disabled, the Execute button is grayed out as expected and clicking it has no visual effect. However, it seems that clicks made during the disabled period are still queued and acted upon when the button is re-enabled, causing the operation to be repeated.
    It is the solution I have found that seems unintuitive to me. The Lock Front Panel check box was checked (by default) for the click event, and I assumed that this would be the correct setting. However, unchecking the Lock check box actually makes everything worked as expected. Click events occurring during the disabled period are now ignored or discarded. I'm not suggesting that this is a bug, but I'm interested to learn why it happens, if anyone can explain. I have attached a picture of a simplified version of the event case.
    Attachments:
    Sample.png ‏7 KB

    I would say what you see is expected behavior, even though it's a bit complicated.
    The "Lock front panel until the event case for this event completes" option will only defer clicks and other things generating events until the current event handler completes. So this means that the click is placed in a queue and only evaluated once the event is finished. At this time, the button is no longer disabled, so an event is generated.
    When the "Lock front panel until the event case for this event completes" is not checked, the click is immediately evaluated, but it's happening on a disabled control, so it does not generate an event.
    From the LV help:
    By default, when an event enters a queue, LabVIEW locks the front panel that contains the object that generated that event. LabVIEW keeps the front panel locked until all Event structures finish handling the event. While the front panel is locked, LabVIEW does not process front panel activity but places those interactions in a buffer and handles them when the front panel is unlocked.
    Note If an event case that locks the front panel takes a significant amount of time to execute, consider using the Set Busy function or displaying a dialog box to notify the user that the front panel is locked.

  • Hoping for some help with a very frustrating issue!   I have been syncing my iPhone 5s and Outlook 2007 calendar and contacts with iCloud on my PC running Vista. All was well until the events I entered on the phone were showing up in Outlook, but not

    Hoping for some help with a very frustrating issue!
    I have been syncing calendar and contacts on my iPhone 5 and Outlook 2007 using iCloud  2.1.3 (my PC is running Vista). All was well until the events I entered on the phone were showing up in Outlook, but not the other way around. I’ve tried the usual recommended steps: deselecting calendar and contacts in the iCloud control panel and then re-selecting, signing out of the panel and back in, and repairing the Outlook installation in control panel.  I even uninstalled iCloud on the PC and downloaded it again (same version). 
    The furthest I’ve gotten is step 2 (and once, step 3) of 7 while performing “Outlook Setup For iCloud.” At that point I get, “Your setup couldn’t be started because of an unexpected error.”  After the first attempt at all this, all my calendar events disappeared from Outlook, although they are still in iCloud calendar and on my phone.
    Sound familiar?  Any ideas on how to solve this iCloud/Outlook issue?  Thanks much in advance!

    Hoping for some help with a very frustrating issue!
    I have been syncing calendar and contacts on my iPhone 5 and Outlook 2007 using iCloud  2.1.3 (my PC is running Vista). All was well until the events I entered on the phone were showing up in Outlook, but not the other way around. I’ve tried the usual recommended steps: deselecting calendar and contacts in the iCloud control panel and then re-selecting, signing out of the panel and back in, and repairing the Outlook installation in control panel.  I even uninstalled iCloud on the PC and downloaded it again (same version). 
    The furthest I’ve gotten is step 2 (and once, step 3) of 7 while performing “Outlook Setup For iCloud.” At that point I get, “Your setup couldn’t be started because of an unexpected error.”  After the first attempt at all this, all my calendar events disappeared from Outlook, although they are still in iCloud calendar and on my phone.
    Sound familiar?  Any ideas on how to solve this iCloud/Outlook issue?  Thanks much in advance!

  • How can I display a changing variable in a subvi on the front panel of the main vi as the subvi is excuting

    In the document attached the vi on the right is sub to the vi on the left. On the subvi on the right the variable "Field Reading" is continuously updated on the front panel of the subvi as the "for" loop is executed, but only the last value of the variable is updated on the main vi front panel which is what is expected. My question is how can I display the changing value of "Field Reading" on the main vi front panel as the "for" loop in the subvi is running?
    Thank you.
    Solved!
    Go to Solution.
    Attachments:
    Doc2.docx ‏554 KB

    Hopefully I can explain it well enough. It really is simple.
    1) Create an empty global variable and call it something like User Interface References.vi
    2) For each and every control and indicator on your front panel, right-click and select Create/Reference
    3) Place these references wherever you like (I use a series of Event cases to perform my initialisation and these all live in one of these event cases). They can be placed anywhere in the main vi.
    4) For each of the references, right-click and select Create/Indicator
    5) Moving to the front panel, Cut all the indicators and Paste them in the global variable (eg. User Interface References.vi)
    6) Moving back to the block diagram, wire the global variable to each of the references and select the same named global variable.
    All the hard work is now done (until you add another user interface terminal). You should now have something that look as shown below, [except the reference labels would be to the left (not sure why the snippet put them above)]. In my latest program I have 82 references!
    Done. You can now access all your front panel controls and indicators anywhere in your program as shown below.
    You can just select Value in most cases, but in this particular case I wanted to fire off an Event to do some things (log the alarm) as well as just update the value. So, this is another bonus with the method.
    Hopefully this all makes sense. If not, let me know.

  • Disable/Lock Front Panel Programmatically

    Hello
    I have a huge project with a bunch of boolean controls. Each boolean triggers an event. So when an event is triggered, I disable all other booleans to avoid any event lock up.
    There are cases where I have to disable ALL the boolean, for ex. when saving, I disable all controls till a report is generated. Is there anyway I can lock or disable the front panel programmatically rather than use property nodes to disable them ? I am losing a lot of my real estate and VI becomes really huge (1.41 MB so far, just the top level )
    Thanks !!
    Kudos always welcome for helpful posts

    Maximus00, like you, I have a huge VI (complex UI with controls/indicators), It is now 2.5 MB in LabView 8.20 (in 6.1, it is about 5mb).  I'm looking for the same thing, that is how to disable the Event Structure "locking front panel".   Currently, I disable all 50 events for this feature, but this is cumbersome, tedious, and should be a better way.  I came across your post and wish LV had a way to programattically disable it, via a property node.    The VI I am working is large, and will most likely be used be maintained by multiple developers so it is critical that there is some way to inhibit the "locking front panel", anytime they add or edit an event.   It is definitely NOT a good thing to have the VI lock up!  By Programmatically disabling all of the event structure's locking front panel, this would protect the VI code from locking up, if a new developer is unfamiliar with the code.
    If anyone knows a way to Disable/Lock Front Panel Programmatically let us know!!
    -crazycliffy
    - crazycliffy

  • Using more than one front panel at the same time

    I have a main program where I can call sub vi’s and then the sub vi’s front panel opens.
    I want to use/see/operate more than one front panel at the same time. How I can do it?
    For example when I close the main program it won’t close before I close all the sub vi’s front panels.
    I use event case to call these sub vi’s. Can I close all vi's using one button?

    I wouldn't use subVIs for display, at least not if you plan to have them open all the time. Instead, I would suggest that you have one loop with a FP VI which will talk to the FP all the time and will pass to the data to the other loops through a variable or a functional global.
    Then, you can use a tab control to organize your display. If there is no specific reason for not having the graphs in the same VI, you can use a tab control to organize it. If you can't, you can also use subpanels to display the VIs and put several subpanels in your VI.
    If you still want to display the VIs seperately, you can control their positions and sizes through their proerty nodes, but I don't think there's any reason for this.
    To learn more, I suggest you read the LabVIEW style guide. I think it has some tips about application design.
    Try to take over the world!

  • Enable the security configuration for this panel

    Why do my panels built with Configurator sometimes display
    this in Ps Cs4?
    "Please close all panels or restart Photoshop to enable the
    security configuration for this panel"
    Closing panels or restarting Photoshop does not enable the
    panels but exporting from Configurator does enable them. Why do I
    have to keep exporting?

    I believe I have stumbled on the answer to this problem, so I
    would like to pass it along to any other users who have a similar
    problem.
    My experience is that this is an intermittent problem, so I
    asked myself what do I do from time to time that could be causing
    this difficulty. The answer is I use a program called CC cleaner to
    clean out temporary files (that in theory I don't need). I found
    that after running CC cleaner, I have to re-export the
    configuration file (as I get the error message described in an
    earlier posting) so that the configurator panel subsequently opens
    properly when I open up C S 4.
    I immediately ran CC cleaner again and found that it wanted
    to delete only one group of files that were located in the
    following folder:
    C:\Documents and settings\user's name\application
    data\Macromedia\flash player\*.*
    Accordingly, I instructed " CC cleaner", to exclude this
    folder and everything in it (from deletion):
    Now if I run CC cleaner to get rid of all my temporary
    Internet files and other temporary files, but it leaves the above
    folder untouched, and so far the configurator panel opens up
    properly in Photoshop.
    I don't use Windows "disk cleaner" so I'm not sure whether or
    not this cleaner represents a potential problem. In any event it's
    the Macromedia folder described above that causes the problem.
    It's clear that Adobe configurator uses Macromedia flash to
    do its thing, so hopefully I've solve this problem
    long-term.

  • Is there a way the user to change the equation in the formular node from the front panel on the fly, dynamically?

    Is there a way the user to change the equation in the formular node from the front panel on the fly, dynamically?

    Try the Parser VIs (also known as LV Mathematics VIs, or simply GMath VIs) located under the Analyze>>Mathematics palette (not in the Base package). You might want to start with the "Eval Formual Node.vi" located in the Analyze>>Mathematics>>Formula palette. There are many differences between these G-based, dynamic formula VIs and the LabVIEW formula node, but these VIs often prove quite useful when your formula changes on the fly. For more detail on the differences, see the LabVIEW Help file (Cntrl-Shift-? from within LabVIEW) under the topic "Mathematics VIs, parser differences with Formula Node".

  • Is there a way the user can change the equation in the formular node from the front panel on the fly, dynamically?

    Is there a way the user can change the equation in the formular node from the front panel on the fly, dynamically?

    Sorry, I don't think so. That would be pretty cool if you could create a property node for a formula node and then enter a formula on the front panel and use it to update the formula. But you can't create a property node for a formula node and the only way of modifying the formula is by typing it into the formula node on the diagram. And you can't modify a diagram of a running VI.
    You could create a VI which is only a formula node with the maximum number of inputs and outputs you expect. Have a button on the calling VI to Edit Formula. When the button is pressed, use a VI server to display the front panel on the formula VI, display a dialog box telling the user how to display the diagram of the formula VI, then stop the calling VI. (You can't edit a sub-VI while t
    he calling VI is running). The user will then need to rerun the calling VI to use the new formula.
    You might be able to do something by calling MatLab or something like that to get an interactive formula window.

  • I am trying to create an executable vi that will call out another vi and show its front panel in the executable​. When I try this I recieve this error message "top level vi (my main vi) was stopped at unknown on the block diagram of (my sub vi)

    I am trying to create an executable vi that will call out another vi and show its front panel in the executable.  When I try this I recieve this error message "top level vi (my main vi) was stopped at unknown on the block diagram of (my sub vi)

    Well the most common way is to enclude the vi's in the build spec either directly in the dependancies that the App builder automatically generates OR by declaring them in the build spec as "additional enclusions" (like you must do for dynamic vi calls in your app.
    I have heard rummors about My.app Stuff.vi in a nugget Intaris posted- and I've wanted to dig deaper into Intaris' claims- but have not tried it myself.
    If you go down the stuff.vi route Keep us curious guys posted
    Jeff

  • How to active more than one front panel in the same application ?

    Hello,
    I want to active several front panels in the same application. I am a recent labview's user and it's difficult to solve this question.
    Thanks for your help.
    Regards

    But, each VI, including each subVI has a front panel. If you want several front panels, that implies using several VIs. The top level VI will call the appropriate subVI. Each subVI that you need as a UI can be set to 'Show front panel when called' and 'close afterwards if originally closed'. These settings can be accessed through popping up on the VI's icon and selecting VI Properties..., then selecting Window Appearance, then selecting the customize button or the dialog radio button.
    Hope that this helps,
    Bob
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

  • How do I monitor parameters from a SubVI on the front panel of the main VI?

    Good day.  I have a LabView program that I am modifiying (actually it is a National Instruments demo program called Simple PID Demo).  On the Front Panel of the main VI, I need to monitor several parameters that are on a SubVI.  How do I do this?
    Thank you very much for your time and help.
    Michael

    Hi Michael,
    Global Variables should solve your problem.
    Looks like you have to pass values  from  Sub VI that will execute continously inside a main vi.
    Look at attached VI
    Hope you can implement this type of logic in your program.
    regards
    Dev
    Attachments:
    Main_1.llb ‏53 KB

  • The PWR MGMT LED on the front panel of the sup720 is off. What happen with this?

    The PWR MGMT LED on the front panel of the standby sup720 is off (But the active engine is on). We check the switch guide which states "The SYSTEM and PWR MGMT LEDs on a redundant supervisor engine or RSP are synchronized to the active module.". What happen with this? Thanks!

    HI @bingxiong.feng,
    This is not a cause for concern as Cisco says in the following link:
    http://www.cisco.com/c/en/us/support/docs/field-notices/200/fn28695.html
    HTH.
    Rgrds,
    Martin, IT Specialist

  • How can I display the front panel of the dinamically loaded VI on the cliente computer, the VI dinamically loaded contains files, I want to see the files that the server machine has, in the client machine

    I can successfully view and control a VI remotly. However, the remote VI dinamically loads another VI, this VI loaded dinamically is a VI that allows open others VIs, I want to see the files that contains the server machine, in the client machine, but the front panel of the dinamic VI appears only on the server and not on the client, How can I display the fron panel with the files of the server machine of the dinamically loaded VI on the client computer?
    Attachments:
    micliente.llb ‏183 KB
    miservidor.llb ‏186 KB
    rdsubvis.llb ‏214 KB

    I down loaded your files but could use some instructions on what needs run.
    It seems that you are so close yet so far. You need to get the data on the server machine over to the client. I generally do this by doing a call by reference (on the client machine) of a VI that is served by the server. THe VI that executes on the server should pass the data you want to diplay via one of its output terminals. You can simply wire from this terminal (back on the client again) to an indicator of your choosing.
    Now theorectically, I do not think that there is anything that prevents use from getting the control refnum of the actual indicator (on the server) of the indicator that has the data, and read its "Value" using a property node. I have never tried this idea but it seems t
    hat all of the parts are there. You will need to know the name of the VI that holds the data as well as the indicator's name. You will also have to serve all VI's. This is not a good idea.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

Maybe you are looking for

  • Strange performance issue in bex report

    Hello Experts, I have a performance issue on my bex report. I'm running the report with below selection criteria and getting 'too much data' error. Country :  equals EMEA Category: not equlas 13 Date : 02/2010 to 12/2010. But when I ran the report fo

  • Missing conditions in my query

    Hi all I am trying to develop custom report Following are the columns which I required while running the query its showing incorrect data and duplicates too Not sure where I am missing Pls suggest me whether the conditions which I gave are correct or

  • Disable table scrollbar

    Hi, is it possible to disable the right scrollbar of the table view component so it is not visible anymore? Best regards, Kevin

  • jsp:directive-include fails when deployed to 10gAS (10.1.2)

    I am working on an ADF-Faces application (EA17) but am struggling with some issues that only appear when we deploy the application. One is an IllegalStateException that I mention in an earlier posting and an other is that the < jsp: directive-include

  • Email Validation - Regular Expression

    Hi, I want to validate the form of an email address using a regular expression. I have come across one, but I get an error. Pattern p = Pattern.compile("^([a-zA-Z0-9_\-])+(\.([a-zA-Z0-9_\-])+)*@((\[(((([0-1])?([0-9])?[0-9])|(2[0-4][0-9])|(2[0-5][0-5]