LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Performance when using picture in background and placing indicators on top

Hi,

I am having a question: Does placing a picture (bmp) on the front panel affect the performance of the vi, when there are indicators placed on the picture? The reason for this is that the picture shows a technical process whereas the indicators show measurements at the place where they are in reality, so that the user can identify problems fast. I would be very glad a about any response, as i didn't find anything googling and searching this forum.

Best Regards
Alex
0 Kudos
Message 1 of 2
(2,598 Views)
Yes, it will cause performance issues.  Whether you notice it or not may be a different story.

LabVIEW drawing engine starts at the bottom layer and works its way up.  So, it has to redraw the image and then redraw the control when you update the control/indicator.

It's been a while since I benchmarked this on a project, but in LabVIEW 6.1, I looked into why my tests ran so slow, and saw a 10-15% decrease in test time by removing the background decorations I used to make the window pretty.  If I didn't show the GUI feedback for the test at all (no GUI windows for each test), I saw a 30% decrease in test time.

You will also find that better video cards will have a positive effect on this, as they redraw the screen faster.  In the same benchmark, I was able to outperform the early PXI controllers with a slower PC because NI was using a lower end video chip for their onboard graphics.
0 Kudos
Message 2 of 2
(2,594 Views)