LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Annotation going wild

Solved!
Go to solution

Hi

My annotation is blinking like wild

What am i doing wrong?

0 Kudos
Message 1 of 5
(2,614 Views)
Solution
Accepted by topic author torkil

You are running your code as fast as possible.

 

You should use an event structure that only changes the graph or the annotations in the event on of the boolean buttons change their value.

Message 2 of 5
(2,601 Views)

In addition to Ravens Fan's comments, if the Name values are never going to change, write those properties one time before the while loop starts.  Then pass the AnntList from iteration to iteration via a shift register.

 

Why is the Stop button hidden?  Show it and use it to stop the loop.  Do not use the Abort button to stop the VI.

 

Lynn

Message 3 of 5
(2,597 Views)

Thx U guys

This is just a snippet of a 100 times bigger code im working on

I just put this togeher to solve this problem ,its not optimal

0 Kudos
Message 4 of 5
(2,583 Views)

torkil wrote:

This is just a snippet of a 100 times bigger code im working on

I just put this togeher to solve this problem ,its not optimal


Considering that you have way too much duplicate code in your little snippet, I guess that your 100x bigger program could also be made with 20% of the code.

 

Here's how eliminating all that duplicate and overly complex code could be simplified without change in functionality. 🙂

Many more improvements are possible.

 

0 Kudos
Message 5 of 5
(2,563 Views)