LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY Graph reset

Solved!
Go to solution

Hi there guys. Can anyone tell me why my XY graph will not reset when my boolean button goes from false to true?

 

 

0 Kudos
Message 1 of 4
(3,533 Views)
Solution
Accepted by glskinner84

You mutiliated the express VI by opening the front panel and possibly making changes. Since the subVI is not attached, we cannot tell what's happening.

 

Please go back and use the stock express VI. Does it work better?

 

How many times does the "sweep" case execute? You seem to go to sweep case on the FALSE-TRUE condition, at which point the TRUE-FALSE transition does not occur and you immediately go to the stop case.

Message 2 of 4
(3,526 Views)

Adding back the untouched VI fixed the problem, and you were right about the control selector. They were reversed for some reason. Thanks Altenbach!

0 Kudos
Message 3 of 4
(3,512 Views)

Also note that the FALSE-TRUE condition first executes the init case, so once the sweep case comes around we no longer have that transition on the button and the graph will not initialize as you expect.

Message 4 of 4
(3,493 Views)