force the application to update

I created an application of labwindows possessing a long process (about 5 minutes). During this process, I use the progressdialog while he waits to complete. If I'm doing something else on the computer, stop the GUI (for example file to open a web browser or text), updated itself, but the application is still running. Is there a way to force the application to update its UI? In this way the user can see the progressdialog update instead of being stuck at somepoint until the entire process is completed.

Thanks in advance

You could try ProcessSystemEvents instead of calling events draw - I think that ProcessSystemEvents is implemented as something grabbag of functions that allows Windows to Windows wants to do when you call him, made more than the draw of call events.  From what you describe, your main window is not be repainted.  Normally, the queue of messages in the main window would receive "repaint" the messages sent by the operating system, and it needs to process windows messages to do to repaint.  If you take the main thread and have it do something, he won't have to have a chance to process messages, unless you allow.

Sleep policy setting does not seem to this help directly, isn't it?  Put the main thread to sleep periodically can help other process go forward, but it does not help your application CVI, I don't think not-maybe I misunderstood the policy of sleep.

If you had a main window message callback installed and had it "swallow" messages to repaint I guess he could act this way - but you don't I'm sure.

And the modality of your foreground Panel should not stop the main draw to repaint I would - even if the top panel was "modal" (all limited KB/mouse events to and managed by the top panel - no allowed on the main table) I think that the underlying main table should always repaint when you move the top panel.

Good luck - let us know if solve you this problem.

Menchar

Tags: NI Software

