12-11-2013 04:35 AM
Hello,
I have got a problem when deploying the target: "Failed to connect to target".
It all started when I created one of FPGA projects, although I created a very similar one before and it worked as it was supposed to. I got an error "Failed to connect to target" when I wanted to run it. To my surprise, all other projects didn't want to run as well and so they do so far. I cannot run any project.
The cRIO was disconnected when I run Measurement & Automation Explorer. Even though, it's possible to connect with it in Safe Mode. When I do it, I get such a warning: "There was a problem retrieving the settings for the target. For more information go to ni.com/info and enter the Info Code MAXServerUnknownError. Contact National Instruments if the problem persists". As I was told to, I followed the instructions on the website:
Unfortunately, none of them helped.
I don't know any other way to help it. I'd appreciate some help.
12-11-2013 04:43 AM
I forgot to add - I run my projects on other computer. The projects that had worked before, worked then as well. But as soon as I run the project that caused failure, the whole situation happened again. All projects stopped working on that other computer as well.
12-16-2013 06:05 AM
Hi nw21 and welcome to NI Forums!
If I understood correctly, the issue only happens with one particular project, it theat whenever you deploy that project, you lose connection. In this case the most likely scenario is that the project code causes this. As ou kow, the cRIO as a Real-Time operating system, wich can run tasks in higher priorities than the OS itself. This means that whenever you have a hih priority loop that uses 100% CPU, things like network comunication will starve and result in loss of connection.
Kind regards:
12-16-2013 06:57 AM
Thank you very much for answer. That's a rational explanation.
I have one more question: what should I do in such a situation? I mean when I run a troublesome project and no reset stops it. There has to be a way to step out of it.
12-16-2013 07:07 AM
Dear nw21,
there are several way of doing just that. You can:
Kind regards: