キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

programmatically launch FPGA compilation

解決済み
解決策を見る

I too am interested in this.


Certified LabVIEW Architect, Certified Professional Instructor
ALE Consultants

Introduction to LabVIEW FPGA for RF, Radar, and Electronic Warfare Applications
0 件の賞賛
メッセージ11/15
1,137件の閲覧回数

Looks like LabVIEW 2018 has files for automating LabVIEW FPGA builds:

 

C:\Program Files (x86)\National Instruments\LabVIEW 2018\vi.lib\rvi\CDR


Certified LabVIEW Architect, Certified Professional Instructor
ALE Consultants

Introduction to LabVIEW FPGA for RF, Radar, and Electronic Warfare Applications
0 件の賞賛
メッセージ12/15
1,127件の閲覧回数

The programmatic compilation VIs under C:\Program Files (x86)\National Instruments\LabVIEW 20xx\vi.lib\rvi\CDR are completely undocumented and password-protected, so it is very hard to troubleshoot problems that arise.

 

And in our limited experience with attempting to leverage these files, the behavior is wildly inconsistent. Calling "C:\Program Files (x86)\National Instruments\LabVIEW 20xx\vi.lib\rvi\CDR\niFpgaBuild_Compile.vi" multiple times on the same source code sometimes actually compiles and other times apparently does nothing at all (including not throwing any sort of errors).

 

Are there any other tools available to do the compilation, or is it even on the roadmap to try to provide a real alternative? As it stands now, these tools are pretty unacceptable. Can anyone from NI proper comment?

0 件の賞賛
メッセージ13/15
1,054件の閲覧回数

This VI just saved me years of my life

0 件の賞賛
メッセージ14/15
937件の閲覧回数

@DAQjr wrote:

Hi Ray,

 

I've thrown together something that works for me to build multiple FPGAs in multiple projects with multiple build specs for a single VI.  In my case, I build the same VI for several targets and with different Conditional Disable Symbols, so I have to resave the top-level VI in the context of the target I'm about to build.  It could be improved to find all the dependencies and save them, in case there were Conditional Disable Structures in subVIs as well as the top-level VI.

 

It's not pretty and it may get at references less directly than possible.  Any clean-up suggestions on the VI Server code is welcome.

 

Hope this helps,

-Joe


This VI just saved years of my life

0 件の賞賛
メッセージ15/15
935件の閲覧回数