I have a loop which contains some arguments as well as a case structure that has various arguments for true and no arguments for false, my issue is that i still want the loop to continue executing when the case is false (because outside the case there are still controls that need to be functioning) , but that seems to terminate the entire loop, I have tried a series of loops inside the primary loop with no luck.
Any help would be greatly appreciated,
You are probably getting an error in your application; you should handle errors correctly by wiring the error clusters from all nodes.
Also, you should open and close references when you do the reads and writes.
I can't run your VI since I do not have the hardware and you did not provide the external files. However, the only way for the while loop to terminate is for the front panel 'stop' button to be true.
p.s. You've got some terminals hidden underneath the while loop. Did you post the actual code that has the problem or is this a modified version?
Now, I don't understand what you are saying. What 'True' are you talking about now and exactly what runs on it's own? You've posted one vI and if the stop button is true, the while loop will stop and it does not matter what the case statement is or is not.
Are you calling this code as a subVI?
Are you sure you are getting a signal in that analog read DAQmx function or your analog reference trigger?
Why do you have a timeout value of 259,200 seconds? That is about 72 hours. If your code is waiting on that timeout, then it will take 3 days (probably 6 days since the stop button would have already been read on that iteration) for the program to come to a stop if you are failing to read your analog input.