How can I improve the response time of the user interface?

I'm after some tips on how to improve the response time to mouse clicks on a VI front panel.
I have  data acquistion application which used to run fine, but after spending a couple of weeks making a whole bunch of changes to it I find that the user interface has become a bit sluggish.
My main GUI VI has a while loop running 16 times a second, updating some waveform charts and polling about a dozen buttons on the front panel.
There is sometimes a delay (variable, but up to 2 seconds sometimes) from when I click on a button to when it becomes depressed. I have wired the iteration terminal of the while loop to an indicator on the front panel and can see that the while loop is ticking over during the delayed response to the mouse click, so I know that the problem is not that the whole program is running slow, just the response to mouse clicks.
Also, just for debugging purposes, I have indicators of the iterations of all the main while loops in my program on the front panel, so I can see that there are no loops running abnormally fast either.
One thing I've tried is to turn off multi-threading, and this does seem to work - the response to mouse clicks is much faster. However, it has the side effect of making the main GUI while loop run less evenly. I was trying to get a fairly smooth waveform scrolling across the screen, and when multi-threading is off it gets a bit jerky.
Any other suggestion welcome..
(I am using LabVIEW 7.1, Windows 2000).
Regards,
Mark.

Hi Altenbach,
Thanks for your reply. In answer to your questions:
I am doing both DAQ board and serial data acquisition. I am using NIDAQ traditional for the DAQ board, and VISA for the serial. I have other similar versions of this program that do only DAQ board, or only serial, and these work fine. It was only when I combined them both into the same program that I ran into problems.
The multiple while loops are actually in separate VIs. I have one VI that acquires data from the DAQ card, another VI that acquires data from the serial port, another VI that processes the data and saves to file, and another VI, the GUI VI, that displays the data in graphs and charts.  The data is transferred betwen the VIs via LV2 globals.
The GUI VI is a bit more complicated than I first mentioned. It has tab control, with 4 waveform charts on one page, 4 waveform graphs on another page, and 3 waveform graphs on another page. The charts have a history length of 2560, and 16 data points are added 16 times a second. The wavefom graphs are only updated once per minute.
I don't use the value property at all, but I do use lots of property nodes for changing the properties of the graphs and charts e.g. changing plot colours, Y scale range etc. There is only one local variable (for the Tab control). All the graphs and charts have data wired directly to their terminals.
I haven't done any profiling yet.
I am building arrays in uninitialised shift registers, but this is all well under control. As the experiement goes on, more data is collected and stored, and so the memory usage does gradually increase, but only to the extent that I would expect.
The CPU usage is 100%, but I thought this was always the case when using NIDAQ  with DAQ cards. Or am I wrong about this? (As a side note, I am using NIDAQ traditional, but would NIDAQmx be better?)
Execution priority of the GUI vi (and all the other VIs for that matter) is set to normal.
The program is a bit large to post here, and I'm not sure if my company would be happy for me to publicise it anyway, so I suspect that this is turning into one of those questions that are going to be impossible to answer.
Just as a more general question, why would turning off multi-threading improve the user interface response?
Thanks,
Mark.

