LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview FPGA SubVI operation

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  

Download All
0 Kudos
Message 1 of 4
(2,850 Views)

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.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 2 of 4
(2,806 Views)

Hi sammir,

 

there's a reason you're not allowed to attach BMP files: they are ridiculous huge. Renaming them to JGP will not reduce their filesize!

 

See attachment for your subVI (with some decent cropping too)!

 

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 4
(2,801 Views)

Did I miss one of his posts?

I currently only see one of his posts.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 4 of 4
(2,791 Views)