Application pauses during user interaction

Hi all,
I have a LV app essentially composed of three parts:
- one main free-running loop that takes care of the app logic and the fp indicators
- one loop containing an event structure for extra dialog windows
one vi running in the background performing data acquisition from a
serial device
The application is "paused", that is fp indicators are no more updated, in two cases:
- when the user opens a control shortcut menu
- when the user opens the selection list of a menu ring (this is the only menu ring on the main front panel)
The data acquisition vi is not paused, as expected (it is not executed
in the UI thread). 
The application continues to run when the menu or list disappear.
I tried to reproduce this behaviour in a small vi that I could post, but with no luck.
The first condition can be obviously neutralized by inhibiting shortcut menus from being displayed, but I have no solution for the second condition.
Thank you in advance for any suggestion.
Message Edited by pincpanter on 03-09-2009 03:39 PM
Paolo
LV 7.0, 7.1, 8.0.1, 2011
Solved!
Go to Solution.

Ciao Licia,
finally I could work on the problem and narrow down the cause: the application locks on a Open VI Reference node whenever the menu ring is showing its selection list.
That operation was not really needed and so I could drop this part of the code. Remark that LV locks whether the dynamically called vi exists or not. I'm attaching a simple example.
I guess if this is expected behaviour and what would happen with more recent versions.
Bye
Paolo
LV 7.0, 7.1, 8.0.1, 2011
Attachments:
Provablocco.vi ‏23 KB

