Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66749

FPGA Error -63195

$
0
0

I recently installed LabVIEW 2013 and I am looking to write a FPGA program for the PXI-7853R.  I want to use I2C_Core from the Community to do some basic I2C communication. 

 

I follow their documentation guide and successfully get "I2C_Core_[Top-Level].vi" to compile and run without error.

 

Then I continue to follow their documentation and I set the FPGA reference in "I2C_Host_[Top-Level].vi" to my bit-file that was just generated from the compilation.

 

When I run the "I2C_Host_[Top-Level].vi" with "Open I2C Bus", it completes without error and does generate a handle (if I probe the line/shift register).  However if I try to "Close I2C Bus" or "Send CMD", it throws error -63195:

 

error.JPG

 

According to the FPGA Communications Framework Error Codes reference, −63195 stands for "The handle for device communication is invalid or has been closed. Restart the application."

 

I have tried going through the documentation steps MANY times and I still get this error.  I've tried updating to LabvIEW 2013 SP1.  That did not help.  Ive tried recompiling the FPGA code a bunch.  That didn't work.  No luck :(

 

In order to test the DIO lines and FPGA, I created a simple Test program to just toggle the lines on and off.  (This is also included in the project under the FPGA Target):

 

Test FPGA.png

 

This program compiled and worked fine.  I attached the lines to some oscilloscope probes and saw them going high and low without issue.

 

Any thoughts on what might be wrong with my I2C_Core setup for FPGA would be greatly appreciated!

 

**Notes:

 

I have spent hours reading every single post containing this error code on the forums.  None of them have even remotely helped. 

 

EDIT1:

 

The attachment didn't like a .rar file.  I am reupploading it now as a .zip.


Viewing all articles
Browse latest Browse all 66749

Trending Articles