LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Daqmx, queue, and memory

Hi all,

 

I have a loop that would read the analog in buffer and put the data (24x1000 2d array /element) onto three queues (one for display, one for file I/O, and one for motion control).  It seems to be that this is very wasteful, but I can't think of a better way.  Apparently, LV agrees with me, and it is giving me a memory error, saying that I don't have enough memory to perform the operation.  I understand that I am buring a lot of memory, but it surprised me that LV can't handle that.  Can you help?  Thanks!

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 1 of 2
(2,564 Views)

Hi jyang72211,

can you upload your vi, so we can look into it?

Maybe it helps if you use an action engine for your data and only send a "new data" command with the queues.

 

Mike

Message 2 of 2
(2,535 Views)