Interrupt in queue?
Hello, i've got this little code example here:
b_ObjectReady is set in a trap routine and everything works fine when its set TRUE
WaitUntil b_PickPosReached=TRUE;<br> PickObject;<br>ENDIF<br>
If b_ObjectReady=TRUE THEN<br> GoToPickPos;<br> WaitUntil b_PickPosReached=TRUE;<br> PickObject;<br>ELSE <br> WaitUntil b_ObjectReady=TRUE;<br> GoToPickPos;<br>
(trap routine waits for signal from sps to read coordinates;if there are new coord, then its set TRUE, if there' same coord as before its set to FALSE)
but when it's set FALSE and program waits for it to be set TRUE, i'm not able to 'access' the interrupt.
When stoping the program, it says "interrupt removed from queue"..
Is it normal? How to get it working right?