04-25-2016 09:29 AM
I added the rest of my code and having a issue with the loops.. I want to be able to manually switch the circuit which would require using a while loop instead of a for loop.. Is it possible to exit the case structure with a command because my current code will run Voh non stop.
04-25-2016 09:48 AM
You can't "exit" a case structure. All code inside has to execute.
You can exit the while loop. You have the stop button in there which means the while loop will stop executing once it has read that the Stop button was pressed.
04-25-2016 09:52 AM
Is there a way to make it run only once? Currently, I'm not able to switch cases.
04-25-2016 09:53 AM
Don't put in the while loop.
04-25-2016 09:59 AM
Ok, is it possible to use a for loop and have it wait for my case to change?
04-25-2016 10:30 AM
@AAACTLN wrote:Ok, is it possible to use a for loop and have it wait for my case to change?
I don't understand what you are asking with that question. How is the case going to change? Right now it is a control on the front panel. And it happens to be read one time when your VI starts.
I would recommend you learn more about LabVIEW from here. How to Learn LV