取消
显示结果 
搜索替代 
您的意思是: 

Labview with cRIO FPGA error

已解决!
转到解答

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

下载全部
0 项奖励
1 条消息(共 8 条)
4,249 次查看

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 项奖励
2 条消息(共 8 条)
4,241 次查看

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 项奖励
3 条消息(共 8 条)
4,235 次查看

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 项奖励
4 条消息(共 8 条)
4,232 次查看

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 项奖励
5 条消息(共 8 条)
4,192 次查看
解答
接受人 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 项奖励
6 条消息(共 8 条)
4,178 次查看

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
7 条消息(共 8 条)
4,168 次查看

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

0 项奖励
8 条消息(共 8 条)
4,152 次查看