How do I get a Timer to update in a user dialog box

I am trying to display timer that would continuously update on a user dialog box (It would start when a button was clicked). What would be the best way to do this?
Drew

Hi Drew,
I'm sorry, I didn't test that idea.  Now that I have, I see that the textbox only updates after the ButtonClick callback as completed, so instead of seeing the textbox count up from 1 to 10 in my code, I only see it show 10 after 10 seconds have passed.  Before that it does look like DIAdem is hung, but it wasn't in my case.
OK, so that means you need to pop up a new progress dialog.  You could create a second dialog defined in that same *.SUD file or create a new *.SUD file with a progress indicator on it, or you could use DIAdem's native non-modal dialog with MsgBoxDisp().  I did test this code
Sub Button1_EventClick(ByRef This) 'Created Event Handler
Dim i, iMax, Msg
iMax = 10
FOR i = 1 TO iMax
Call Pause(1)
Msg = "Second " & i & " of " & iMax & " ..."
Call MsgBoxDisp(Msg, "MB_NOBUTTON", "MsgTypeNote", 0, 0, 1)
NEXT ' i
Call MsgBoxCancel
End Sub
Brad Turpin
DIAdem Product Support Engineer
National Instruments

Similar Messages

  • Pre-owned macbook pro, how do I get rid of app updates for previous users?

    I have 2 updates in the app store that are flagged for updating, every time I click update it brings up a user that isn't me and I don't have the password for. How do I get rid of these? and ensure any update (e.g. iphotos is one of them) are for my apple id? Any help welcomed

    What you really need to do is wipe the drive completely by repartitioning it as one partition and then reinstall the original version of OS X that came on that Mac when it was shipped from the factory. Otherwise that system will always be tied to the original owner.
    How you do that depends on what version of OS X originally came on it when it was new. If Lion or Mountain Lion you use the online Internet recovery system. If it originally came with Snow Leopard then you should of gotten the original system discs that came with every Mac prior to Lion coming out. If you don't have those system discs you can order a replacement set from apple for a small fee.

  • How do I get rid of Morgan Multimedia PopUp Trial Period Dialog Box?

    In the Organizer view on PSE 6.0, I cannot view any of the video clips that I've recorded.  I see a symbol of a broken film strip.  When I click on it, I receive an error message dialog box that says "The Trial Period Has Expired!.  You can buy the codec online at:  www.morgan-multimedia.com."
    I have no idea who Morgan is, or why I'm being asked to buy a Codec to view video clips within PSE 6.0.  Any ideas on how to fix this?  I am not a power user, by the way ...
    Thanks!
    Bob

    Hi, Bob. Since this is about video codecs you'll probably get better, faster help in the Premiere Elements forum:
    http://forums.adobe.com/community/premiere/premiere_elements
    Good luck!

  • How do I get my columns in finder and open/save dialog boxes to stay at the widths I set?

    The name column is very very wide when I try to open a file.. so I can't sort by the other columns without dragging over the bar at the bottom of the screen.  THis is so so frustrating.  I resize but it doesn't stick to the next session.
    It is almost as frustrating as the thumbnails being too small in the open dialog box so that I can't see the file I want to open.
    Apple invented the finder.  Why is it so inferior to windows explorer?

    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device

  • Just got a new MacMini.  Migrated files using Time Machine.  However, now, on Launchpad, I see several Firmware updates that were relevant for the old machine, but not for the new one.  How do I get rid of these updates?  They won't delete!

    Just got a new MacMini.  Migrated files using Time Machine.  However, now, on Launchpad, I see several Firmware updates that were relevant for the old machine, but not for the new one.  How do I get rid of these updates?  They won't delete!

    Only thing I can think of is trying this Lion trick...
    http://www.cultofmac.com/106030/how-to-nuke-lions-launchpad-and-start-over/10603 0/

  • Attempts to rebuild thumbnails did not work. How do I get rid of message "Updating thumbnails" every time I open iPhoto?

    After repairing and rebuilding the iPhoto libary/database, I attempted to rebuild the thumbnails on an older Mac Book (10.7.5) and iPhoto 9.0. I believe there was not enough disk space for this function. Now when I open iPhoto, I get the message "Updating thumbnails." I then need to hit "cancel" to open iPhoto, How can I get rid of the "Updating thmbnails" message?

    Basically none.
    That is the problem
    you need a minimum of 10GB of free space just for normal os - with little or none y0u risk damaging yoru iPhoto database and other important system components - you must make space immediately
    Exporting photos is not the solution - unless you can delete  some large files that are not needed The fastest way is to purchase an external hard drive formatted Mac OS extended and move your iPhtoo library to it -
    Moving the iPhoto library is safe and simple - quit iPhoto and drag the iPhoto library intact as a single entity to the external drive - depress the option key and launch iPhoto using the "select library" option to point to the new location on the external drive - fully test it and then trash the old library on the internal drive (test one more time prior to emptying the trash)
    And be sure that the External drive is formatted Mac OS extended (journaled) (iPhoto does not work with drives with other formats) and that it is always available prior to launching iPhoto
    And backup soon and often - having your iPhoto library on an external drive is not a backup and if you are using Time Machine you need to check and be sure that TM is backing up your external drive
    I would not put my iphoto library on a flash drive - and usually they are not formated correctly wso will nto even work
    LN

  • How can I get the 23 July update to load onto my iPad. I haven't been able to access my documents or work for weeks and need to use it. Has anyone else had similar problems?

    How can I get the 23 July update to load onto my iPad. I haven't been able to access my documents or work for weeks and need to use it. Has anyone else had similar problems?

    Hello Arthur,
    Thank you for the reply.
    You were correct that deleting the app and reinstalling it was the only thing to make it work but unfortunately I lost all the documents I made, even though they were backed up to iCloud before i deleted the app. At the same time as deleting pages I had to delete keynote and numbers too, so I've lost all the documents in them too.
    The mb of data which was assigned to each programme in iCloud has reduced, so. I guess they are gone for good. Is there any other way to reaccess them?
    Not your fault but I am a bit fed up the the iPad. I have lost work that I've done and have no other copy apart from what was in iCloud, as I don't have a printer and couldn't email them too myself as I couldn't get into the programme and  i've also got episodes of tv series I purchased that I can't download and albums that are half downloaded with songs missing, so I feel a bit swindled out of time and money and am going back to DVD ,  pen and paper and CDs .
    Instead of using iCloud I guess the only way to make sure I don't loose any more documents it to email them to myself each time I save them on the iPad. Is there anything else you could suggest please?
    I don't have any other apple products apart from iPods, so I can't access the iCloud on anything else can I?
    Thanks
    Amanda

  • I took my phone off the charger and wifi while it was updating and now it wont let me on the phone nor my computer. how do i get it to finish updating or turn on?

    i took my phone off the charger and wifi while it was updating and now it wont let me on the phone nor my computer and it just has the apple icon on the screen. how do i get it to finish updating or turn on?

    Why would you do that when your phone is updating?
    Your phone is in recovery mode If you can't update or restore your iOS device

  • How do i get face time to work on i phone 4?

    How do i get face time to work on my i phone? step by step instructions please
    How do i get my photos from i phone 4 to display on my TV? as advertised on the television.
    Thanks

    The manual will tell you:
    iPhone User Guide (For iOS 4.2 and 4.3 Software)

  • I renewed my subscription on my mac but my iPhone is still asking me to renew the iCloud how do I get my phone to update that i've already renewed?

    i renewed my subscription on my mac but my iPhone is still asking me to renew the iCloud how do I get my phone to update that i've already renewed?

    Hi Randers4 thank you for trying to help.  I finally gave up and just called apple.  Apparantly my renewel went under my icloud ID while my previous accout was my itunes ID.  Never had to match them before but I guess we do now. Once I switched my iphone ID to the ID I used to renew the icloud it backed up.  Live and learn.
    Thanks again, hope this helps others too.

  • How do I get a time value in days, hours and minutes returned to a cell from a calculation of distance divided by speed?

    How do I get a time value in days, hours and minutes returned to a cell from a calculation of distance divided by speed?

    Simon,
    you can use the duration function:
    B4=DURATION(0,0,B1/B2)
    you can further, format the cell as a duration like this using the cell inspector:

  • IOS 6.1.3 / Windows 7 - 64 bit.  I am connecting my IPhone 4 to my Windows desktop, in ITunes I click on IPhone and then the "Check for Update" tab.  It takes me to a Windows explorer window.  How do I get it to find updates?

    IOS 6.1.3 / Windows 7 - 64 bit.  I am connecting my IPhone 4 to my Windows desktop, in ITunes I click on IPhone and then the "Check for Update" tab.  It takes me to a Windows explorer window.  How do I get it to find updates?

    Hello ibebry
    Try using the Software Update on your iPhone by going to Settings > General > Software Update. One thing to keep in mind if you are trying it on the computer is to make sure that you are not pressing any keys down when checking for updates as that may bring up a pop up window to find the update file. 
    Update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/ht4623
    Regards,
    -Norm G.

  • Trying to update my ipod but i get the error message network timed out.  I've already uninstalled and reinstalled the latest version of itunes. I also do not have software update in settings on the ipod. How do i get the ipod to update?

    trying to update my ipod but i get the error message network timed out.  I've already uninstalled and reinstalled the latest version of itunes. I also do not have software update in settings on the ipod. How do i get the ipod to update?

    Try the manual method specified here:
    iDevice Troubleshooting 101 :: iPhone, iPad, iPod touch

  • How do I get Quick Time to work on my computer again?

    Apparently I am old and a dummy and it seems I accidentally uninstalled Quick Time from my computer instead of uninstalling something else that I was intending to uninstall.  How can I get Quick Time back?  I've tried the download from the apple.com site, but it never shows up in a file other than some binary file and I don't have the option to "run" after download, just save to this binary file.  PLEASE can someone help me?  THANKS in advance for any and all help.

    Hi 1 olddummy,
    Welcome to the Support Communities!  First of all, you are not old or a dummy.  I'm sure you can give me hundreds of examples of things you can do because of your knowledge and experience, so give yourself a break .   I just want to clarify .... are you using a Windows computer or a Mac?  I'm going to assume Windows and include an article for you that will explain how to delete the iTunes application and all of it's components (because Quicktime is tied to this program).  This will not affect your iTunes library, only the application itself.   Once that is done, you should be able to work with Quicktime again.
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    http://support.apple.com/kb/ht1923
    Cheers,
    - Judy

  • I just upgraded from my 2008 MacBook to a new Macbook Pro. How do I get my time capsule to work on my new MacBook? I did data migration, but the time capsule did not pick it up. Any ideas?

    I just upgraded from my 2008 MacBook to a new Macbook Pro. How do I get my time capsule to work on my new MacBook? I did data migration, but the time capsule did not pick it up. Any ideas?

    If you migrated all the info from time machine to your new MBP. The TM will usually ask to connect to the old backups.. sorry I am not sure is this what you want to do.. Personally I think you start a fresh backup.
    BTW Time Capsule does not do anything.. it is a dumb hard disk in a box.. it is TM that does everything.
    Look at B5 and B6 here about connecting to your backup.
    http://pondini.org/TM/Troubleshooting.html

Maybe you are looking for