Similar Questions

  • force the application to create the file at different location (junction?)

    I use to create Ifolor photo albums. It creates its own folder under 'Documents' that problem because the content is huge and messes up my synchronization of this Document.

    I would like to force Ifolor to create his work top-level folder, in the same place in the form of Documents. There is no option in the program to do.
    How can I do this? Create a junction would do the trick? (e.g. mklink C:\Users\PC\Document\Ifolor C:\Users\PC\Ifolor)
    Ideally, I would like to not only uses folder Ifolor in another location, but also that it creates not the Ifolor folder to the default location for under Documents to it seems to do every time I start the application.
    Or in the registry? Where that would usually be?
    THX!

    in the meantime found the solution:

    Downloaded 'junction link magic', then created a junction between C:\Users\PC\Document\Ifolor and C:\Users\PC\Ifolor.
    the Ifolor application is duped and works very well in the right place.
    Yet, there is the shortcut of junction that show under the terms of the Document, which is fixed by hiding with folder (properties)
  • How can I reinstall Acrobat if Application Manager indicates that the application is updated, but is absent?

    I uninstalled Acrobat 11 using the uninstall program, and now I can't reinstall because the Application handler specifies that the application is actually updated. The application went from my hard drive and all files of application support disappeared as well. How is - this application manager is considering the application is still installed? Is there a way I can download without the application manager?

    Hello

    I was able to run this: http://www.adobe.com/support/contact/cscleanertool.html

    Needed to ensure that 'ALL' has been selected in the menu drop-down to make sure that Acrobat has shown in the list. Removed and managed to install.

  • Need to make a distinction between the removal of the application and update app

    Hi, I'm working on an application where I save the files on the SD card and then delete them when I delete the app.

    I used an app application background CodeModuleListener (modulesDeletionPending), it works in case of deletion.

    But the problem is - I want to keep these files when the user upgrades the application, in this case, as we get a reminder in 'modulesDeletionPending', it would be great if anyone can guide me as to what should I do differently during an upgrade.

    Kind regards

    Sarnab

    Hello sarnab2,

    I don't think there is an easy way to monitor this. A secondary application could check at startup if your primary application COD files exist and, otherwise, delete it the data on the SD card and then delete itself:

    http://supportforums.BlackBerry.com/T5/Java-development/can-an-application-uninstall-itself/m-p/3034...

    Erik Oros

    BlackBerry Development Advisor

  • I had problems with the application Manager Update, then I was instructed to re - install the product now I can not install I get the error

    Cs6 bought for more than a year, and recently had problems with the application manager, then I was instructed to re - install the product now I get errors after downloading to install it, so now I don't have cs6 on my computer, I can't go to adobe as I keep getting palmed to do that and the next thing , why can't I talk to someone why my program is not installed.

    It's ok now, I used the creative cloud cleanser and then tried to install again and bingo! everything fine now, thanks anyway

  • publish in the application of updates of the value of database Patch (UAP)

    Hi all

    I am applying Patch 8576156 to 10.2.0.4 on AIX 5L. I am referring to the README file for even where section Post installation instructions say
    Recompilation of the views in the database
    --------------------------------------------------------
    "Run the script to view recompilation. Note that this script is run with the database upgrade mode, which limits connections such as SYSDBA.

    CD $ORACLE_HOME/cpu/view_recompile
    sqlplus/nolog
    SQL > CONNECT / AS SYSDBA
    SQL > SHUTDOWN IMMEDIATE
    SQL > STARTUP UPGRADE
    SQL > @view_recompile_jan2008cpu.sql
    SQL > SHUTDOWN;
    SQL > STARTUP;
    SQL > QUIT

    --------------------------------------------------------

    the problem here is, I can't find any directory with the name 'cpu' in my ORACLE_HOME
    CD $ORACLE_HOME/cpu/view_recompile
    bash: cd: /u01/app/oracle/product/10.2.0/cpu/view_recompile: no such file or directory

    As I am new to Oracle, any help on this would be much appreciated.

    ARS says:
    Thank you for your quick reply.you mean, required by 'cpu' directory would be created after the application of the modified binary files?

    Yes, it should.

    No, I have not applied the modified binary files and yet I'm going in the README file to estimate downtime and prepare the tabling action.

    Don't forget to apply it in a test env first before making the abything on your prod.

    Nicolas.

  • User passwords do not work at the level of the application after updating of the database

    Hello

    Working on the updating of the database user passwords do not work for front end users but the same passwords work at the db level.

    We backup before refresh and restraint after the update, but if the user tries to connect to db, they receive the error invalid password/username.

    but passwords are working at the level of the DB if reset us the password then it works fine, but we cannot do this for all users of all time. can someone share the knowledge or solution for this problem.

    DB version: 11.2.0.3

    operating system: AIX

    Thank you

    892574 wrote:

    Yes, the process is correct.

    We are capture passwords user via display SYS. USER$

    I didn't see any errors in the logs I see only out put modified user.

    Thank you

    Do you mean that you update the column SPARE4 of $ USER (which is a table, not a view)? I don't think it will work, because the password is salted with a random string that will be different in the two databases. It might work if you return to the use of passwords for 10g, which are salty with the user name. See here, the 10 GB hash stored in the PASSWORD column is the same in the two databases, but the 11g in SPARE4 hash is different:

    orclz >

    orclz > conn sys/oracle@orclz as sysdba

    Connected.

    orclz > create user fred identified by Ginger;

    Created by the user.

    orclz > select password, spare4 of user$ where name = 'FRED ';

    PASSWORD

    ------------------------------------------------------------------------------------------------------

    SPARE4

    ------------------------------------------------------------------------------------------------------

    9C592D45D54D1FB2

    S:DF5BEC6914DFF48B39261EAA4DCF5746A309E50E791F6F90FBF2F33A8CD5; H:22E34131E43CC3DF07440A0DC2A45F22

    orclz > conn sys/oracle@orcla as sysdba

    Connected.

    orcla > create user fred identified by Ginger;

    Created by the user.

    orcla > select password, spare4 of user$ where name = 'FRED ';

    PASSWORD

    ------------------------------------------------------------------------------------------------------

    SPARE4

    ------------------------------------------------------------------------------------------------------

    9C592D45D54D1FB2

    S:4FE5925E671719B9CA5904C42AAD965753CAC4891C31F1BA9B9DA83D3255; H:22E34131E43CC3DF07440A0DC2A45F22

    orcla >

  • Disable the application interface updates

    Hi all

    I m scripts long operations and would like to hide from users.

    Do you know if it s possible to disable InDesign update interfaces?

    Concerning

    Hey!

    Try this:

    // disableapp.scriptPreferences.enableRedraw = false;
    
    // enableapp.scriptPreferences.enableRedraw = true;
    

    Hope that helps.

    --

    tomaxxi

    http://indisnip.WordPress.com/

  • [CS3 JS] How to force the update of XMP metadata for a thumbnail?

    Hi people,

    In a JavaScript in Bridge CS3, I update a value in the XMP metadata for a thumbnail. Later in the script I want to read the updated metadata XMP of miniature, but often the bridge didn't updated metadata at the time wherever I read it. In other words, my script reads the value before the update. I guess there is a problem of ongoing caching.

    I'm new to the bridge of script, and I hope someone here can offer suggestions on how I can (or even * if * I can) force the bridge to update the cache of the XMP metadata to a file so that when I read it later in the script reflect the recent changes. I tried to use Thumbnail.refresh (), but this does not seem to do the trick. I don't mind a slow script, I just want to be able to read the correct value.

    Thanks in advance for any help!

    -Jim

    Where is the line?

    Thumb.Metadata = new Metadata (updatedPacket);

    Try

    app.synchronousMode = true;

    Thumb.Metadata = new Metadata (updatedPacket);

    approx. synchronousMode = false;

    Metadata default bridge updates arrive in the background and not on the main thread, but using the mode synchronous here your script only continues to the next line, until the operation is complete.

    -David

  • With the new Apple TV, I'm stuck on a black loading screen in the application to access all CBS. How can I solve this problem?

    I have the new Apple TV, and after seeing a show in the application to access all CBS I'm stuck on a black loading screen. This happened almost 10 minutes now and I don't know what to do to be able to find the main screens of the application and to be able to continue to watch the shows within the app.

    Press twice on the logo TV button then slide upward on the touchpad.

    The CBS app is stuck and hitting the button twice allows you to force the application to quit.

  • LabVIEW run engine time included in the application exe

    Hi all

    Back in LabVIEW 5, we could create a single LabVIEW application exe file that included the execution engine (all in a single exe file). Now, we must install the runtime engine in its own right + the LabVIEW application exe. I don't think that someone knows a way to create LabVIEW application exe files which include the execution engine in new versions of LabVIEW.

    I know that we can install the runtime automatically during the installation of the LabVIEW application.

    I know also it makes more sense to have the execution time separate from the application of updates etc, but in some cases its nice just have a program obviously installed on the system - the application of interest.

    Any soloutions neat known?

    -Martin

    The time of applications from a single file is long gone. The current LabVIEW runtime engine is a great combination of many files, including DLLs, interface model files user etc. It is not always necessary, but even the most trivial LabVIEW application today takes several tens of these files at startup even. That's how things have changed, and although there are indeed efforts to get apps to run from one place to put them on a USB key for example, LabVIEW is not really a system that lends itself to this. In LabVIEW 7.1 and 8.0, you could include virtually all of the files that make up the runtime system in the same folder as your executable file, no NOR never argued that neither they will probably move to make. With some trial and error, you can start deleting files and see if your app still worked then, but it's a tricky procedure since the application could often start very well, but suddenly encounter display problems if you have opened a subscreen or something with this subject-specific objects.

    You can probably try to simply copy all the files from the LabVIEW Runtime folder in your executable file and there is a chance that it still works, but what for? The size of the facility remains basically the same and if you happen to install both applications on the same computer, each contains a copy of all of the runtime system, so there is no gain more but in fact a setback.

    The interdependencies of these modules are complicated and some need additional components and registry settings to work properly. By offering a way to configure individually that you want to include, and what would be a total pita for the end user that nobody would really understand what is needed for what and why. Experience would be so especially try it doesn't work once, and never use it again.

    I never thought to look into this latest version of LabVIEW. Time to figure it all out is simply average too much punishment for the small gains you get. Installers are the norm these days.

    Another issue that followed, is that you need to monitor all the Security Advisory reports NOR and other bugfixes and act on them yourself whenever a component that you have added in your application must be updated. As it is now, the NI Updater can and will update the plant installed according to enforcement system and all is well.

  • BlackBerry Smartphones Blackberry Curve 8330 - fatal error during the Application Loader

    Using the Desktop Manager V5.0

    When I connect my BB 8330 to my PC (USB connection) the Application window updates appears showing me all the new update, I click on the task updated current opens, then the Update Summary window, showing all updates to do, they are all 4.5.0 updates, click Next. Task progress window open once again, 11 task first 3 are fine on my BB, just complete backup 4th task is "Connecting to device ROM", at this point, it appears that even if my BB is turned off or rebooted, the task bar says "Connecting to the boot ROM", my BB business if it's rebooting , spinning hourglass, then I get the notorious "a fatal error has occurred." by updating the software on your device, please try again on the Desktop Manager

    At this point my BB is finally coming back to the main screen as if it were able to tap new. My Desktop Manager does not see that my BB is more connected and I need to stop and restart my PC to connect my BB for the Manager of office again.

    I hope this was enough detail, does anyone have an idea how to get by this error? What he does when he tries to connect to the rom of the device? Why it looks like it turned off my BB?

    Any help would be greatly appreciated

    Hello!

    Here's a knockout who deals with this error:

    • KB02696 "Could not complete the load operation. Fatal error occurred during the update of pocket"error displayed when you try to reload the software on a BlackBerry smartphone

    I hope that it contains something useful!

    Good luck and let us know!

  • How can I force an application to install 32-bit mode on Windows 7 x 64?

    I have an application configuration file.

    You can find the Windows version host automatically.
    If Windows is the 32-bit version, this application will be installed in 32-bit mode and if Windows is the 64-bit version, this application will install in 64-bit mode.
    My laptop runs Windows 7 Professional 64-bit.
    So, I want to force the application to install the 32-bit version on my laptop.
    How can I do this?

    Hi el amine,.

    Thanks for the display of the query to the Microsoft Community.

    Are what application you referring?

    I'm as informed you that you may need to contact the software publisher for more details on force the installation of the program, as most of the programs are designed to be either 32-bit or 64-bit. Most of the programs designed for the 32-bit version of Windows works on 64-bit Windows version. The notable exceptions are many antivirus programs.

    Hope that the information was helpful and let us know if you need more assistance. We will be happy to help you.

  • The issue is available for download, but requires a newer version of the application. What should I do

    I created a multi folio app for android. I published the first issue and ecerything was fine... I just started my second question and as it appears on my app when I try to download it I got a message that says. The issue is available for download, but requires a newer version of the application. Update your application.

    What should I do... i did nothing for my app... How should I update? The are no newer version from the store... Can someone help me?

    You have two choices:

    (1) make a new version of your app in the App Builder is the latest version of DPS

    (2) redo your folio in the new dialog box, and folio, select a version of Viewer target that matches or is earlier than the version of your app in the store.

    Neil

  • Creative cloud claims all the apps are updated when they are not

    Hello

    I have a subscription to creative cloud and use applications on two different computers W7 64-bit. On one of the computers - creative cloud shows notifications on apdates and I am able to install these. On the other computer, however, it is said that all the applications are updated. In individual applications - the menu updates option is grayed out.

    I'm connected with my accound and I can install applications. However-, it does not seem to install the latest version of the most recent. Tried to uninstall and reinstall Photoshop CC today (10 MS) and got the version 14.0 20130423.r.221. On my other computer - it updated to 14.1.

    No error message whatsoever - it simply asserts that everything is already updated.

    Thanks for all the suggestions

    Hi Tomas614,

    Could you please try to uninstall and reinstall Office CC applications. Once please check if you are able to download and to install the updates or not.

    If the steps mentioned above does not work then please uninstall the Applications of CC and remove Adobe files in these locations.

    Windows:

    C:\Program Files (x 86) \Common Files

    C:\Program Files (x 86)

    C:\Users\(your username) \AppData\Local.

    Reinstall all the apps again and try to update.

    It will be useful.

    Kind regards

    Abhijit

