11-06-2006 10:39 AM
11-14-2006 07:47 PM
Hi John,
The cFP-AI-118 does single point softwared-timed acquisition. Currently you are using an ethernet interface for you module. The software timing is done by the CPU of your PC. If you don't have any Wait functions in your loop, the loop is going to try to run as fast as possible (as much as the CPU is allowing). The loop does not run deterministically. If you use a Wait function inside of your loop, the min value that you can set is 1ms, which will give you 1000 reads per second.
However, if you deploy your VI on an RT target such as the cFP-20xx RT controllers family, the min Wait function value that you can set is 1 microsecond, which will give you 1,000,000 reads per second. Of course if your hardware cannot update the values that fast, many of the reads will be repeated.
The bottom-line message is that if you want to achieve the max speed of that AI module, you will most probably need an RT controller.
Hope that answers your question.
09-17-2007 08:24 PM
09-18-2007 07:29 AM
09-19-2007 07:50 PM
09-20-2007 06:49 AM
@ Tom
I know from personal experience that this module will run much faster than your test results. To get the best speed you need the cFP-2120 installed in the same backplane as the AI-118. You need to build your test vi into an executable and deploy to the cFP controller. This is different from running your vi in development mode and targeting the cFP controller. Any network communication during the sampling period will slow you down.
09-20-2007 06:21 PM
I am sorry. I do not mean to be difficult, but I am running the 2120 on the same backplane as the AI-118, I am running the program compiled and embedded on the 2120 (no host attached) and all network connections are dead at time of execution. Also, I have the VI set or highest (time critcal) priority. I will double check and try again, but I have my doubts. I am going to try running a simple code with no tasks to see the avergage time for itertion of the loop.
Tom Held
09-20-2007 07:23 PM
09-21-2007 06:53 AM
09-24-2007 08:51 PM
I have it set for no filtering.
-Tom