reading and writing dashboard data
Hello.
I am currently working on the dashboard project for our team for the tournament. I am trying to send a string variable from the dashboard program to the CrIO to tell the robot which autonomous mode to run. I tried using the Smart Dashbord "SD Read String" vi in the robot code and using "SD Write String" in the dashboard, but it only sends the information to the code once, if the dashboard was turned on before the robot code was deployed. It never updates afterwards, no matter what I do, unless I redeploy the code. Both parts of the code are written inside of while loops. Any suggestions? Thanks.
|