LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

clearing a ring

I'm trying to clear the ring when I restart the vi. After inputting the new configuration, the second time I run the vi, everything that was added during the first run returns.
As you can see in the attached code, I've tried to empty the ring control but I have been unsuccessful.
Suggestions.


Thanks
0 Kudos
Message 1 of 6
(3,256 Views)
First of all, you should have only one event structure and it should be inside the loop.  Use this one structure for all of the events.  Use a property node to clear the ring.

See the attached code.  The stop button works now!




>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 2 of 6
(3,248 Views)
didn't work. I ran it the twice time; the second time after adding the first new configuration I pulled down the ring and everything was there.
0 Kudos
Message 3 of 6
(3,245 Views)
You got me on the right track. This works.

Thanks
0 Kudos
Message 4 of 6
(3,242 Views)
You need to put all of your event structures into one. If you read the caveats for the event structure in the help. You will see that it says not to have multiple event structures. especially if they are not in a loop. If they are not in a loop they will run one time and then stop.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 5 of 6
(3,234 Views)
Got it. Thanks
0 Kudos
Message 6 of 6
(3,230 Views)