09-29-2005 07:45 AM
09-29-2005 08:10 AM
09-29-2005 08:14 AM
Thanks for the reply, but I don't quite understand that.
Surely the timeout and the polling rate are independent? For example, if I set the timeout for 50ms or 100ms, how do I know how often the Dequeue Element Vi is checking the queue?
09-29-2005 09:05 AM
09-29-2005 02:50 PM
09-29-2005 05:27 PM - edited 09-29-2005 05:27 PM
Message Edited by shoneill on 09-30-2005 12:28 AM
09-30-2005 02:50 AM
09-30-2005 07:29 AM
If you are really worried about overhead you can profile the vi in action and see how much time is spent on average on the queuing and dequeuing event. This will probably depend on the data structure used since the queue can assume any type in labview. My experience has been the the overhead for the queues is minimal and well worth the ease of use. Sorry polling is not the correct term, it is interrupt based but you can control the frequency of the interrupt in ms or wait for a queue event to wake up the tread waiting on the dequeuing.
Paul