Maybe you are looking for

  • Ads showing Chinese Skype?

    Hi all I have question about the ads pop up since yesterday, they have been written in Chinese that happens to someone else & is this normal? If not how can I solve this as his? Sorry if i've posted in the wrong part of the forums im new.

  • Downgrade to win 8-7, where is my key?

    We are to halfway in our refreshment from XP to Win 7 computer. Before today, I was getting new computers with a certificate of authenticity with a Win7 key on it. Since I do not use OEM installations (read: I don't want to have installed unwanted HP

  • Get MSUpdate 80070005 errors

    Hi, I have a little by little lrengthening list of corrections that are errors 0x80070005 giving. Currently, they are KB2893294, KB2892075, KB2893984 & KB2898715. I see that it has quite a fuss about BITS fail with these same mistakes highlighted - I

  • Windows Live ID Sign-in Assistant

    After the last update of Microsoft, or so, I get a window saying some parts of Windows Live ID sign-in Assistant have been disabled. I do not use Messenger, nor do I Office 363. I'm just a consumer, not a TI. I have Windows 7 with MS Office 2010. How

  • Install Windows 7 on the same computer with different drives

    I plan on building my first computer soon and I want to run Windows 7 Home Premium.  If I install this version of Windows 7 and that I update the processor or hard drive later, I'll be able to install it again? http://www.Amazon.com/Windows-premium-6