Deleting "Prompt User" dialog causes VI to lock PC or run very slowly.

I have been coding a VI in LabVIEW 8.2.1 for several weeks and had to go back and remove some "Prompt User" dialog boxes.  After removing them, the VI would cause my PC to become unresponsive.  In an attempt to isolate the problem, I started to remove sections of code and discovered that there is a single dialog that seems to be causing this issue. 
The VI runs fine with the dialog left in, but causes problems when removed.  Even if the dialog is logically impossible to enable, it still runs fine.  I currently have the VI set to run at a high priority because timing is critical for this application.  Lowering the priority seems to alleviate the issue, but I would rather not do this. 
I am not sure how to proceed from this point, and I had trouble finding a similar issue in the forums.   Perhaps this problem is specific to my PC.  I would appreciate any feedback.
I have attached the VI with this post.  I have removed almost all functionality from the VI but it still demonstrates the problem .  This version does not lock the computer, but does cause it to run very slowly when it misbehaves. 
If you need any more information, let me know.
Attachments:
ProblemDialog.vi ‏46 KB

The reason probably has to do with you having a loop that is set to run at full speed.  This can hog processor time.  Insert a "Wait.vi" or a "Wait until next ms multiple.vi" inside your while loop and wire in a value of 10 ms and see if the problem goes away.  Even wiring in a value of 0 or 1 ms might do the trick.  If your vi is meant to react only to user input, you could even put in a wait of 100 or 200 ms, and the user will not notice it.  This way your processor will have lots of time to run other tasks or applications.
By the way, your vi did not slow down on my system, but that is probably because it is a multiprocessor system.
Message Edited by Sudhir Gopinath on 06-14-2007 01:07 PM
Message Edited by Sudhir Gopinath on 06-14-2007 01:10 PM
S G
Certified LabVIEW Architect, Certified TestStand Developer, Certified Professional Instructor

