LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

fpga - Have to compile subvi separately from parent VI?

We have other FPGA projects with subvi's where compiling the root FPGA vi apparently compiles all subvi's.   However, in a new project I seem to have to compile the subvi, THEN compile the parent/root VI.  If I only complie the parent, changes in the subvi don't seem to get incorporated.

 

Does this make sense?

 

Steve

0 Kudos
Message 1 of 3
(2,576 Views)

No, not to me…

Best regards,
GerdW


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

@maherhome wrote:

We have other FPGA projects with subvi's where compiling the root FPGA vi apparently compiles all subvi's.   However, in a new project I seem to have to compile the subvi, THEN compile the parent/root VI.  If I only complie the parent, changes in the subvi don't seem to get incorporated.

 

Does this make sense?



No it makes no sense apart from the fact that I've seen similar problems on RT systems.

 

When using inlined VIs (And VIs on FPGA are generally inlined) then many changes in sub-VIs don't propagate up to the parent.  What I do is make a small change in the parent (relinking a global or something trivial and then compile, that way LV HAS to recompile the parent VI and it automatically retieves the current state of all the sub-VIs.

 

I've never run into this problem on FPGA (AFAIK).  But it certainly sounds familiar.

 

Shane

0 Kudos
Message 3 of 3
(2,563 Views)