05-08-2019 01:49 PM
Sometimes when running the UI, charts start to get delayed. It seems to happen more often when I have more than 4 charts open but it's a little un predictable and can cause some dangerous situations when we are dialing in conditions. I've checked the CPU load of the target and the host PC and they are below 20%. Also, the network is small and uses a 1Gig switch.
Any suggestions on how to resolve this?
05-09-2019 03:28 PM
larboc,
How long does it run until it starts slowing down? You said that CPU usage is relatively low, but what about memory usage on the system?
I'd suggest using Performance Monitor to track the private bytes and virtual bytes of the NationalInstruments.VeriStand.UIManager.Application process. This could give us some indication of whether a memory leak or memory growth over time could be causing the graphs to be slow to update.
05-17-2019 10:12 AM
It seems random. If I have more than 4 or so charts up, it will start to slow down after 5 mins or so, more charts than that it will slow down sooner and more.
I don't know how to look at that in performance monitor, however here is what it shows in task manager.
20% CPU usage, 480MB of memory, 0MB/s disk 0% network, 22% GPU
05-17-2019 10:29 AM
Sorry, I thought that I had linked this page: Using PerfMon to Track Process Performance
You can add the private bytes and virtual bytes counters under the Process category and then select the NationalInstruments.VeriStand.UIManager.Application instance in the lower window.
After adding those counters, you will probably need to adjust the scales of the channels so that they show up correctly on the graph. You can double-click the counter you want to adjust and then change the scale.
I'll also note that there are some known performance issues with UI Manager. What version of VeriStand are you currently using? Many of these bugs are being addressed there will hopefully be a great improvement in the next VeriStand release.
-Jordan