09-24-2013 08:27 AM
Hello,
I am bit confused while using the sub vi inside the Labview FPGA. My probelm is that I have created a sub Vi for the fittering inside the FPGA and I want to reuse that sub vi in the Main FPGA VI 16 time for the filtering 16 channel(128 channel in future) So please tell me what is tha efficent way of combining the channels and do the filtering. Also for the filtering i am using the high througput Math operatator and they are limited and for my design they are not suffisent to muiltiply the subvi 128 times for 128 chaanels. Please take the look. and the FIFO is used for trasfering the data to Main RT VI
09-26-2013 04:06 AM
Hello,
Based on the explanation above and the pictures in attachment the full scope of the project/set-up is not completely clear to me:
- One of the unclear things is why you are using a special FIFO in your subVI instead of a simple wire?
- Also pieces of your VI's Block Diagram are missing through the partial screenshots, so I'm not really able to provide complete feedback.
Are you able to share the actual code? (project, VIs, etc..)
Regarding the sharing/reusing of resources the first thing you'll have to look at is the reentrancy of your VI.
I would advise you to go through the following free training material:
http://www.ni.com/white-paper/3555/en
Lesson 10 for example will show how to make modular code that allows you to reuse certain components/resources on your FPGA.
09-26-2013 04:27 AM - edited 09-26-2013 04:28 AM
09-26-2013 07:00 AM
Did I miss one of his posts?
I currently only see one of his posts.