TDQ items only get committed when you do a SYNCPOINT, or when the task ends. From what you are describing, the commit is taking place when program 1 ends, and thus program 2 gets triggered, as only now is the item on the tdq. If you wish the item to be committed earlier than this, then put in a...
QZERO means that there are no more items on the TDQ, so on receipt of such a response, program 2 should end.
Could the problem be that program 1 is not issuing a SYNCPOINT after writing an item to the tdq ? If this is the case, then any new items on the TDQ will not be available to program 2...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.