03-23-2006 09:03 AM
03-24-2006 08:34 AM
I tried this out on my system and had no problems. Keep in mind some things. This function is completely computer dependent. It will depend on how much Ram you have, how fast your processor is, and how much "other stuff" is going on in your computer. It was designed for a Real-Time system, but will work on Windows. I am going to assume you are running this on Windows. So things you can do to help get the rate faster.
#1. Don't have anything else running in Windows
#2. Remove the indicator from inside the loop...that will slow it down.
#3. You can set the thread of the VI to time critical. Be warned though this will make other things in your system unresponsive.
#4. Of course depending on loop rates and stability you could by a dedicated PXI RT controller.
As a comparison. With absolutely no changes ot your example on my 3.2GHz with 1Gb of Ram and nothing else running I was able to only go 2.5kHz. On an RT system our maximum sustainable rate is more like 40k
StuartG