UI Interest Group Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Silver Gauge Control Slow

I made the housing and frame transparent.  This made a big improvment.  There is now a delay of about 2 seconds if I use a scrollbar, rather than 5.

0 Kudos
Message 11 of 15
(1,104 Views)

The Silver frame cosmetic uses GDI+ libraries to draw. It seems like, for some reason, these drawing commands are very slow on your machine.

I'm attaching a VI that contains a version of the Modern gauge that has anti-aliased scales and needles. You can try it to see how it performs for you.


Christina Rogers
Principal Product Owner, LabVIEW R&D
Message 12 of 15
(1,104 Views)

Thanks Christina_R,

It's looking like my machine is rendering GDI+ very slowly.  I'll try updating the graphics driver.  I took the VI you supplied and made several copies of the anti-aliased version, and the VI slowed down similar to mine.

I am curious how you made the modern gauge anti-aliased.  Is this something that can be turned on?

I really appreciate your help working through this.  Thank you.

0 Kudos
Message 13 of 15
(1,104 Views)

The anti-aliased Modern gauge is something I created while implementing the Silver controls, but decided not to put in the palette.

I'm sorry that I don't have a solution for you. Please let me know if updating the graphics driver makes a difference.


Christina Rogers
Principal Product Owner, LabVIEW R&D
0 Kudos
Message 14 of 15
(1,104 Views)

Does your computer automatically switch between Intel embedded graphics and the external NVIDIA chip to save power?  If it does, and it is failing to switch over to the NVIDIA chip, you can try setting the BIOS so that it only runs on the NVIDIA chip.  This will lower your battery life, but may fix the issue.

0 Kudos
Message 15 of 15
(1,104 Views)