12-04-2007 08:17 AM - edited 12-04-2007 08:21 AM
12-04-2007 08:36 AM
I have used hardware triggered Timed Loops to run at 2KHz under Windows. Be aware that Windows reserves the right to act stupid.
10KHz or better is possible in LV Reat-Time. On high-end RT platforms I have measure loop rates approaching 200KHz but I have never "closed a loop" at that rate.
FPGA's can do about 20MHz (I believe).
Ben
12-04-2007 08:49 AM
12-04-2007 08:52 AM
Those numbers are for "closing a loop" i.e. "Read, Think, and Write" operations.
If your readings do not have to be evaluated to control your writting then there are other options.
Ben
12-04-2007 08:57 AM
12-04-2007 09:07 AM
What kinds of thingies do you want to close your control loop around? Do they really have the bandwidth to benefit from a > 1kHz control loop? Are there hazards if Windows messes up your loop timing and they go unstable? The more it's crucial to maintain continuous control and the higher the control loop rate, the less you can hope for a Windows-based solution.
However, as Ben mentioned, with careful coding you can get Windows to run at 1 or 2 kHz. I'd expect you could meet that timing for >95% of the loop cycles. But some of the misses could easily miss 10's of control loop cycles.
-Kevin P.