Deploying application to cRIO

I have an application I want to deploy to the cRIO.

I have a crossover cable connected; do I right click my project and click the sunspot jar-deploy, the deploy, or what?

When I do the above two, I get some socket read error when netbeans tries to connect to the cRIO with FTP.

Have you set your team number in Netbeans? Open netbeans preferences (varies platform to platform), click miscellaneous, and then click FRC Configuration, and change Team Number to your team number. Also, make sure that your IP address is on the same subnet as your cRIO.

Yes, I did.
When it’s deploying, it says it connects via FTP to 10.39.92.6, which is the cRIO IP.

I have cRIO Image v43 loaded.

Was I deploying it the right way?

It connectes to 10.39.92.6? The IP address of the cRIO should end with a .2 . Try disabling all network interfaces aside from the ethernet port. What is the IP address and subnet mask associated with that ethernet port?

Oliver

My bad, I meant .2, my laptop (classmate) is .6.

I did that as well, only my ethernet connection is enabled.
the IP is 10.39.92.6 and the subnet is 255.255.255.0

Also curious, aside from this,
how do we set up the D-Link wireless access point to control the drivetrain using the joystick wirelessly?

Thanks!

Try manually connecting to the cRIO via FTP using a web browser, the url would be ftp://10.39.92.2 the user name is anonymous, and the password can be left blank.

We figured out what was going on, we needed to turn off windows firewall, it was blocking the FTP connection.

But now we have a knew problem.

We loaded code onto the cRIO, java code with an autonomous method and an operator controlled method. All we want to do is test it and try to run the motors using the autonomous code.

Now, we have Driver Station installed and it seems to find cRIO. But how to we run the deployed program in autonomous? When we clicked ‘enable’ for autonomous in driver station, nothing happened.

Our Jaguar’s are also blinking yellow. Should this be like this (without running the program).

Thanks

The java code is deployed when you press the green “play” button in netbeans. The code is automatically downloaded via FTP and the robot is rebooted with the code running. The first time you do this after reimaging the cRIO you have to manually reboot the robot after it deploys the java components. After that it reboots automatically on program downloads.

You’ll know it worked because the Driver Station communications and program lights will both be green.

If that doesn’t help, you’ll have to post more details about your program.

Brad