09-28-2005 11:16 AM
09-29-2005 06:46 AM
Hi Malkoba,
I had a look at your code and this is what I think is happening:
You have set up an aquire task that is taking 700K samples a second but only outputting 100K per second. This will cause the data to be outputted 7 times slower than the orrigonal input.
You need to set the sample clock values to the same values for each of the tasks. (so 100K for both tasks). This will ensure a quicker response time from your outputs.
Also if you set your buffer values to 5000 (both of them) then you will find that you will not get any more buffer overruns in your code.
I have attached an example of your code with the changes I have suggested.
Thanx
(Post back if this helps, or if you need more info)
AdamB
National Instruments
09-29-2005 10:45 AM
09-29-2005 10:52 AM