07-03-2008 09:24 AM
07-07-2008 08:11 AM
Hi Lars,
as far as I know there are 2 ways to dynamically download a bitfile to an FPGA
device.
1. Using the NI-RIO driver (available at: http://joule.ni.com/nidu/cds/view/p/id/993/lang/en)
When you install the NI-RIO driver, the RIO Device Setup utility is installed,
which allows you to download bitfiles to the flash memory of your FPGA device.
After that when the device is reset or powerup, the device itself can load and
start this new bitfile. Just make sure that the option "Autoload VI on
device powerup" or "Autoload VI on device reboot" is set
accordingly under Device Settings in the RIO Device Setup utility. Change
these options of the device so that the bitfile is loaded on a reset or power
loss, then reset or cycle the power for the device.
2. Using the FPGA Target System Replication utility as discussed under: http://zone.ni.com/devzone/cda/tut/p/id/6465
With the help of the VIs included in this utility (http://digital.ni.com/public.nsf/websearch/AF4FF0C65AF31B4348257337006A144A?OpenDocument) you can basically set the same options and select a bitfile similar to the RIO
Device Setup utility of the NIO-RIO driver. Similar to the RIO Device Setup
utility you can download your bitfile to the flash memory of your FPGA and then
reset or power cycle your device.
I hope this information helps you.
Best regards,
Balazs
07-07-2008 10:50 AM
@Lars.B wrote:
Does anyone knows how this can be solved? Or is there no way to do so that a bitfile is loaded at runtime (as a file and not integrated in RTexe)?
Or is this maybe because the VI which calls the bitfile, is forced to be part of the compiled RTexe (build options)?
09-10-2008 02:49 AM
I had the same problem with the use of the PCI-7813 fpga board.
What i did was to rename the bitfile to ex. active.lvbit in the VI calling/open the reference to the FPGA board and before executing the code I copied the bitfile I wanted to use to the name active.lvbit, This only works without recompiling the VI calling the FPGA bitfile if no changes made to the frontpanel of the FPGA code, just changes/bug fix ib the FPGA code.
02-16-2009 10:41 AM