Similar Messages

  • Prevent a control from updating during user interaction

    I have a slow (couple of kBauds) serial link to a device that I want to control from within LabView.
    There's an event loop that takes care of processing the control changes. When a control changes, the thread acquires a semaphore to access the serial link, sends out the new value and releases the semaphore again. In another thread, the device is periodically polled for actual values. All that works fine.
    The problem is that, due to the lag of the link (and polling and sending happening in two different threads), the newly set parameters are returned with a delay. So let's say, I have a slider from 0-1000 and I slide it down from 1000 towards 0. While I hold the mouse down on the slider, dragging it, the communication thread returns a value that is different from where the slider is at and therefore sets the slider to an outdated value. That makes the slider jitter and that's what I need to get rid of.
    I think this is a common problem, yet I couldn't find a straightforward solution. Basically, what I was looking for was a property "isEditing" or "isDragging" which I could check and then not update the control when this is true, to prevent that race between events. Does something like that exist? How do you guys tackle such a problem?
    Thanks,
    z

    zeeed wrote:
    I have a slow (couple of kBauds) serial link to a device that I want to control from within LabView.
    ...and therefore sets the slider to an outdated value. That makes the slider jitter and that's what I need to get rid of.
    I think this is a common problem, yet I couldn't find a straightforward solution. Basically, what I was looking for was a property "isEditing" or "isDragging" which I could check and then not update the control when this is true, to prevent that race between events. Does something like that exist? How do you guys tackle such a problem?
    Thanks,
    z
    THe first part of this post got wiped out by the goffy forum editor. I do not have time to retype it....
    applied when you get a new value from a queue or by polling the current value.
    While changing...
    THe control must act as control and must over-ride the widget value. The natural thought would be to put that code in the value change event... but how to do it such that the value does not get over-riden?
    Put SOMETHING inbetween that can mange the value. You could go as far as to develop an QMH (Queued Messae handler) or similar inplace to handle the logic but I don't think we have to go that far. I would first concider developing an Action Engine to act as the traffic control you need.
    Applying an Action Engine
    i would use the AE to intercat with the widget and store it curent value. YOu will need an Init Action and a Close action as is normal but I would include two mtehods that would help you with the Over-ride.
    Get Value - This action will read (using serial query) the current value of the widget and return the value to the caller. You could also have a "Read' or similar that would retireve the value from a Shift Register inside the AE. This action would be called regularly in your T.O. event and will keep the contro lupdated as to the widget value.
    Set Value - Would be the key action that can help you out. THe details depend  on the widget but in general the Action would acept the new over-ride value and use it to send the comand to the widget to set the new value AND will query the widget to ensure the widget took the seeting or reached that value. After the widget is done, the new value is cached in a SR in the AE so that the latter checks by the TO event give you the value you set.
    If you read the Nugget i linked you will see how an Action Engine blocks calls while it is running. By putting the code to set the widget value in the AE, you can ensure the widget went to the new value before any update code can read an old value.
    The above is just one idea and there are others. I would think other solutions would all involve putting some type of traffic control inplace so the AE is a natural solution.
    Note:
    I have used similar approaches in the past to enforce safety logic to ensure the automatic PID updates do not over-ride a safety-shutdwon scenario.
    I hope this helped more than it hurt,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Front Row pauses during DVD play

    I've played at least 5 (3 of which were brand new) different DVD's in Front Row that randomly pause during play. After a few seconds the movie continues to play. I took the computer into the store to have the optical drive replaced, but it keeps happening. I tried just using DVD player and the same thing happens. Since the drive has been replaced, now I get "skipping over damaged area" when it pauses (only in DVD player). These are BRAND NEW dvds, there's no way they can be damaged already. Any ideas, suggestions, anything???

    That's interesting. Since it doesn't seem to be a hardware problem, you might use the Accounts System Preferences to create a brand new user. Log out and log in as the new user. Does the DVD Player application give you the same trouble when logged in as the new user? If not, then a preference or setting your original user has must be interfering. Or some kind of preference file corruption. If the new user does have the same trouble, it might be time to run the Disk Utility and make sure your permissions are repaired and the disk is repaired. If that still doesn't help, it may be time to do an "archive and install" of Mac OS X to get a good copy of the DVD Player application back...
    -Doug

  • When converting certain Excel documents a user interaction is required to save the document.

    I am using a WebService to open an excel document and save it as PDF.  The webService will then return the PDF to my software.  The problem being that some Excel documents have formulas in them that automatically change the document when it is
    opened.  When my webservice closes the workbook, a prompt is displayed requiring a user to click save in order for the Excel service to stop and my webService to gather the PDF and return it to my software.  During my testing I never get this
    prompt, even if I use one of the "affected" PDF's.  When I run this live we ALWAYS get this prompt.  What am I doing wrong? 
    I have installed the registry key that is supposed to get rid of the save dialog boxes, didn't help.
    I have changed the save settings in MS Excel, didn't help.
    I have changed the DCOM settings for the Excel application to different users and interactive user, didn't help.
    I have edited the application pool identity to see if that was the reason, didn't help. 
    I have been all over this to no avail.  Do any of you have any ideas I didn't think of?  Thank you.

    What does the registry key you installed ?
    If you want to get rid of the save dialog box, you can try to use the VBA code.
    Private Sub Workbook_BeforeClose(Cancel As Boolean)
    Me.Close savechanges:=True    "close and save changes, don't ask".
    Me.Close savechanges:=False    "close and don't save changes, don't ask".
    End Sub
    Wind Zhang
    TechNet Community Support

  • Error while assigning an application to a user

    Hi All,
    I am new to Oracle Database Lite. I have created a new user and i want to assign a Sample application which comes while installing the mobile server. But while assigning the Sample application to a user through the application page, i got "ERROR: VIRTUAL PATH IS NULL" and when i wanted to assign the Sample application to a user through the user page, i got "Error in executing " Save application ":oracle.lite.web.resource.ResourceException: CONS-10050: Rollback failure: java.sql.SQLException: Io exception: Connection reset by peer: socket write error "
    So can any one help me how to resolve this error so that i can assign the application to a user?
    Any help is welcomed.
    Shrikant

    Thanks Scott. I've also been looking for a pattern of consistency that would point to the cause of the problem but have been unable to find one. I was hoping that others may have experienced the same error and could help to shed some light here.
    I dug around some and found that the wwv_flows_alias_idx constraint is a unique index on the alias and security_group_id columns of wwv_flows. My application has an alias that is the same for all installations so I thought that somehow a previously used value for security_group_id was being generated causing the unique constraint violation. Can you tell me how that value is generated during the install process? Is it some sort of hashing function?
    Thanks

  • MDOP 2013: App-V 5 SP2 Application Publishing and Client Interaction Guide Now Available

    Hello App-V forum users,
    Do you want to understand the details of how App-V publishes and runs applications? See
    this Springboard Series blog post, which describes the newly available App-V 5 SP2 Application Publishing and Client Interaction Guide.
    Enjoy!
    -Tony
    IT Pro Audience Manager for Web Forums

    Hello,
    I am truely confused by how you are attempting to achieve things.
    1. The Office 2013 package is only supported if deployed globally
    2. AppLocker is the way to restrict users from starting different applications
    3. Office 2013 is not supported to be published to users
    It seems you have issues with #3. Which is not supported. I am not saying it "doesn't" work, but considering you have issues with it - perhaps we can start by not doing it?
    Ok, so what do we have left;
    Per your statement, Office 2013 is published globally. Ergo, all shortcuts and applications should be available to all users.
    Is this true?
    Nicke Källén | The Knack| Twitter:
    @Znackattack

  • Error in Installation of Aqualogic User Interaction 6.5

    Hi,
    I have installed Aqualogic User Interaction 6.5, with Weblogic 9.2, Apache 2.0.63, Oracle 10g.
    Portal Diagnostic is running successfully.
    But while i am trying to start the weblogic server it is throwing me the following error-
    Task 'InitPortalObjects' failed on startup
    Task #1 <InitPortalObjects) Step#3
    OpenKernal Initialization Failure(Java)
    Recommendation:Review the detailed exception listed below for specific analysis. Check that pthome.xml is in the correct place,check that the PT_HOME environment variables points to it, and check that your database settings by runing ptconfig. Check that your database settings by running ptconfig. check that the portalconfig.xml file is accessible by the web application server.
    My pthome is in the correct place, also the PT_HOME is pointing at the correct place.
    Also the weblogic is pointing to the other machine. Is this the reason for the above error?
    Thanks in Advance!

    Hi Patel,
                         Thanks for your update.
    Regards,
    Hari.

  • Error when setting GPO Display information about previous logon during user logon on Wins 7

    We recently try to deploy a GPO on our network (All Server 2008 and Windows 7) to show previous logons during
    user logon. The setting is located in Computer Configuration| Policies |
    Administrative Templates | Windows Components | Windows Logon Options | Display
    information about previous logons during user logon = Enabled. Our domain
    level is set to Windows Server 2008. I verified that it is Windows Server 2008
    on Domain and Trust.
    Here is the article about this setting
    Active Directory Domain Services: Last Interactive
    Logon
    But after we deploy the setting, we are no longer able to login
    to any of our windows 7 machines. All of them got an error message said :
    “Security policies on this computer are set to display information about the
    last interactive logon. Windows could not retrieve this information. Please
    contact your network administrator for assistance.”
    The setting
    worked on windows server 2008. I was able to login to DC and revise the setting,
    so we can log back in the windows 7 machines.
    Anyone has experience this
    issue before? I looked up all of the web and only thing they said is to make
    sure the domain functional level must be set to Windows Server 2008, which it
    is.

    Hi,
    Have we also applied this setting to domain controllers?  To make this policy work properly, we also need to apply this setting to domain controllers. If not, users will not be able to log on to the system.
    Regarding this point, the following article can also be referred to for more information.
    Group Policy Setting of the Week 35 – Display information about previous logons during user logon
    http://www.grouppolicy.biz/2010/07/group-policy-setting-of-the-week-35display-information-about-previous-logons-during-user-logon/
    Best regards,
    Frank Shen

  • Problem with Policy "Display information about previous logons during user logon"

    Hello,
    I've a problem with the Policy "Setting Display information about previous logons during user logon".
    It is applied correctly on computer, but I can't login anymore and message "Security policies on this computer are set to display information about the last interactive logon. Windows could not retrieve this information. Please contact your network administrator
    for assistance" is appearing.
    My home test domain has 2008 R2 functionality level since months, and I've raised my company infra level functionality to 2012 this morning. Both domain are making the same error.
    This is non-sense, so any idea how to troubleshoot it ? Thanks in advance ! ;-)
    PS : I was able to remove it in order to login again, no worries on this one...

    Did you follow the guidance in http://technet.microsoft.com/en-us/library/dd446680%28v=ws.10%29.aspx?
    Especially the following paragraph - the setting has to be applied to DCs and Members...:
    You configure last interactive logon through a GPO. You must configure the following setting for the GPO with domain controllers in its scope of management if you want to report last interactive logon information to the directory service:
    Computer Configuration| Policies | Administrative Templates | Windows Components | Windows Logon Options | Display information about previous logons during user logon = Enabled
    If you want to display last interactive logon information to the user, you must configure this setting for both the GPO with domain controllers in its scope of management as well as any GPO with Windows Server 2008 and Windows Vista client
    computers in its scope of management.
    Martin
    NO THEY ARE NOT EVIL, if you know what you are doing:
    And if IT bothers me - :))
    Restore the forum design -
    Martin-
    I'm struggling with the TechNet article you direct us to.  We see in the TechNet article that Last Login Notification works ONLY with Server 2008 R2 and Vista.  Do we interpret that correctly?
    We need it to work with Server 2003, Server 2008, Win7, Win8, Win8.1, Server 2012, et. al.
    What is the work around to enable *Last Login Notifications to Users* functionality for these OSs?
    Thanks in advance,
    Robin

  • Is it possible to remove user interaction in a eventListener ?

    Hi,
    I am working on two scripts that both need to deal with the user interaction.
    This following script works just fine. The only matter is that Indesign alerts me that the script prevented the UI dialog from opening.
    What if I don't want any alert ?
    #targetengine "newdialog"
    Application.prototype.main = function(){
         //app.addEventListener ("beforeNew", preventMe, false);
         var myMenuAction = app.menuActions.item("$ID/Document...");
         myMenuAction.addEventListener ("beforeInvoke", preventMe, false)
    function preventMe(myEvent){
         //alert(myEvent.cancelable);
         myEvent.stopPropagation();
         myEvent.preventDefault();
    app.main();
    I thought about userInteractionLevel but I tried to use it recently and I couldn't get it working. My intention was to get an automated update of my modified links when opening a file.
    It's like
    app.scriptPreferences.userInteractionLevel
    couldn't be set once the script has been launched.
    #targetengine "autolinkupdate"
    main();
    function main(){
         var myMenuAction = app.menuActions.item("$ID/kPMOpenDocTextKey");
         myMenuAction.addEventListener("beforeInvoke",removeInteraction,false);
         //app.addEventListener("beforeOpen",removeInteraction, false);
         app.addEventListener("afterOpen",updatelinks, false);
    function updatelinks(myEvent){
         var doc=myEvent.parent;
         var lk = doc.links;
         for(var i=0; i<lk.length; i++){
              try{
                   lk[i].update();
              catch(e){}
         app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;
    function removeInteraction(myEvent){
         app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
    So my question is : Is it possible to remove user interaction in a eventListener ?
    Thanks,
    Loic

    Assuiming NHTEST is a database link to the remote database connecting with SCOTT, use user_Tab_cols@NHTESTNicolas.

  • ABAP WD application - Dynamic filling adobe interactive form

    Hi,
    I am developing a WD Application which has  Adobe interactive form in which when user enters an input field 1 it should automatically populate respective values for input field 2 in the same form.I have this relation maintained in ztable.
    How do we handle this?
    Rgds
    Vara

    Mahesh,
    Sorry for the confusion.
    Here is my req..
    My WD application will have a parameter-Inputfield1 for entering job number
    My interactive form will have
    - Inputfield1 as header.
    - A dynamic table with inputfield2 & inputfield3
    Inputfields2 as item values - should be filled automatically after user input inputfield1 ,
    inputfields3 will be manual entry from user
    Finally i should take all these 3 values and submit it to SAP.I can have a SUBMIT button for this at the end of the form.
    rgds
    vara

  • User interaction on VI and subVI running simultaneously

    By using labview6.1 how can i create an application which hav some buttons on the vi (say parent VI) & on clicking on any of these buttons will pop another VI(say child VI) to execute.
    NOTE :: Any child VI's(subVI) "Diagram" is in a while loop i.e. it will not return and has to wait for the user interaction.
    PROBLEM :: Initially if i clicks on any button present on parent VI then
    the corresponding childVI pops up and start executing,thats fine...., but
    now if i clicks another button present on parent VI then the click event doesnt works i.e. one more child VI doen't comes up.
    The conclusion is that the Graphical user Interaction can be only on called
    SubVI(while in execution) but not on the main VI si
    multaneously.
    I hav searched examples for the similar kind of problem but didnt found any. Kindly help me for rectifying the above problem.

    You have partially answered the question yourself;
    "NOTE :: Any child VI's(subVI) "Diagram" is in a while loop i.e. it will not return and has to wait for the user interaction."
    The fact that the parent is halted until the sub-vi returns is in other words as it is supposed to be; it's data flow controlled execution...However you can put the sub-vi in another loop (that way only that loop will halt), or you can call it dynamically using an invoke node with the wait until finished set to false.
    MTO

  • Auto-install updates, with no user interaction?

    Due to problems with malware, we can't really trust everyone to be logged on with administrator privileges all the time as it used to be with Windows 2000 and XP. Consequently the installed software can not be modified by staff anymore.
    This doesn't affect Windows Updates since those can be configured to install automatically on a schedule without any user interaction or privilege elevation.
    Java for Windows however does not detect when a logged in user does not have administrative rights, so it offers updates to everyone who logs on, including people who can not and will not ever be able to install the updates.
    One "solution" is to turn off the update checking so that people aren't hassled by useless update notifications, but then this means Windows desktops will gradually fall further and further out of date, opening them up to attack by malware that exploits unpatched bugs in older Java versions.
    The proper solution that I really want, is for Java to be capable of auto-update and self-install without any user interaction or privilege elevation at all. However so far I have not found a solution for this.
    A hack may be possible using Windows group policy, the Windows Server task scheduler, and a java website screenscraper.
    Nightly:
    * Screenscrape Java.com for a newer client version
    * If new one is found, download, put in global read-access share
    * Using a database of machines known to be running Java, flag each candidate that's using an older version
    * Wake-on-LAN the machines needing the update
    * Schedule a remote install of the update with Administrative privileges
    * If update successful, clear flag for that machine in central database
    * shut down again for the night.
    OR
    Java programmers could implement an auto-install mechanism of their own, that can run by itself without user interaction at system startup, shutdown, or on a timed schedule set by the administrator through registry entries (and therefore configurable via group policy applied to desktops).
    ==========
    How are other network administrators handling managed business desktops that need periodic, automatic, and non-interactive Java updates?

    We use Altiris Software Delivery solution to deploy our Java updates but you could also use similar solutions such as Microsoft System Center Configuration Manager.
    The problem is that these are both options that cost money and require investment and training.
    Altiris allows you to create a collection based on the text string held in the Add/Remove Programs list (as well as other fields) - so you can easily create a collection of computers that do not have the required version of Java.
    You can then create a software delivery task to silently install Java with admin rights and target it towards the collection that needs updating.
    The collection updates dynamically. As the computers get Java they drop out of the collection and are no longer targetted for upgrade. This used to work well for me - as I could update about 500 machines in about 2-3 days.
    The problem is that the Java installer doesn't work consistently as you mentioned since JRE 6u25 - the installer doesn't always behave as expected and the switches to do silent installs keep changing. You also have a problem if you try to update Java and the person has their web browser open... Yes, I do my updates during working hours as well.
    In a constantly changing environment in terms of security - you'd think Oracle would have sorted the deployment options out by now?

  • Deployment with minimal user interaction

    We are interested in deploying iPads to users in our company, but we want to do so with minimal user interaction. From what I can tell the best way to do this would be to sync our iPads with one computer and have that computer's iTunes manage the applications that can be installed on all device.
    What features would our users not have access to without having direct access to iTunes on their own computer (e.g., data backup)?
    Why would doing this not be a good idea?
    If after the initial setup we would like to install another application, must we physically obtain the device(s) again to install the application?

    halabaluba wrote:
    We are interested in deploying iPads to users in our company, but we want to do so with minimal user interaction. From what I can tell the best way to do this would be to sync our iPads with one computer and have that computer's iTunes manage the applications that can be installed on all device.
    What features would our users not have access to without having direct access to iTunes on their own computer (e.g., data backup)?
    Why would doing this not be a good idea?
    If after the initial setup we would like to install another application, must we physically obtain the device(s) again to install the application?
    Who will own the iPads?
    Will you allow them to take the iPads home?
    If they take the iPads home and sync them at home (they will) then anything you installed from your central computer is GONE. The only thing that will stick is the setting you deployed using the “configuration utility”.

  • Silent Flash player Autoupdate over internet without user interaction

    Is it possible to set Flash Player to auto update without ever having any user interaction?  We don't have any internal application depending on flash player so I would like to install an version of flash update with auto update settings and forget it.
    I did install 15.0.0.152 with settings:
    mms.cfg:
    AutoUpdateDisable=0
    SilentAutoUpdateEnable=1
    But it has updated to 15.0.0.167 instead of 15.0.0.189.   Does the autoupdate use always the latest version or does it install only critical updates?  Why did I get 167 and not 189 ?  I can see that the task launching the auto-update run every hour, with default settings, but no new updates are made, wheter my browser (IE) is running or not.

    Please do the following.
    Open IE6, go to Tools and then Manage Add-ons.
    Change the menu dropdown (on the left) to "All Addons", then scroll down to Adobe (if it's there) and then check the version number. The current version is 11.1.102.55 (See screenshot)
    If it's not listed, or if it's a different version, download this uninstaller, but choose to Save it (doesn't matter where). Do not choose "Run". http://download.macromedia.com/pub/flashplayer/current/uninstall_flash_player_32bit.exe
    After you save the file, close IE.
    Run the uninstaller (even if Flash is not listed in Manage Add-ons) and then reboot.
    Next, go to: http://get.adobe.com/flashplayer/ and when you see the prompt, choose "Run" to install it immediately. Oh, and uncheck any third party installation options like the Google Toolbar / McAfee. You can install those any time.
    Go back to Manage Add-ons and confirm that 11.1.102.55 has been installed.

Maybe you are looking for

  • New ipod touch 5 not recognized in itunes

    Hi - Just got new ipod touch 5 with new style connector.  I have latestest version of itunes (even uninstalled / reinstalled it 10.7.0.14) Pod has been fully charged externally, Pod is not recognised through USB port direct connection - I have tried

  • Optimizing for different web browsers? Help

    Hi, I have a spry horizontal nav bar at the top of my page. I originally made the page viewing it using Chrome. When I look at it in IE, the spry bar is always bigger, covers up its container border. I cant seem to come to a compromise between the 2

  • What is the exact definition of PO status "Changes transmitted" ?

    Hi' Can any one tel me what is the exact definition of PO status "Changes transmitted" ? We are using a SRM05 system. Thanks.

  • Nodes got deleted from MMC console :-(

    Hi gurus ; Actually when i was Starting my SAP server both Java and Abap nodes, the power was gone.. Again when power came i see no nodes under MMC... i checked in services.msc to start the SAPDM0_01 but i dont find one there, their is only SAP0Scol

  • Editing 4k Desktop

    Hi, I just got a GH4, and I am looking for a desktop powerful enough to edit my 4k files from the GH4. I use Premier Pro CS6 and After Effects. Most projects will be downscaled and exported as 1080p, although I plan to deliver some of my work in 4k.