From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use NI FPGA Card with VC++

We are using 7830 R FPGA card to generate three triangular waves.

 

In Labview interface we have a HOST.vi and FPGA.vi. This HOST.vi is the user interface that interacts with the FPGA.vi which is the FPGA interface.

 

This setup runs perfectly fine in Labview. Now we want to use the FPGA with the same program in VC++. For this we have generated HOST.dll file (this is the dll of HOST.vi) in application builder.  

 

When we call this HOST.dll in VC++ it does not seem to do anything.  However HOST.exe (generated in application builder) works perfectly fine. It seems that HOST.dll does not include the functions that download the program into FPGA.

 

On the NI site there is some similar situation posted. One of the application engineers seem to have suggested to use lvalarms.dll that get generated when a dll is compiled. However lvalarms.dll do not get generated when we compile over here.

Can anyone please suggest what should be done?

0 Kudos
Message 1 of 1
(3,685 Views)