10-12-2020 10:06 AM
Hello everyone,
I have created a LabVIEW Programm with a front pannel design. The most part of the code are included in a while loop. But whe the programm runs, the front panel jumps a little bit, when everytime it goes to a new cycle. In my expreiences before ,that has not happend. I have just used a milisecond timer. Has anybody idea, what could be the reason?
ps: Could the decoration boxes the reason? (I did not use the decoration boxes before. This time I am using them.)
Thank you very much.
10-12-2020 10:09 AM
You're going to have to explain a little better what you mean, and including your code would be helpful.
10-12-2020 10:20 AM
If you don't post your code, chances to help you will be very poor.
10-12-2020 04:52 PM
We need to see your code
10-13-2020 10:54 AM - edited 10-13-2020 10:56 AM
Hello,
pls find my code in the attachment. It is too big to make it as a picture(Screen not big enough). It is programmed with LabVEIW 2020.There are actually many subVIs which are called in this main vi. But I think you don't need them.
Maybe I decribed the problem not so clearly? The front panel is flickering with the frequence of while loop.
I tried following three solutions, that I found in the forum, but it doesn't help:
-make sure the decoration boxes don't overlap with each other.
-use a transparant decoration box on front panel
-add the front panel property with defer panel updates in a flat sequence.
Do you have better ideas? Thank you very much.
10-13-2020 12:03 PM
Unfortunately I have not yet upgraded to LabVIEW 2020 so I can't read your code. Could you save to previous version?
10-13-2020 12:52 PM - edited 10-13-2020 01:16 PM
Hi Sweet,
@Wintersweet wrote:
pls find my code in the attachment. It is too big to make it as a picture(Screen not big enough). It is programmed with LabVEIW 2020.There are actually many subVIs which are called in this main vi. But I think you don't need them.
…
Do you have better ideas? Thank you very much.
(Better) ideas:
This code is way to large and un-organized to be able to solve any problems in a graceful way…
(@John: you don't want to see this code… 😄)
10-13-2020 01:28 PM
@GerdW wrote:
(@John: you don't want to see this code… 😄)
@GerdW, from your description of it I would agree. . .
10-13-2020 03:34 PM
At some point, hacking together code without really understanding best practices is going to bite you in the behind... which is why I don't offer my services as a .NET programmer. 😉