09-16-2011 06:29 PM
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
Solved! Go to Solution.
09-17-2011 06:40 AM
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.
09-17-2011 07:33 AM
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.
09-17-2011 07:52 AM
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 ?
09-19-2011 02:12 PM - edited 09-19-2011 02:17 PM
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.
09-19-2011 05:27 PM
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.
09-19-2011 11:53 PM
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.
09-22-2011 06:30 PM
Thank You all for the help. Program is now able to connect to my remote system.