LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

background slow

Hi, i have an Interface designed in Labview that acquires real-time images (30fps)

It is important to have the background of the front panel black.

I tried two methods, the one is to set a background image from the front panel options and the other is to change the properties of a VI, select black as a background and then copy and paste the code from the original grey background VI.

Both of them work but with lower performance. I can't anymore acquire in real time. The original VI which is exactly the same except the original grey background works great, full performance

Any suggestions?

0 Kudos
Message 1 of 3
(2,535 Views)
Why not just use the brush tool, click on the background and select black, the color of the VI background should have no effect on performance.  If you are setting the background image this could be memory intensine and if you are setting the background color in a loop I could see a slight performance hit.  Can you post a shot of the code, am I missing something?
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
Message 2 of 3
(2,515 Views)
falkpl is correct. As long as you are not programmatically changing the color of the front panel then you should take no hit on your code performance as it is not a iterative memory gap. You can use the brush tool method already stated (found under the tools palette>>bottom brush icon>>right click the front panel and change the color) or you can go to Tools>>Options>>Colors>>and change the Front Panel color there. After you do this, the front panel color will be that color next time you open LabVIEW and everytime after until you change it back. If you are using these methods and you see a significant decrease in performance then there is something else going on in your code. Hope this sheds some light on the subject!!
0 Kudos
Message 3 of 3
(2,484 Views)