View Single Post
  #2   Spotlight this post!  
Unread 02-03-2011, 12:31
ATH1RSTYM00SE's Avatar
ATH1RSTYM00SE ATH1RSTYM00SE is offline
Stephen Fastow
AKA: Stephen Fastow
FRC #5254
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2009
Location: River Vale
Posts: 27
ATH1RSTYM00SE is on a distinguished road
Re: flatten image for Dashboard

I can exactly see your code cause im on a school sanctioned laptop but what i believe you need to do is in your teleop vi whatever you want to send to the dashboard flatten it to a string and use the block set user data high. Then go to your dashboard project and find where the user dat high comes out. There should be a disabled block around an unflatten from string block. remove the disabled block and attach whatever kind of indicator you want. If you want to add more then one thing to the dashboard You have to flatten everything in teleop, and bundle it. in the dashboard project you need to unbundle the unflatten from string, set the data type to bundle and specify what kind of value you will be passing by attaching things to the bundle Then you can attach indicators to the unbundle. Hope this helps and is clear considering i did it entirely off of memory
Reply With Quote