Similar Messages

  • I have just updated my ipad mini with the new ios software and it has caused may ipads onboard keyboard to run very slowly does anyone no how to fix this issue

    I have just updated my ipad mini with the new ios software and it has caused may ipads onboard keyboard to run very slowly does anyone no how to fix this issue

    *Typing lag iOS 7*
    Settings>General>Reset>Reset all settings. This should improve the typing responsiveness
    *Note:* Settings, preferences, network settings, etc will be reset. *NO data or media will be lost*
    and/or
    Settings>iCloud>Documents and Data (turn it OFF)

  • My iCal runs very slowly. Is there a way to delete past events quickly without having to delete each event individually?

    Ever since my new Mac OS update, my calendar runs very slowly, sometimes freezing. What shall I do? Could it be that past events are slowing it down? If so, how can I remove them easily without having to scroll through everything and press delete?

    What settings have you in Preferences/Advanced delete events after they have passed?

  • Problem description: I have ordered a new iMac but my current one seems to be running very slowly.  I believe it to be a memory related problem but can't seem to identify what is causing it.  Help is greatly appreciated.

    Problem description:
    I have ordered a new iMac but my current one seems to be running really slowly.  I believe it to be a memory related problem but can’t seem to identify what is causing it.  Your help is greatly appreciated.
    EtreCheck version: 2.1.8 (121)
    Report generated March 7, 2015 at 4:01:26 PM PST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        iMac (24-inch, Early 2008) (Verified)
        iMac - model: iMac8,1
        1 2.8 GHz Intel Core 2 Duo CPU: 2-core
        2 GB RAM Upgradeable
            BANK 0/DIMM0
                1 GB DDR2 SDRAM 800 MHz ok
            BANK 1/DIMM1
                1 GB DDR2 SDRAM 800 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        ATI Radeon HD 2600 Pro - VRAM: 256 MB
            iMac 1920 x 1200
    System Software: ℹ️
        OS X 10.10 (14A389) - Time since boot: 23 days 18:5:35
    Disk Information: ℹ️
        ST3320820AS_Q disk0 : (320.07 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 319.21 GB (195.05 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
    USB Information: ℹ️
        HP Officejet 6000 E609n
        Apple, Inc. Keyboard Hub
            Primax Electronics Apple Optical USB Mouse
            Apple, Inc Apple Keyboard
        Apple Inc. Built-in iSight
        Western Digital External HDD 500.11 GB
            My Passport (disk1s1) /Volumes/My Passport : 500.11 GB (200.60 GB free)
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Computer, Inc. IR Receiver
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Applications/Popcorn 4/Popcorn.app
        [not loaded]    com.roxio.TDIXController (2.0) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.aliph.driver.jstub (1.1.2 - SDK 10.7) [Click for support]
    Problem System Launch Agents: ℹ️
        [killed]    com.apple.accountsd.plist
        [killed]    com.apple.AirPlayUIAgent.plist
        [killed]    com.apple.bird.plist
        [killed]    com.apple.CalendarAgent.plist
        [killed]    com.apple.CallHistoryPluginHelper.plist
        [killed]    com.apple.CallHistorySyncHelper.plist
        [killed]    com.apple.cloudd.plist
        [killed]    com.apple.cmfsyncagent.plist
        [killed]    com.apple.coreservices.appleid.authentication.plist
        [killed]    com.apple.coreservices.uiagent.plist
        [killed]    com.apple.EscrowSecurityAlert.plist
        [killed]    com.apple.nsurlsessiond.plist
        [killed]    com.apple.pluginkit.pkd.plist
        [killed]    com.apple.printtool.agent.plist
        [killed]    com.apple.rcd.plist
        [killed]    com.apple.recentsd.plist
        [killed]    com.apple.sbd.plist
        [killed]    com.apple.scopedbookmarkagent.xpc.plist
        [killed]    com.apple.secd.plist
        [killed]    com.apple.security.cloudkeychainproxy.plist
        [killed]    com.apple.spindump_agent.plist
        [killed]    com.apple.telephonyutilities.callservicesd.plist
        22 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
        [killed]    com.apple.AssetCacheLocatorService.plist
        [killed]    com.apple.awdd.plist
        [killed]    com.apple.ctkd.plist
        [killed]    com.apple.diagnosticd.plist
        [killed]    com.apple.emond.aslmanager.plist
        [killed]    com.apple.GSSCred.plist
        [killed]    com.apple.icloud.findmydeviced.plist
        [killed]    com.apple.ifdreader.plist
        [killed]    com.apple.nehelper.plist
        [killed]    com.apple.nsurlsessiond.plist
        [killed]    com.apple.periodic-daily.plist
        [killed]    com.apple.periodic-monthly.plist
        [killed]    com.apple.periodic-weekly.plist
        [killed]    com.apple.softwareupdate_download_service.plist
        [killed]    com.apple.softwareupdated.plist
        [killed]    com.apple.spindump.plist
        [killed]    com.apple.tccd.system.plist
        [killed]    com.apple.wdhelper.plist
        [killed]    com.apple.xpc.smd.plist
        [killed]    org.cups.cupsd.plist
        20 processes killed due to memory pressure
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.sonos.smbbump.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    UNKNOWN Hidden (missing value)
        Jawbone Updater    Application  (/Applications/Jawbone Updater.app)
        Dropbox    Application  (/Applications/Dropbox.app)
    Internet Plug-ins: ℹ️
        Photo Center Plugin: Version: Photo Center Plugin 1.1.2.2 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        OfficeLiveBrowserPlugin: Version: 12.3.6 [Click for support]
        CitrixICAClientPlugIn: Version: 11.2.0 [Click for support]
        iPhotoPhotocast: Version: 7.0
    3rd Party Preference Panes: ℹ️
        Citrix Online Plug-in  [Click for support]
        Flash Player  [Click for support]
        UE Smart Radio  [Click for support]
    Time Machine: ℹ️
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 319.21 GB Disk used: 124.16 GB
        Destinations:
            Time Machine Backups [Local]
            Total size: 3.00 TB
            Total number of backups: 98
            Oldest backup: 2013-08-28 05:45:36 +0000
            Last backup: 2014-12-30 19:39:32 +0000
            Size of backup disk: Excellent
                Backup size 3.00 TB > (Disk size 319.21 GB X 3)
    Top Processes by CPU: ℹ️
             5%    com.apple.WebKit.Plugin.64
             3%    WindowServer
             2%    sysmond
             0%    AppleSpell
             0%    com.apple.WebKit.Networking
    Top Processes by Memory: ℹ️
        41 MB    Finder
        41 MB    iTunes
        37 MB    Safari
        32 MB    com.apple.WebKit.Plugin.64
        32 MB    mds
    Virtual Memory Information: ℹ️
        53 MB    Free RAM
        501 MB    Active RAM
        463 MB    Inactive RAM
        398 MB    Wired RAM
        78.46 GB    Page-ins
        3.04 GB    Page-outs
    Diagnostics Information: ℹ️
        Mar 7, 2015, 12:41:34 PM    /Library/Logs/DiagnosticReports/Inkjet4_2015-03-07-124134_[redacted].crash
        Mar 5, 2015, 07:42:29 PM    /Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_2015-03-05-194229_[ redacted].crash

    That certainly looks like a low memory issue, 2 GB ram is barely enough to run Mac OS X versions from Lion through Yosemite.  The high number of Page Outs and killed processes show very high memory pressure.
    Try adding memory, but be sure it is high quality, Mac certified memory such as that from OWC, http://www.macsales.com or Crucial, http://www.crucial.com

  • Want to delete and iso8 from my ipad2 asi can no longer access bank details webpage . Internet also running very slowly . How do I delete iso8

    HEllo
    I would like to delete iso8 from my ipad2 . my internet is running very very slowly and I cannot access my bank webpage . How do i delete

    You are in the wrong forum for the iPad question. You need to post it here.
    Russ

  • Can't access one user on mac....one user is OK although it runs very slow..lots of beach ball action...tried using shift to access user and no use...I ran a disk check from good user and it checks out OK...what do I need to do

    I cannot access one of two users on my mac..i have tried using the shift key but no luck...the one user that I can access runs very slowly, I get a lot of beach balls from **** action...also the message "unapproved caller" keeps popping up...I ran disk check from good user and it shows OK...Disk usage shows ~267gb used out of 360gb disk

    Spinning Beach Ball
    Spinning Beach ball (2)
    Spinning Beach ball (3)
    Spinning Beach ball (4)

  • Report run very slow because some user accessing the same report

    Dear All,
    I group my table into 3 tablespace And some reports, accessing different tablespace (more than 1 table space). and these report will always be run by 5 user in the same time. and make it run very slow. Is it going to make the report very slow ? Please advice
    Thanks in advance
    Widhi

    Hi,
    i hope that may not be the actual problem..
    if ur report processing includes relatively high
    amount of calculations on tables..then the report
    processing can be very slow...
    In that case try to create a table to store ur calculations
    temporarily and try to use that table in the report..

  • My iMac suddenly started running extremely slowly.  Any ideas as to what might be causing it?

    My iMac has always run like a champ but it suddenly started running very slowly today.  I haven't done anything different.  I'm not running all kinds of programs.  I've restarted several times and it takes about 20 minutes to start up.  The little color wheel starts spinning every time I start to do anything and each task takes 10-20 minutes to complete.  I can't do much in the way of self-diagnosis as it takes too long to do anything.  I'm writing this from another computer.  Any ideas of things to try before I bring it in for repairs?
    Thanks.

    In general you should always have at least  15 - 20% of your hardd rive Free
    No, this is an urban legend; you don't need 15-20% free. You should try to maintain around 30GB free, no matter what the size of your drive--and that's just a very rough ballpark; you may need much less or more,  depending on how you use your computer. But you won't notice slowdowns of this order until you get really close to the edge, much lower than 30GB.
    There are two possible causes for this. One, your drive is failing and you should be sure you have all your data backed up on an external before it dies completely. To check your drive get the free demo of SMART Utility. (But don't even think about doing this until you have a backup in place. That's much more important.)
    http://www.volitans-software.com/smart_utility.php
    The other is you may have exhausted all your available RAM and the the system is writing to the hard disk instead because nothing is left. The drive may be "thrashing" trying to accomplish this. This will make things very slow and eventually may just freeze everything up.
    Open Activity Monitor in Utilities, go to the System Memory tab. How much free memory is showing? What do you see for Page ins, Page outs and Swap used?

  • I successfully deleted a user from my MacBook through the Users and Groups window in System Preferences.  But now I cannot close the lock in the bottom left corner of the box.  When I click on it, I briefly see a word that I think says "reauthorizing" but

    I successfully deleted a user from my MacBook through the Users and Groups window in System Preferences.  But now I cannot close the lock in the bottom left corner of the box.  When I click on it, I briefly see a word that I think says "reauthorizing" but the word flashes too quickly to tell for sure.

    If you are admin.
    Try restarting your Mac.

  • ExpressVI prompt user for Input dialog floating

    I am using ExpressVI "prompt user for Input". The question is, when the dialog window pops up for input, I cannot activate other windows .
    So how can I change this expressVI's dialog window to floating windows appearance?

    Short answer: you have to make your own.
    You can start with the Express VI by right-clicking on the express VI and selecting "Open Front Panel" and click "Convert". This will create a brand new VI that is the equivalent of the Express VI. Save the VI under a new name within your project hierearchy, and then change the properties on the VI from a modal to a floating:
    Select File->VI Properties.
    Select "Window Appearance" from the pulldown menu.
    Select "Custom" option and click "Customize...".
    Select "Floating" in the "Window Behavior" section.

  • I am trying to delete a user account but attempt locks up system prefs

    I have been trying to delete a user account in 10.9.1 (Mavericks) on a 2009 Mac Pro. The problem is that System Prefs never completes the "archive account" and when check which processes are using up CPU time I find that writeprefs is pegged at 100% and has stayed at that level for seven hours plus. Of course the account is never removed and the only way of restarting the machine is to force quit system prefs after which the reboot works. Any ideas? Thanks in advance.

    Do you really need to archive the user folder?
    linc, that would be desirable but not absolutely essential.  And, thank you for your swift response!

  • Best practice to delete a User in SRM.

    Can some one tell how we can handle a situation where we have to delete a user from SRM, but make sure we don't have any open procurement documents. SRM server 550
    Here is my issue:
    1. Users are replicated to SRM from ECC via ALE
    2. Whenever a user is terminated from the company a user update from ECC will delete the user in SRM.
    Appreciate any help and will give points
    Arpita

    Arpita  
    Our business process for removing users from our SRM 5.5 system
    1. TCode SU01 expire the users licence and lock the userID. 
    2. Also in SU01 remove the users email address esp if using off line mail processes
    3. Remove the user's roles using PFCG
    4. In the SRM Org Structure we have a node for de-activated users not attached to any Company code - we move them to that node and change the assignment description so we know where they came from - this is our Audit requirement.
    5. In the Org Structure remove any attributes concerned with approval of cost centers/orders etc. Also change their Approval Value level in Extended attriutes to zero.
    6. If the user was an approver check SWI5 to find any uncompleted workflow items
    7. Use SWIA to re-route those items to an appropriate approver
    8. Check for any user substitutes active or passive and remove them, we wrote an ABAP application for this as we could find no suitable SAP transaction. You could log on as the user and do it that way, but if the user is a substitute for someone else you cannot.
    9 If the user exists in the back end ERP system, de-activate in SU01 as steps 1 & 2 above
    10 Check if there are any workflow in ERP.
    We never delete users as this will cause problems with any documents that they worked on for ever and ever and ever...
    With this procedure sometimes - not very often - they return to the organization and they can be re-activated.
    Hope this helps you and others
    Allen

  • Deleteing a users acct with new home acct?

    OK...I gave my gf my 1.33 15", iBook. She had an old 500mhz, graphite iMac. There was so much junk on the iMac I just networked and dragged over the files she wanted to keep. I was afraid syncing the two would put things in weird places and set up weird settings. Just wanted to start a new.
    I deleted my user account and added her, however the "Home" icon in finder still has my name. She is listed under users in the HD. Also in the system preferences/accounts, she is listed as the only account, as "Karyls iBook" but my name is still reflected as the "short name". Even unlocking doesn't let me change this name.
    How do I set the "Home" icon to reflect her as the user? I'm sure I've screwed something up!
    Many Thanks!
    Trey

    Are you logging on to her account? The "Home" icon always appears on the logged account. I assume you have Fast User Switching turned OFF. When she's the logged admin user the "Home" icon will appear on her user folder. Whatever is there of your old account can be dragged to the Trash and deleted.
    If you continue having a problem, then you might try the following:
    1. First, boot from your Tiger DVD, select your language and click on the Continue button, then select Disk Utility from the Utilities menu, select your boot hard drive, go to the First Aid tab, and click the button for Repair Disk. Repeat this until no trouble is found. Then click on the Repair Permissions button. Then quit DU, return to the installer and shutdown the computer for a couple of minutes.
    This will assure that the drive is OK and permissions are OK.
    2. Next, boot to single user mode by restarting and after the chime press and hold down the COMMAND-S keys until a black screen with white type appears.
    3. At the prompt, type the following commands pressing return after each command line:
    /sbin/fsck -yf
    mount -uw /
    rm /private/var/db/.AppleSetupDone
    shutdown -r now
    The second-to-last command above will cause OS X to think that the operating system is newly installed, and when you reboot, it will send you to the startup wizard where you can start a new user without reinstalling.

  • "Open VI Reference" Option "Prompt user to find missing subVIs"

    I am using "Open VI Reference" to dynamically load a VI. For the "option" control of the "Open VI Reference" node, I pass "0x10" or "10" in hexadecimal, which supposedly "prompt user to find missing subVIs." Nevertheless, I don't get a prompt message dialog when I intentionally pass an invalid or missing VI path. Instead I just get an Error Code 7. What does this option "Prompt user..." suppose to do?

    Make sure you set the properties on the integer input into the “options” control to the “Open VI Reference” to be a Hexadecimal format (right-click on the “options” control input, select Format and Precision…, then select Hexadecimal). Now, if you re-run your VI and wire in a VI with a missing subVI, the Open VI Reference will appear with a dialog that will prompt you to browse to the missing subVI. This is exactly the same message LabVIEW displays when it attempts to open a VI and cannot find its subVIs.
    I’ve attached a simple example program to demonstrate. Enter the path to the “number extractor.vi” as the VI to open. You should see a dialog prompt appear asking for the “Search 1D Array – Complete.vi”.
    Hope this helps!
    Attachments:
    openVIRefExample.zip ‏20 KB

  • Error after deleting a user

    Hi,
    i have a big problem. I cannot change my process template,
    cause I get the error message:
    <i>Cannot retrieve activity template: User USER.PRIVATE_DATASOURCE.un:tftak1 doesn't exist!</i>
    But the User tftak1 is not the designer, but he was involved in the process as a default role.
    After I deleted that user I got that message.
    What could I do? I need fast help, because we want to start our testing phase...
    Thanks in advance
    Steve

    Hi Steve,
    An idea would be to recreate this user tftak1 and then to edit the process and remove it from the default roles.
    Other possibility would be to go to the Administration UI in GP and there to change the user assignement for the default roles.
    The extreme solution would be to forget your process and to create a new process object. Then you can add again your existing block to this process.
    Hope this helps,
    Best regards,
    David

Maybe you are looking for

  • What is the best way to stack DAQ aquired data in labview?

    I'm developing an application to work with an M-series daq card and labview 8.5 to output a signal and then record on 8 differential inputs for a short period of time (~10 ms). I need to stack my data, however, because the incoming signal will be ver

  • System will not boot after trying to upgrade to yosamite

    My wife tried to update her OS to yosamite on her MBP 2011. Now it wont boot at all. All she gets is the folder question mark screen. It won't boot in safe mode and won't do a recovery from internet. Please help !

  • Reformatting computer- what will happen to iTunes?

    So I have to reformat my hard drive, so I bought an external hard drive and I think I transferred my music to it. I just went through my iTunes and copied and pasted the songs that I don't have on CD onto my external hard drive...will that work? I co

  • Help with loggin in and out of internet please

    I have the 9360 and  use the internet and have set up my email account fine but for one annoying issue: The problem I have is that each and every time I move away from my home wifi, the device needs me to log into BTFon to use the internet away from

  • Condition Type dependant on Pricing Date

    Hi, I want to know how to make a particular condition type dependant on pricing date. e.g We have a pricing procedure where a couple of condition types are only displayed, when I go to the header details in VA01 and put the pricing date manually in t