cRIO not letting me deploy code.

I’m trying to deploy code to my cRIO but i keep getting the error “Unable to resolve from current dialog”
I’ve tried connecting using patch cables, crossover cables and the router. Can anyone help? Thanks

Chris Nettles
Team 3556

Are you talking about the LabVIEW dialog that shows a bunch of running VIs on the cRIO? That’s not an error. It’s just an informative message, basically letting you know that it’s going to have to stop those VIs in order to replace them with the copies you’re trying to deploy, and giving you a chance to change your mind before continuing.

Just tell it everything is okay and it should work as you want.

no, our cRIO is band new and we formatted it to read our team number/IP address. When i build the Robot Deployment VI, it works fine but when i try to deploy code to the cRIO, it starts, then tells me “Unable to connect to the RT cRIO Device, Abort?” and when it does find it, it brings up the "Unable to resolve from current dialog error.

When you do what? That’s not an action I recognize.

Your original description of the problem didn’t say anything about the first error. I can’t tell whether you’re leaving out any other relevant information that might help us help you. What code are you trying to deploy? Could you describe exactly what steps you’re doing, and what happens when you do it?

http://imgur.com/Cuc51
LabVIEW Startup screen
http://imgur.com/n8exY
The lvproj file
http://i.imgur.com/4AsYgl.jpg](http://imgur.com/4AsYg)
Selecting to build the VI
http://i.imgur.com/NULOJl.jpg](http://imgur.com/NULOJ)
Successful build
http://i.imgur.com/mI5pSl.jpg](http://imgur.com/mI5pS)
Deploying VI files
http://i.imgur.com/LnHzRl.png](http://imgur.com/LnHzR)
LabVIEW asking to save changes. I saved the changes
http://i.imgur.com/84ZQRl.jpg](http://imgur.com/84ZQR)
Unsuccessful deploy

I’m limited to 5 images so you’ll have to open the first 2 in your browser.

The deployment message is what is important: Failed to connect to real-time target.

Possible causes:
Robot is turned off
Radio(s) are turned off or improperly connected
Robot is still booting up
Robot has crashed (see the Driver Station, and look for the Communications light to go off. If only Robot Code goes off, you’re fine).
Something is improperly configured (wrong IP address, other IP settings)
Computer has wrong IP address

Try:
ping the cRio. If it fails, then the problem is not in LabVIEW.

Connect directly to the cRio via a crossover cable and try again - If this works then the problem is in the radio(s), and they are not configured correctly.

Don’t “Deploy” the code.

In the same menu containing the “Build” command, there is a “Run as Startup” command. That’s the one you should be using to transfer the built program to the cRIO.

i clicked run as startup but i still get the same error. i CAN ping the cRIO.

Perhaps you should try formatting again, and make sure that the format checkbox is checked. The imaging tool can be used to simply change IP info to match the team, or it can change language or version of the image.

I suspect that the cRIO is not running v25.

Greg McKaskle

I suspect not having all of the labview updates could be hindering the process. it it doesn’t work, i’ll try to post tomorrow.

I’m not sure if it is different for you, but I don’t run my robot code (in LabVIEW) through that VI. I open up the Robot Main VI and run that code (also build). Maybe that is your problem?

ive tried both, to no avail.

When I looked at the screenshots above, I noticed that you were building the build spec at the bottom of the project window, but you were deploying at the top of the target.

Did you right click on the bottom element, the build spec, and set to run as startup?

If you still cannot deploy, please open up Robot Main and see that it is not broken. Also open up the Autonomous VI and see that it is not broken.

If that doesn’t work, do you want to share your VIs so that we can determine what is causing the error?

Greg McKaskle

I ran into a similar problem at a rookie last night, but didn’t have time to investigate. Too much training going on.
It could have been as simple as a cross-over cable, but I just didn’t have the time or cause.

Their Classmate would fail on the “Run as startup,” in the same way as yours, connecting to a traveling cRIO I use.
The cRIO works with our older team Classmate and other laptops without issue, and everything has been fully updated and operating for a week.
In that particular case, which may not be the same as yours, it makes me think the issue is with the classmate.

I have a different rookie visit today and I’ll see if their Classmate demonstrates the same issue.

Mark. Feel free to submit some code if you have it narrowed down. Doug has a variety of laptops to test with, but I don’t believe we have seen this issue yet.

Greg McKaskle

So, installed all the updates and now i am running into another error.

Hex 0x80004005 Unspecified error.

Also, i’m using the starting point VI that comes with labview. I select “cRIO Robot Project” and enter my cRIO’s IP address. when i build the code it is fine, but now when i deploy/run as startup or whatever else i try to do to get the code to the cRIO, it gives me the hex error in my last post.

Should i have to modify the code that is default in LabVIEW?

Can we please resolve this issue ASAP, seeing as we are also having this problem and have a total inability to test code on our robot, and I have tried everthing that has been posted on this thread to the letter so far

I can’t be sure, but is this error caused by the digital inputs not being opened in Begin?

Check to see what the Autonomous Independent VI is using, and add the Opens to the Begin VI. I suspect the next update will correct the template, but no need to wait.

Greg McKaskle