08-01-2005 05:27 PM
08-01-2005 08:37 PM
08-02-2005 07:21 AM
PM,
Thanks for your reply. My code is little bit complicated it contains two big state machines, the loop time between each state is 1m sec. and in my read state I am waiting 10msec before I read the data. The sampling rate I am using is 2000 samples per second. When I was running the two sate machines with the same task the speed of the read function has tremendously decreased. Please let me know if you have any ideas to bring to normal speed. Does using the same task in two different while loops decrease the speed of data acquisition process?
Thanks,
Mudda.
08-02-2005 07:53 AM
08-02-2005 09:49 AM
Lynn,
Are there any examples for the solution you described?
thanks,
Mudda
08-02-2005 10:02 AM
08-02-2005 10:20 AM
Thanks, I was able to get some example. I have couple of questions on the queues.
1) Are there any limitation on using queue's in the program.
2)Do I need to read the data periodically or is it possible to waite for a long time before I read the data. How is the data controlled in the queue is there any buffer size for the queue?
Thank You,
Mudda.
08-02-2005 10:31 AM