Cannot connect from SmartDashboard()

I have been unable to get my SmartDashboard to work no matter what I try. I have downloaded it and I believe it is configured correctly (it auto launches with the DS and our team number is set in preferences) but the connection widget is stubbornly staying red, not green. The Driver Station says we are connected and I can drive the robot, but the widget is staying red. Do I add anything in my code to set it up, and if not what could be wrong?

I don’t care about anything right now except turning that stubborn widget green.

Thank you in advance.

We’ve got a guide here: team2168.org/index.php/resources/programming/223-using-smartdashboard

If it still doesn’t work after that, make sure you’ve got local dashboard selected on the driverstation “Steup” tab.

We’ve also had issues with the windows firewall on some machines. Try disabling your firewall and antivirus software.

Alright I have tried following that guide a few times, but the connection indicator does not want to light up (the only thing relating to SmartDashboard() in my code is the import…SmartDashboard;).

I have verified that the the driver station is set to use the local dashboard. I have windows firewall disabled but I have not tried disabling my third party antivirus (I will when I get out to the lab), although it was not working when we tried using the FRC Classmate, and I don’t believe there is any sort of anti-virus enabled on that computer (I use my personal laptop mostly during testing because it is faster).

Any other tips?

The SmartDashboard will not be able to connect to the robot unless the robot attempts to connect to the SmartDashboard.

put a simple SmartDashboard.putInt(“test”, 4); on the robot and see if that starts the connection.