Code Won't Deploy

Hi, I am trying to deploy code to the robot and i build then deploy but, it still says i need to build it. Every Single Time. I have gotten it to deploy once but it said on the driver station that it had no code.

Is there a different firmware for the roborio if you run java instead of labview?
We were going to use java but the guy who was doing it was put on academic probation. I only know labview.

Any help would be great!

What you have to do is not build then deploy, but rather build then run as startup.

And to answer your other question, the same firmware supports LabVIEW, Java, and C++.

Also, does your code run correctly using the run button?

Greg McKaskle

I tried with the run arrow and it didn’t work.

I know the previous programmer installed the java runtime onto the roborio but i didn’t know if i had to install a labview one for it to use labview again.

I learned very recently that you do in fact have to re-image the RIO if the last person who used it used it for something other than LabVIEW. It’s the same firmware, but with one changed setting.

What setting?

Greg McKaskle

You can’t access the setting from the LabVIEW imaging tool, and the setting is called something obvious like “use for LabVIEW.”

Sent from my iPod touch using Tapatalk

If i can’t access it there then where?

Reimaging it from LabVIEW automatically sets that setting to LabVIEW mode.

I am still not able to deploy code. I can run robotmain.vi and that works but actually deploying code still won’t work. It keeps saying i still need to build it.

Have you tried building it?

Perhaps if you zip and post your whole project, one of us could run it to see if we have the same issue with it. Just in case it’s an unexpected project setting.

Documents\LabVIEW Data(your project folder here)

I figured out that some part of labview were not activating correctly. Now everything works great.

Evaluation mode instead of Licensed will do that.