11-01-2008 09:10 PM
Solved! Go to Solution.
11-01-2008 09:56 PM
11-01-2008 10:03 PM
11-01-2008 10:03 PM - edited 11-01-2008 10:05 PM
Is the breakpoint conditional, or is it just a pause point until the user does something?
And using shift registers, would I assign a shift register to the inner while loop (that needs to be paused), and circulate it through the outer while loop?
11-01-2008 10:06 PM
11-01-2008 10:13 PM
11-01-2008 10:19 PM
Breakpoints, whether normal or conditional, are just meant for debugging of your code. I had the sense from your question that the pausing you want to do is a part of normal operation of your code. I would NOT recommend using a breakpoint for that situation. It would bring up the block diagram showing the breakpoint when it occurs. A user besides the programmer would not know what to do in that case.
Yes, both the inner and outer loops would have shift registers.
Putting a case structure with a small while loop inside the "Pausing Case" is doable. It just depends on what you are doing or waiting for while the program operation is "paused".