FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Using RAD on the RoboRIO

We're trying to use RAD to capture an image from the RoboRIO and seeing an error consistently.

 

Pasted image at 2018_05_22 06_52 PM.png

 

What's the best way to get additional support on this from NI?

 

The image is not the stock team image.  It is modified with all of the tools and utilities and our code running on it.  RAD does work to capture the stock team image but that doesn't help me capture this image.

0 Kudos
Message 1 of 13
(4,341 Views)

The best way currently is to keep posting here as the support line is closed during the off season.

 

Past that my first suggestion is to try using one of the example projects to so we can see if this error persists in source code as well and see if that error gives us a better idea of what is happening.

 

To get to the example projects do the following:

 

1) Open LabVIEW and go to Help > Find Examples...

2) The NI Example Finder will open and then you can go to Hardware Input and Output > System Configuration > Get and Set Real-time Images

3) Try running the example to get an image (since it basically does the same thing as RAD) and see if you get similar error

4) Post back on the errors that you get and post back the specific VI that is throwing the error since now you have the source code and block diagram to debug

 

JY
Application Engineer, RF and Communications
National Instruments
Message 2 of 13
(4,336 Views)

Thanks!  Will do and post back with results.

0 Kudos
Message 3 of 13
(4,333 Views)

I ran the example but the error is no less cryptic (same error in fact).  It did lead me to a KB that instructed me to use MAX to update the firmware on the RoboRIO - I did do that.  The firmware was updated from 3.0.0 to 5.something (there might have been a letter in there) but the error persisted.

 

It reboots the RoboRIO and starts it in SafeMode and then it dies after copying some files.

 

Picking apart the example and looking for details, it seems like the example uses a DLL to run the capture process and it is dying inside of that DLL with no additional details.  Any other ideas or things I can try?  Is it possible for me to open a ticket and get support?

0 Kudos
Message 4 of 13
(4,246 Views)

Weird - I had a response and it appears to have vanished so I apologize if this ends up posted twice.

 

Ran the test using the example.  It did not resolve the issue and resulted in the same error message. It did lead to a article about updating the firmware on the RoboRIO using NI MAX.  Proceeded to update it from 3.0.0 to 5.0.something (not sure what the something was, don't have the machine open at the moment).  After the update, the same error was observed with both the RAD tool and the example VI.

 

Poking at the VI revealed a DLL that is throwing the error.  The DLL seems to be a bit of blackbox and I'm not sure what else to poke at here.  Suggestions are welcome.  I really would like to be able to resolve this though so we can make a complete system image.

0 Kudos
Message 5 of 13
(4,299 Views)

That's weird. If it's a DLL maybe part of the driver on the computer is installer improperly. Either way my thoughts are to try to reinstall the driver that has this DLL which I think is NI System Configuration.

 

NI System Configuration 17.0 - http://www.ni.com/download/ni-system-configuration-17.0/6764/en/

 

Otherwise, you could probably use this article to get to your ultimate goal of backing up the RIO.

 

How Can I Back Up My Real-Time System? - https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019LkWSAU

JY
Application Engineer, RF and Communications
National Instruments
0 Kudos
Message 6 of 13
(4,295 Views)