10-29-2014 08:01 AM
Hi all,
This is my very first time using the LabVIEW FPGA C Interface and I am getting the following error:
NON-FATAL RUN-TIME ERROR
Library function error (return value == -63101)
The code that I am trying to use is the following:
NiFpga_Session session;
/* must be called before any other calls */
NiFpga_Status status = NiFpga_Initialize();
if (NiFpga_IsNotError(status))
{
/* opens a session, downloads the bitstream, and runs the FPGA */
NiFpga_MergeStatus(&status, NiFpga_Open("C:\\" NiFpga_Counter_Bitfile,
NiFpga_Counter_Signature,
"RIO0",
0,
&session));
}
I looked the error up in the "NiFpga.h" and it says that either the bitfile is not valid or may be not compatible with the software I am using. However, I am using LabWindows/CVI 2013 and NI FPGA Interface C API 13.0. Also, I used LabVIEW 2013 to make the bitfile. Any help would be appreciated...
Thanks in advance,
Enrique
10-29-2014 06:04 PM
Hi!
The problem was finally fixed by simply modifying the resource name, from "RIO0" to "rio://10.0.0.2/RIO0" 🙂