At 10:24 -0700 5/18/04, tim wen wrote:
>In LV6 the 'AI read.vi' hogs the CPU waiting for the number of samples requested to 
>be available.
>someone (sorry for not remembering the name) came up with a 'non-blocking AI read.vi' 
>which i have
>been using happily.
>i noticed the new DAQmx 'cont&graph.vi' is hogging the CPU also.  is there a cure for 
>it ( i think it makes
>DLL calls)?

One version is at <http://sthmac.magnet.fsu.edu/labview> in the VI library.  I think 
there are a number of these around.  I have not updated it for DAQmx since it is not 
available for my development platform. :-(

I don't know if it would be a simple modification to make it work with DAQmx.  It is a 
fairly simple concept and not too complicated code.


>another question:  i've been using LV2 style globals to pass data between parallel 
>loops
>and am wondering if a queue is a better way to go?
Probably.  If you are just passing data in one direction it can work well.  With a LV2 
style global you can build in internal processing and value manipulation to the global 
(ie intelligent global).

-Scott


Reply via email to