Similar Messages

  • Iphone 4s with ios 8.1.1, imessage gets slower than ever, sometimes even deliver after 10 min, was not like this with the previous ios, how can I improve imessage sending time?

    iphone 4s with ios 8.1.1, imessage gets slower than ever, sometimes even deliver after 10 min, was not like this with the previous ios, how can I improve imessage sending time?

    Hi there skmonirul,
    Welcome to Apple Support Communities.
    From what I gather, iMessages are taking longer than expected to send on your iPhone 4s. If you aren’t seeing issues with other apps, try restarting your iPhone as shown here: 
    Restart or reset your iPhone, iPad, or iPod touch - Apple Support
    If the issue persists, try restoring your iPhone as shown in the article below.
    Use iTunes to restore your iOS device to factory settings - Apple Support
    So long,
    -Jason

  • Is there a way to speed up the response time from the dock

    Is there a way to speed up the response time for external hard drives from the dock? I have three external HDs but when I click on the alias in the dock there is always hesitation before it opens. I'm leaning towards the fact that it is just a result of the fact that the speed of the Mac is what it is. But, maybe there is something I can do to speed it up. The drives are plugged via usb directly to the Mac and they have there own power source. The curious thing is that they once were plugged into a large separately powered USB hub and I don't recall a lag like I have now. Any thoughts? Thanks...
    Message was edited by: gfann18

    Have you got the drives set up to spin down when not in use?
    Have a look at the Energy Saver settings in System Preference on the Mac.
    Make sure the "Put the Hard Discs to sleep when possible" box is not ticked.

  • Minimizing the response time of the 10g Application

    Hi,
    We are developing an application using 10g iDs & Planning to deploy the app using 10g AS in on the internet.
    While trying to test the deployment the forms are not responding as desired.
    Please let me know if there are ways to minimize the response time so that the App run faster.
    can we compress the traffic any way.
    best regards
    Arkesh

    thanks for ur reply
    Jinit version=1.3.1.22 is in place
    I have checked the form making that as thinnest as possibe.
    response time is still high.
    I would like add few more information
    1. The AS is having a Real IP.
    2. Users are connected to that AS via Internet being located at a different site.
    Users are annoyed with the responses they are getting from the application.
    waiting for replies....
    Arkesh

  • How can I access a response file on the same computer but with different login?

    When trying to access a response file on the same computer that was used to set it up, but with a different login, I get an error message that the network resource was not found. How can I retrieve the responses on the same computer but under a different login/username?

    The response file is associated with a specific login (as determined under Edit > Preferences > Identity) so you cannot retrieve it if you're using a different login.

  • How can I eliminate blank responses when printing the submited form?

      I am using a lot of skip logic on an employment application.  When printing the application out, I have many pages that don't need to be there.  I get the same thing on the email notice I receive, even though I have the checkbox marked not to include blank responses.
    Thanks for you help.
    Jay

    Hi Jay;
    When you say you are printing out the submitted from, are you using the "Download Response as PDF"?  There isn't any way to hide unanswered questions in the PDF.  I was trying to think if you could export responses as Excel and hide the unanswered columns but since those would be different per responder that would not work.  I am not sure of a way to do this at the moment, if I come up with something I will respond again.
    Regarding the emails, there is not an option to hide blank responses in the "Email Notifications" (that goes to you, the author).  There is an option in the "Email Receipts" for the "Email Submission Reciept" that goes to the person who submitted the form (assuming they enter their email into an email field you selected), in there is an option to include empty fields (ommited by default).
    You may want to add a feature request to the ideas page for the "Email Notification" to have an option to exclude blank responses, you can do that here by clicking "Create an idea" in the upper right:  http://forums.adobe.com/community/formscentral?view=idea
    Thanks,
    Josh

  • After upgradingin iPhone 4 to iOS 7 the response time of the keyboard is dead slow (basically not able to write) and overall performance is a real challenge. Any ideas?

    After upgrade to IOS 7, the iPhone of my wife is dead slow. It takes at least 10 seconds that the virtual keyboard responds and even the passlock reaction to the inputs is very much delayed. Like this she is not able to do write any messages or emails.
    Any ideas what can help?

    Thank you!! I was getting very worried about upgrading.

  • How Can I do to make an interactiv​e user interface?

    I have to make a virtual laboratory, with a oscilloscope, multimeter, function generator and power supply, i don´t know how can interconnect the different outputs of the devices, How can I draw for example a probe and put it in the function generator output if i want to show the output signal of the function generator?
    THANKSSSSSSSSSS

    Well, dynamically drawing objects on the screen isn't one of LabVIEW's strong suits, imho. I suppose you could put a picture control on the front panel and draw the connections but I would assume you also want the front panel to display the controls and indicators of the instruments as well. With the picture control on top, you can't directly click on the controls so you'd have to do a lot of work detecting mouse clicks, determining coordinates, and programtically activating controls. If you're willing to forgo the graphical look of wires connecting inputs and outputs, a table representation would be a lot easier to implement. One column could represent an instrument's output and another column would be an instrument's input. Have something like a "Create Connection" button that pops up a list of possibilities and let the user add and delete them. I have done graphical representation of matrix switches using lines from the decorations palette. The program changed the color of the lines as the user made desired connections. The instruments were represented as Booleans that the user had to click to configure and view results. If that sounds like it might work, let me know and I'll try and find the code I did. It was pretty tedious to do as well.

  • How to find the Response time for a particular Transaction

    Hello Experts,
            Am implementing a BAdI to achieve some customer enhancement for XD01 Transaction . I need to confirm to customer that after the implementation and before implementation what is the response time of the system
    Response time BEFORE BAdI Implementation
    Response time AFTER BAdI Implementation
    Where can i get this.
    Help me in this regard
    Best Regards
    SRiNi

    Hello,
    Within STAD, enter the time range that the user was executing the transaction within as well as the user name. The time field indicates the time when the transaction would have ended. STAD adds some extra time on using your time interval. Depending on how long the transaction ran, you can set the length you want it to display. This means that if it is set to 10, STAD will display statistical records from transactions that ended within that 10 minute period.
    The selection screen also gives you a few options for display mode.
    - Show all statistic records, sorted by star
    This shows you all of the transaction steps, but they are not grouped in any way.
    -Show all records, grouped by business transaction
    This shows the transaction steps grouped by transaction ID (shown in the record as Trans. ID). The times are not cumulative. They are the times for each individual step.
    -Show Business Transaction Tots
    This shows the transaction steps grouped by transaction ID. However, instead of just listing them you can drill from the top level down. The top level will show you the overall response time, and as you drill down, you can get to the overall response time.
    Note that you also need to add the user into the selection criteria. Everything else you can leave alone in this case.
    Once you have the records displayed, you can double click them to get a detailed record. This will show you the following:
    - Breakdown of response time (wait for work process, processing time, load time, generating time, roll time, DB time, enqueue time). This makes STAD a great place to start for performance analysis as you will then know whether you will need to look at SQL, processing, or any other component of response time first.
    - Stats on the data selected within the execution
    - Memory utilization of the transaction
    - RFCs executed (including the calling time and remote execution time - very useful with performance analysis of interfaces)
    - Much more.
    As this chain of comments has previously indicated, you are best off using STAD if you want an accurate indication of response time. The ST12 (combines SE30 ABAP trace and ST05 SQL trace) trace times are less accurate that the values you get from ST12. I am not discounting the value of ST12 by any means. This is a very powerful tool to help you tune your transactions.
    I hope this information is helpful!
    Kind regards,
    Geoff Irwin
    Senior Support Consultant
    SAP Active Global Support

  • HOW CAN I SET TIHE NETWORK TIME BECAUSE IT DOESNT ALLOW ME TO SING IN

    HOW CAN I SET TIHE NETWORK TIME in the apple tv BECAUSE IT DOESNT ALLOW ME TO SING IN

    Welcome to the Apple Community.
    Time and date should be set automatically by the network time server. There has been a number of posts reporting this problem. Solutions have involved:
    Restarting the Apple TV by removing ALL the cables for a few moments.
    Restoring the Apple TV.
    Opening port 123 on the router.
    Ensuring the DNS address on both the router and the Apple TV are those provided by your ISP.

  • Response time of the new 24-inch iMac Core 2 Duo 3.06GHz display??

    Apple is not famous for documenting the response time of it's diplays, An exception is the new Apple LED Cinema Display (24" flat panel) which they list as 14ms.
    Does anybody know the response time of the new 24-inch iMac Core 2 Duo 3.06GHz display??

    Very nice, I've always wanted a bigger iMac and
    wondered why they didn't make one. I'm on a G5
    20inch now and it works 100% perfectly. BUt the 24
    incher is very compelling!
    Myself, never felt the need for a bigger one, the 20-inch is perfect for what I want it to do. Perhaps in the future...
    It's pretty obvious why a 24-inch was not offered sooner, as the retail price would have been too expensive to create enough demand to justify production.

  • How can I improve my phone signal most of the time I have no service

    How can I improve my signal - my old android phone had a brilliant signal however more often than not I have no signal on the iphone

    Like Peter said, attitude doesn't help, we need all the information possible to construct a picture of whats going on. Plus, the number of people here to help that are from the UK is limited, so chill out, drink some tea, have a scone and then lets talk
    Anyways, since you're in Europe, are you using a provider that uses EE's towers? or EE themselves?
    I ask because some MVNO providers are only licensed to use one spectrum. I know this because of the provider 3/Three. Coming from a stay Austria, I can use any 3 partner network but only on 3G, not LTE, 4G, or GSM.
    But since it's a service issue, talk to your provider accordingly. Ask them what frequency bands are coming from the tower you're nearest to, or you can check it out yourself with the Field Test Mode.
    http://lifehacker.com/5929546/see-the-actual-signal-strength-on-your-iphone-with -this-quick-tweak
    I hope this helps!
    Cheers!

  • How can I improve the stability of itunes64bit 8.0.2 on my Vista system?

    Vista Home Premium: iTunes64bit: application crashes after adding album photos and then changing views (list, Album, split) or clicking on different playlists and back to the entire music library.
    The library has 42,000 items (mostly music) so it is quite large. At launch it takes a long time for itunes to load and display. There is no user cues telling me it is running. It simply displays after 60 or more seconds.
    Then I start working in the library, pasting pictures to multiple items, modifying album titles.
    After doing a few management tasks on my music items and navigating back and forth between the music library and playlist (changing views), the application stop being responsive and according to the log, the app just plainly crashes.
    Sometimes I can restart successfully but most of the times, I need to stop the itunes service or log-out before I can restart it successfully.
    I am using itunes64bit 8.0.2
    I am running it on a machine equipped with 4GB of ram and the library lives on a 500GB external hard drive plugged-in through USB 2.0.
    How can I improve the stability of itunes64bit on my system?
    Message was edited by: JF Boisvert

    This VI can be convert to labview 8.0 because subvi are not compatible with old version.
    I post a screenshot.
    Aurélien J.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Du 30 juin au 25 août, embarquez pour 2 mois de vidéo-t'chat ! Prenez place pour un voyage au coe...
    Attachments:
    image.jpg ‏38 KB

  • Improve the response time of logical database

    hi all,
    to improve the response time( time to access data ) in logical database how can we achive this

    ...but the same code is having a good response time in production environment bu tis slow in development....sure...your server might be doing a lot of time consuming things when run in development mode (e.g to enable debugging, extra monitoring or tracing etc.)..Do you have equal machines on both environments? Heavy tracing to logfiles in development environment is one possible bottleneck...or e.g. the amount of memory the db server is allowed to use ( table joins in the memory vs. using temporary files)

  • How can I flip my iphone videos on my PC? My videos from my iphone are horrible when I transfer them to my PC. How can I improve the video on my PC? Can I just convert the files to WMV? When the video plays the speed is off, it's half slow-motion

    My videos from my iphone are horrible when I transfer them to my PC. How can I improve the video on my PC? Can I just convert the files to WMV? When the video plays the speed is off, it's half slow-motion and staggers into normal play. The clips are slightly cut as well, the clips do not roll continuously.  I'm taling about videos that are no more than 2 minutes long.  I'm frustrated and I could really use some advice-my kids basketball games is what I'm recording and I'm trying to send them to my family (they are not very tech savvy). Thanks

    Not it's only function but one for which it was most admirably suited, which is why I really hope someone can find a work around. I am hoping my post to the Apple feedback may prompt a useful response from Apple and I live in hope that my post here will elicit a useful response from another user. I did not miss the the text at the top of the feedback form but you presumably missed my initial text, 'someone here can explain' or my subsequent 'work around from another user'
    Just in case anyone reading this has a large collection of music videos, video podcasts or iTunes U then DO NOT upgrade your iPad to iOS 5. If you are considering purchasing the iPad as a useful mobile device to experience these media organised in your iTunes please don't as you will be wasting your money. (unless someone on this forum knows of a way to undo the mess created by those infallible folks at Apple)
    Yes I know it does other things but the purpose I bought it for doesn't work anymore

Maybe you are looking for

  • Free Goods (Tax not charged to customer)

    Hi to all Gurus I m using inclusive free good and for this i am using R100 and NRAB the problem i m facing is this in case of compnay in which we are working tax on free is beared by the company not the customer.Now when i include  the Taxes amount t

  • Can two computers use USB to print to the same printers?

    My wife and I have two macs, side by side, one a G5 iMac and the other a G5 PowerMac, both running 10.5.1 We have four printers, and we both use all of them at different times. We have one powered USB hub with four ports. What we would like to do is

  • Credit data Message no. V1677

    Hello experts, After entering VA32, I press enter. A message pops up below. Why such a message pops up? You know, I have not changed anything as I just press enter. If I change price / payment terms, any impact? Thanks. "Credit data will not be redet

  • Trouble ordering book   "There was a problem -- LOCALIZE"

    When I get to order the book get the message There was a problem -- LOCALIZE And I can only cancel. I am living in Portugal and have a .mac account I can order music and apps from the itunes store

  • Is it possible to fetch matrix column through formatted search in UDF?

    HI, Is it possible to fetch the value of first row of quantity column in user defined field through formatted search? SELECT $[$38.11.number]   does work but in user defined column of matrix only. I have requirement that when there will be only one r