07-05-2007 10:43 AM - edited 07-05-2007 10:43 AM
Message Edited by LV_Pro on 07-05-2007 11:45 AM

07-05-2007 12:23 PM
I would point to the All option as the most likely suspect. If all three VIs are running at the same time, then it is possible that you will have this:
1. A previews the queue and sees All.
2. B previews and sees All.
3. A extracts All.
4. B extracts the next element, which actually belongs to A.
Do you have a log of messages sent\popped with timestamps?
07-05-2007 12:32 PM
07-05-2007 01:06 PM
07-05-2007 06:03 PM
07-06-2007 06:26 AM

07-06-2007 06:52 AM
That's what I thought at first too, but I figured that the dequeue only happens if the first element does belong to the current VI, so unless there is a place which does not follow this rule or a place where you place an element at the beginning of the queue, I don't think this should happen.
@LV_Pro wrote:
I'm feeling pretty sure that what is happening is a different "race" condition, where the queue is checked, the loop decides that it is a command for it, and in the mean time another command has been placed on the queue.
07-06-2007 07:04 AM - edited 07-06-2007 07:04 AM
Message Edited by LV_Pro on 07-06-2007 08:08 AM
Message Edited by LV_Pro on 07-06-2007 08:10 AM

07-06-2007 07:34 AM - edited 07-06-2007 07:34 AM
Message Edited by LV_Pro on 07-06-2007 08:38 AM

07-06-2007 08:17 AM
Well, it looks like you're the one who solved it in the end, because we all failed to notice that you used a timeout for the preview node. I think I assumed either that you don't have timeouts or that your timeout is the default -1.
@LV_Pro wrote:
What time is it where you are tst? It is pretty early in the business day here (I work from a home office), but I seem to recall that we others guessed you lived way east of the eastern US, or way, way west, depending on which way one decided to travel!!!
I guess you don't follow the BreakPoint enough. ![]()
The local time for that last post was 14:52.