08-03-2012 03:37 PM
I'm trying to do the RIO evaluation kit tutorial. I'm on page 18 where I'm supposed to run the RT Microprocessor.vi. But the conflict resolution screen gives "Failed to connect to real-time target" as shown in the image. The devices are connected through a router. Everyone uses this router, so it has a bunch of other stuff connected to it.
I did put the proper IP in. I ran the setup utility again, it detected the same number as detailed in this thread and assigned the same IP as last time. (Linking to the other thread because the serial did not match, maybe that has something to do with this problem?)
I also restarted the computer as suggested in this thread, didn't help.
I also tried right-clicking on the RIO target, then utilities>reboot but it said "Unable to reboot the target. It may be offline or unresponsive." Not to mention actually pressing the button. I didn't see anything in MAX (but didn't look very hard either).
On the project explorer, the little green LED is off so I tried right clicking on the target and clicking "connect" but it gives the same "failed to connect" on the conflict window.
I found this page on reformatting the internal CF memory but wanted to see if anyone had any other suggestions. Also would that approach even be effective since I apparently can't connect to the target?
Thanks in advance.
08-04-2012 09:42 AM
This happens sometimes when you have connected with one resource (May be MAX) and when you try to connect through the project. Did you try to check any other code that tries to access the same IP as your RT?. first close all NI related programs in your PC and restart the target and then try to connect.
08-04-2012 02:00 PM
This is the first time any NI device has been connected to this computer. (I know this because it's my laptop.) And I haven't used any VIs that require IP addresses either. I'm just trying to go through that tutorial. I have tried restarting before, even restarting the computer completely, but I'll try it again when I get a chance, it couldn't hurt.
08-05-2012 05:19 PM
I restarted the laptop completely, then looked in the task manager to see if there were any NI programs, and there was just nierserver.exe (NI Error Reporting Server) so I closed that.
When the laptop was first starting up, there was also NIUpdateService and some kind of DAQ monitor (I never used DAQ) but those disappeared. However, I got the same message.
I even tried installing everything on a totally different computer (same network though) and the exact same message appears. So, surely it must be the RIO evaluation board?
08-06-2012 12:35 PM
Like P Anand said, you may want to start with confirming that the device shows up as "Connected - Running" in MAX. The KnowledgeBase article linked below goes through the troubleshooting steps for finding the device if it is not listed.
Did the install process of software on your host PC and target complete without errors? The IP conflict message mentioned in the other thread could be a problem. What are the IP addresses of your host PC and RIO?
08-06-2012 01:16 PM - edited 08-06-2012 01:17 PM
On the desktop I tried assigning a static IP (I know that's only for direct connection, not router, but I just wanted to try it), but that didn't help and furthermore it messed up the internet connection. So I changed it back to automatic, ran setup again and it assigned a different IP. So I tried running the VI again and it actually worked this time. Text on LCD, green LED lit, even shows up in MAX. No doubt you guys helped a lot. However I'm also going to try it from the laptop.
But I shouldn't have to set it up again when using the same board on the same network from a different computer, right? (All devices are on the same router.) Just using the same IP should be enough?
08-06-2012 01:24 PM
I would suggest you to set a static IP with a sub netmask same as your PC subnet then you should be able to communicate with the device easily. If it is auto leave it as it is set the IP of the Device and try to Ping first if that is Ok then everything will be fixed.
08-06-2012 02:10 PM
When it's deploying it says "The version of this library downloaded on the target does not match the version in the project. All VIs and Libraries will be closed if you choose to apply and continue with deployment." I click apply and it deploys fine, I'm just wondering what that message means. It doesn't close the VI, just after it says "Deployment completed successfully" I have to close the deployment window and then the VI starts running. I didn't make any changes to the VI, how could the versions not match?
08-06-2012 02:52 PM
Yes it will come. It doesn't mean that your software has changed its just a warning that the code that you are currently deploying has some changes compared to the code that is already deployed and running. So the Target will close all the previous code and start to run the new one you deploy.