06-03-2008 03:18 AM
06-03-2008 03:32 AM - edited 06-03-2008 03:32 AM
Hi turbo,
what do you mean with large volume of data? How much is large? this works:
Mike
06-03-2008 04:02 AM
06-03-2008 04:23 AM
06-03-2008 04:26 AM
They are used in different vis.
Really want to compare how they allocate the memory.
06-03-2008 04:43 AM
06-03-2008 04:54 AM
06-03-2008 05:02 AM
turbot wrote:
If each element is bigger than the DBL, will it be affected.
How does it compared to function global with the memory inside.
06-03-2008 10:45 AM
So far as I know the queue is just a data structure, but the function global is have memory allocated, and so far works good. I am not sure if I am right. Can any one correct me.
06-03-2008 10:51 AM
memory is allocated for each of the elements in a queue. Provided there are no branches in the wires (casusing buffer copies) that feed a queue, ther is no need to allocate a new buffer to queue up the data. Rather the pointers to the buffer holding the "to-be-queued" data is what get passed by the queue. On the other side of the queue the pointer a grabbed when de-queing and used as the code indicates.
I use queues when dat all ends up in one place and is proceesed then goes away.
If the data goes to multiple locations and or does not go away, then an AE can work using its internal buffer (i.e. the Shift Register).
Ben