Running LabVIEW 12.1
We have an application that is using an FPGA that was compiled to Run at Reset (runs on any reset or powerup). We occassionally need to update the image on the RT and FPGA and I have downloaded the NI RIO Replication VIs.
The problem I am having now is that when I got to download the bitfile to the FPGA Flash on the sbRIO9636 I am getting the following error:
Error -61141
Possible reason(s):
LabVIEW FPGA: The operation could not be performed because the FPGA is busy. Stop all activities on the FPGA before requesting this operation. If the target is in Scan Interface programming mode, put it in FPGA Interface programming mode.
My updater is stand alone EXE. It may not be able to get a link to the FPGA because we can't be sure what Bitfile is currently on a particular system. I tried using the Open FPGA Reference and loading a BLANK bitfile onto the FPGA by setting the FPGA to RUN when it his the FPGA Open Reference VI - and this works to allow me to erase the bitfile. It does not allow me to immediately after run the Download bitfile VI from the RIO replication - even though I Close and Reset the FPGA before trying to download the Bitfile to the RIO Flash.
Will I have to first Erase the existing bitfile and then load the new one?