LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Building Windows Executable when calling 'Open FPGA Reference'

I have windows LV application that calls a SIMPLE FPGA loop targeted to a cRIO 9004/9103 device.  I am using the 'Open FPGA Reference' from within my LV code as all I need is the data acquisition capability of the 9103 in this application, not the RT controller.  I don't want to build the Low-Priority loop / Higi Priority Loop / Host PC app TCP/IP messenger service for this application as that is WAY more complicated than I need.  I don't even need the RT controller for this application.  So, I am using the FPGA primitive 'Open FPGA Reference' and the FPGA 'Read / Write Control' primitive to interface with my FPGA app.

I want to build an executable so that I don't have to run with the development system, so I go through the normal steps and the build goes OK.  When I try to launch the .exe that I have created, however, I get a few problems.

1.  Even though the FPGA/RT controller IP address is given on my front panel, a dialog box pops up and asks me for the address of the RT target.  I enter this in and hit continue

2.  Another dialog box pops up saying 'downloading application' just like when I am running in development mode if the target to the FPGA is new.

3.  The download process fails about halfway through, it seems to have timed out, and I get the following message:

'Failed to Download DAQMX timing sample clock.vi'

Here's the thing.  This isn't even a part of the FPGA vi.

When I acknowledge that message, I get another dialog box that says.

'Failed to load shared library, nilvaiu.dll on RT Target device.

Could someone point me to an application note as to how to do this or advise what I am doing wrong?

Thanks,

Wes




--------------------------------------------------------------------------------------
Wes Ramm, Cyth UK
CLD, CPLI
0 Kudos
Message 1 of 2
(2,853 Views)
Wes,

I am assuming you are using LabVIEW 7.1 in your application. I have created a simple application for 9004/9104 and it is working fine. I have a couple of suggestions, when you launch the .exe file it will ask you for a target and select the windows as your target. Do this on your development machine. The other thing to try is to select your FPGA board using the VISA Resources instead of using the IP address. If you right click on the FPGA Open VI Reference it will give you the option to select 'External VISA Input'. Then you can create a control for this input which you can select the FPGA target in your application.

Regards,
Ame G.
0 Kudos
Message 2 of 2
(2,835 Views)