07-06-2006 03:03 PM
07-07-2006 03:03 PM
Hello Hosehead,
With FieldPoint there is no way to acquire more than one same at a time like
you can with NI-DAQ. With the FieldPoint read and write
Please see the Sampling
Speed of FieldPoint Modules document for more information on cFP
acquisition rates. This document explains how channels are updated, how
often the data is updated, and what happens if you miss samples. Please
note that you will be able to acquire more samples if you are running your
application on the RT controller and not on your host computer.
If this does not answer your question, can you please post more data about the rate
you want your PID loop and your data logging loop to run at.
Regards,
Jesse O.
Applications Engineering
National Instruments
07-07-2006 03:26 PM
Thanks Jesse. This is helpful and answers my question. I think I'll implement Master/Slave or maybe Producer/Consumer architecture in my Labview code as a way to solve this.
The benchmarking on the ftp site you linked seems only to be for FP 1000/1001 over RS232. Do you know of a similar document for cFP modules using the cFP-2020 (or 20xx) over ethernet?
Not sure if it's still relevant but I'd like ~1 ms logging and 200 ms PID loop. The 200 ms is something I got from a Labview example code so I'm flexible if you have other ideas there.
07-10-2006 03:33 PM
Hello Hosehead,
I think Master/Slave or Producer/Consumer should work well for your application.
There isn't a benchmark document for our ethernet controllers because their performance is affected by network traffic so it is hard to provide a benchmark.
If you are using the AI-100, 110, or 112, your controller can run embedded much faster than the update rate of these modules. As far as running on the host PC, you can run a simple VI to test how long it takes on average for you to get a new value for your system. Depending on what analog input module you are using and if you are implementing any filtering, you may not be able to get a new value for logging every 1 ms.
Please let us know if you have additional questions.
Regards,
Laura
07-10-2006 05:44 PM
Jesse and Laura - Thanks for your help. It's clearer now.
H.