LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview with cRIO FPGA error

Solved!
Go to solution

When attempting to run a VI that interfaces with cRIO I receive the error code -63191. My cRIO is connected to my computer through an Ethernet cable, both the cRIO and laptop LAN are at the same IP address. Both MAX and Project Explorer are able to detect the cRIO. Project explorer is able to connect and deploy.

 

I tried changing the IP Address under Project Explorer from 168.192.0.11 to  168.192.0.10 thinking that since the cRIO-9004 component is connected under the first IP address, Project Manager (which seems to interface with the cRIO-9103 component) may be having IP conflict issues. I end up getting a different error code -63040.

 

Screenshots of first error are attacted as well as MAX and Project Manager showing connection

Download All
0 Kudos
Message 1 of 8
(3,526 Views)

One thing first, what are you trying to do ?

From your post it is not clear what your vi is trying to do.

From the error code I can se that you are trying to open a reference to the FPGA on the backplane of the 9103.

That leads to the secound thing.

You are not have a single vi in your cRIO target.

The only way to get access to the FPGA is in the cRIO target, NOT from My computer.

 

Have you tried going through the developer guide for cRIO ? 

http://www.ni.com/compactriodevguide/

It will give the basis for delevoping application for a CompactRIO system.

 

If you need some help with your vi/project, post them so that we can take a look.

 

0 Kudos
Message 2 of 8
(3,518 Views)

The purpose of the VI is to control the left and right motors of an electric wheelchair through cRIO-9103.

 

I have a VI in my target (Chaircontrol1), that serves to do the same thing. When I run this VI, it fails to compile and does nothing further.

0 Kudos
Message 3 of 8
(3,512 Views)

The vi you have is only for the FPGA, not for the embedded controller of the 9004.

You can only talk to the FPGA vi through a vi in the embedded controller.

 

And why is your FPGA vi not being compiled ? what are the error saying ?

0 Kudos
Message 4 of 8
(3,509 Views)

My open FPGA VI reference points to the chaircontrol1 VI in my FPGA target. And the VI in the FPGA target has not compiled and does not run. The error I mentioned before pops up.

0 Kudos
Message 5 of 8
(3,469 Views)
Solution
Accepted by WheelchairDev

Hello WheelchairDev,

 

From that screenshot you just sent over, it looks like you don't have your project set up properly. You should have your Project -> cRIO target -> cRio chassis -> FPGA target.

If you would like to see an example of this, from the LabVIEW getting started window, select FPGA Project from the Targets dropdown to create an example project.

Once you change the layout, let me know if you have any further questions.

Cheers!

TJ G
0 Kudos
Message 6 of 8
(3,455 Views)

WheelchairDev Wrote

When attempting to run a VI that interfaces with cRIO I receive the error code -63191. My cRIO is connected to my computer through an Ethernet cable, both the cRIO and laptop LAN are at the same IP address. Both MAX and Project Explorer are able to detect the cRIO. Project explorer is able to connect and deploy.

--------------------------------------------------------------------------

 

You can't keep cRIO and laptop LAN at same address will result in IP conflict. IP address should be unique for same subnet. Rather keep IP address like for

PC-168.192.0.11 subnet: 255.255.255.0

cRIO - 168.192.0.12 subnet: 255.255.255.0

Keep project explorer IP address same as cRIO IP address.

 

In third image it seems FPGA compile has configuration problem or firewall blocking the connection to compiler.

 

 

 

 

PBP
Labview 6.1 - 2019
Message 7 of 8
(3,445 Views)

Thank You all for the help. Program is now able to connect to my remote system.

0 Kudos
Message 8 of 8
(3,429 Views)