LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA C API Interface - NiFpga_Open error: -63180

Hello,

 

- I've compiled a bitfile for my NI9148.

- Generated the neccesary files using C API Interface.

- Created a C console project and tried to connect to the FPGA.

 

My problem occurs when I run the code:

 

NiFpga_MergeStatus(&status, NiFpga_Open(NiFpga_FPGACharging_Bitfile,
			                NiFpga_FPGACharging_Signature,
			                "//169.254.7.183/RIO0",
			                0,
			                &session));

// NiFpga_Initialize(); is called before NiFpga_Open.

The 'status' variable gives me the error: -63180 which is not defined in the FPGA Interface C API error codes

 

In order to try to find what the problem is I've tried to

- Change the name of the bitfile to an incorrect one, by doing so the error returned was -63101 which is OK because it represents NiFpga_Status_BitfileReadError.

- Change the name of the resource to an incorrect one, by doing so the error returned was -63192 which is OK because it represents NiFpga_Status_InvalidResourceName.

 

So, what does -63180 mean ?

 

Thanks,

Robert.

0 Kudos
Message 1 of 1
(2,343 Views)