Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

RIO evaluation kit "failed to connect to real-time target"

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.

 

 

 

0 Kudos
Message 1 of 10
(7,812 Views)

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.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 10
(7,802 Views)

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. 

0 Kudos
Message 3 of 10
(7,799 Views)

 

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?  

0 Kudos
Message 4 of 10
(7,789 Views)

Are you able to detect the RIO device in MAX?.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 5 of 10
(7,787 Views)

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.

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P70YSAS&l=en-US

 

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?

 

 

Zach P.

Staff Software Engineer | LabVIEW R&D | National Instruments
0 Kudos
Message 6 of 10
(7,775 Views)

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?  

0 Kudos
Message 7 of 10
(7,772 Views)

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.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 8 of 10
(7,769 Views)

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? 

0 Kudos
Message 9 of 10
(7,766 Views)

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.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 10 of 10
(7,764 Views)