View Single Post
  #4   Spotlight this post!  
Unread 11-02-2013, 11:16
Arkamond Arkamond is offline
Registered User
FRC #3102
 
Join Date: Jan 2013
Location: Minnesota
Posts: 23
Arkamond is an unknown quantity at this point
Re: Updating Dashboard values from robot.

Quote:
Originally Posted by Greg McKaskle View Post
I didn't download your zip, but where is your read code located? Is it in a loop that is executing?

The other way to view data from your robot is simply to name the button the same as your variable and place it in the Operations tab on the dashboard. The read will be done for you.

Greg McKaskle
Yes, the VI named "Latch Launcher" executes the same as Teleop, as it's in the same case structure. All functions work correctly in this VI in Teleop, and is where the "read code" is located. The "SD Write" node (Which is what is used to set the values to the dashboard) will work a couple times and then randomly stop or lock, although functions on the robot are still working fine.

How would you go about naming a button differently? And our buttons have a latching function that I implimented, we have to go through the output of the latch gate in order to determine what is turned on or off.