View Single Post
  #3   Spotlight this post!  
Unread 02-02-2013, 15:23
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 181
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Re: Dashboard in LabVIEW

We ran into similar issues, but the problem is probably this: programmatic updates to controls and indicators do not update SD blocks on the cRIO. For example, manually pressing a button will send a value to the robot, but updating a button via a block of code will not.

To fix it, just make sure to also write to an SD Write Boolean Array block when you write to your control or indicator. I've attached an example from our dashboard code showing how we send vision info to the robot.
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	44
Size:	3.4 KB
ID:	13764  
Reply With Quote