10-18-2006 07:49 AM
10-18-2006 08:07 AM
Ian,
The short answer is, yes, you can acquire data from each of these modules in different loops at different rates. This will be done on the FPGA in a VI targetted to the FPGA.
In LabVIEW FPGA data acquisition is performed in single point operations. Using the FPGA I/O node you acquire one point of data from each channel of interest. The rate at which you acquire data is determined byt the loop rate in which you place the FPGA I/O node. In your case you would have one loop running at 1 kHz and another at 10 Hz. You do not use any of the traditional DAQ functions that you are familiar with.
If you were to try to run a loop faster than the AI operation allows, the FPGA I/O node would not return control to the rest of the FPGA diagram until the data is acquired and would thus slow down the operation of the loop. You would not see an error in this case and you need to verify the timing of the loop yourself. Developing LV on FPGA is a bit different than Windows in that you are truly designing your own hardware operations and more responsibility is placed on the developer to do their own error checking, etc.
10-18-2006 08:26 AM
Christian
Thanks for the detailed reply.
It is good news that I can work with the two loops. From your additional comments it looks like I will have to learn quite a few new techniques. Since the funding for the project has been delayed by a couple of months it'll give me time to read up on the topic.
Thanks again
Ian