08-22-2014 08:35 AM
Hello, I'm experiencing a issue and I don't know how to solve it, it doesn't make any sense for me. In my project I want to use a background image for the front panel (I choosed the metal brushed from LabVIEW). The problem is that with the background the execution is incredibly slow (I measured about 10% more CPU compsumition just because the background).
Any ideas why? I'm using LV2011
Thanks
08-22-2014 09:12 AM
Is that VI a critical one? If not you can set the Priority (VI properties>Execution) as "Background" and execution system as "user interface" and see what happens.
08-22-2014 09:16 AM
I have not run into the application slowing down due to a FP BG color, but what you could try is placing on your control/indicators on a scaled "2D picture" control (and import an image similar to what your looking for) and then monitor your CPU to see if thats what makes the difference Vs. just using the brush tool??
08-22-2014 09:58 AM
Well, it does take more effort to draw an image on the background than just a single color. I wouldn't expect it to cause that much more though. Are you using a lot of property nodes? Those would force redraws of the front panel, which is when you would get your hit from having an image.
08-22-2014 10:07 AM - edited 08-22-2014 10:11 AM
Hello!
No, I'm not having a lot of property nodes. I tried a workaround and it worked, but no idea why: I created a custom boolean indicator with my background image, I resized it in order to fill the screen and then I moved it to backward. With this, the execution time is the same that without any background. The problem is that in some boolean controls, I can see a "shade box" as it's shown in the picture because they are disabled and grey out. How can I fix it in order to have greyed just the button?
Thank you!
08-22-2014 10:57 AM
Is your graphics driver reverting to software rendering, I wonder?
08-22-2014 11:06 AM