04-21-2006 02:13 PM
04-22-2006 11:21 PM
04-27-2006 04:30 PM
04-27-2006 07:09 PM
Paul,
Thanks for the info. I have solved my problem by realizing that I do not need to RT-FIFO all data from the Time Critical Loop to a comm loop where it is Published. Turns out that most of the data is being read from FP modules and that can be accessed directly via Datasocket from the host program. All I now have left in the TC loop are the data reads that are necessary for the PID control. The TC loop now will run in about 10ms leaving no time for anything much else. My target rate is 20ms leaving ample time for other functions.
Leaving me with one more problem, the indeterminate nature of the TC loop. It is always bobbling +/- 2ms. What's with that? I was under the impression that a TC loop running in an FP module would be quite determinate in the 10's of microsecond range. Part of the TC loop is a timer that sends the results back to the host via an RT-FIFO to my comm loop with the data then being Published.
Thanks,
Chris
04-28-2006 06:50 PM