07-21-2006 08:09 AM
07-24-2006 10:38 AM
Hello Mudda,
Assuming that you are using both LabVIEW FPGA and LabVIEW Real-Time as the controller, then you have several options. With LabVIEW FPGA you are programming the hardware of an FPGA, so parallel loops are actually running in true parallel in LabVIEW FPGA. This means that you could be getting data from each of your modules at the same time in separate loops. However, the Real-Time vi that is receiving the data is not truely parallel, but it is deterministic. This means that you can expect more precise performance from the VI. It does not make much difference if you are acquiring the data from the FPGA in the same loop or in different loops for each module.
Here is a link to a class/tutorial that has an introduction and advanced topics like how to share the data between the Real-Time VI and the FPGA VI.
I hope this helps.
Steven T.
07-24-2006
11:26 AM
- last edited on
11-12-2025
09:36 AM
by
Content Cleaner
07-24-2006 02:34 PM
07-25-2006
09:48 AM
- last edited on
11-12-2025
09:37 AM
by
Content Cleaner
Mudda,
I am glad that the information was helpful for you. Your current ideas about transferring data from the FPGA VI to the Host VI are exactly what we recommend. There is a developer zone document that even has your same application. They are reading from 4 AI channels and then putting them into the FIFO. Except it looks like they put a single element at a time. Since your FPGA VI will be running faster, make sure that there will be periodic breaks in the data or you will fill the FIFO and receive and error.
Since you mentioned FIFOs, you are using LabVIEW 8.0 and LabVIEW FPGA 8.0. You can create your project and then create new hardware (right click the project and select new->targets and devices). If you select new target or device, then you do not need the hardware. After adding your FPGA, you can right click the FPGA and select properties. You can select to turn the emulator on so that you can do your tests without the hardware. I hope this helps you.
Steven T.
07-25-2006 09:53 AM
Thanks for your information.
Mudda