Prev: How can I start a LabVIEW .VI program in another software?
Next: call library function node: malloc to recieve a struct
From: aldawi on 19 Jun 2008 07:40 sorry I mean 700 kHz regards fouad
From: Adnan Z on 20 Jun 2008 04:40 Hi Fouad, Just waned to add on to what Andre mentioned. Have a look at this KB article:<a href="http://digital.ni.com/public.nsf/allkb/7AD4854943BF344186256D6500807935?OpenDocument" target="_blank">(DAQmx) Error -200279 During a Continuous, Buffered Acquisition</a> In short, try decrease the sampling rate, increase the buffer size, or increase the number of samples per channel to read.
From: aldawi on 23 Jun 2008 08:10 Hi i still got same problem Regards Fouad
From: KostasB on 25 Jun 2008 06:40
What happens is that you have high speed acquisition with intensive signal processing at the same loop. The program can not do the signal processing as fast as the acquisition and eventually it fills and overwrites the buffer. As Andre said, you need to put the signal processing in a different loop than the acquisition. Use one producer loop for the acquisition and two consumer loops for the processing. Try to write effiicient code and avoid using subVI's and dynamic data. You can do filtering with low level VI's and use DBL data instead. Have a look at the LabVIEW templates and more specifically the Producer/Consumer (data) Pattern. <a href="http://zone.ni.com/devzone/cda/tut/p/id/3023" target="_blank">http://zone.ni.com/devzone/cda/tut/p/id/3023</a> KostasB |