@Liddy wrote:
Is there a way I can stop the event structure without using a Boolean Stop? I would like to stop the event structure when the For Loop it is within stops.
If you haven't specified a timeout value, the event structure will wait indefinitely for another event to occur. My code does not stop the event structure (no such thing). I have an event registered for a boolean button that will stop the main while loop and allow the program to close.
I'm assuming you have a UI that the (U)ser will (I)nterface with. An event structure will handle button presses, control value changes, monitor keystrokes, etc from the UI and allow you to perform tasks after certain events happen. I would suggest that you learn how to use one because it will greatly simplify your code.