View Single Post
  #3   Spotlight this post!  
Unread 04-02-2009, 01:35
Acshi Acshi is offline
Registered User
FRC #2924
 
Join Date: Jan 2009
Location: WA
Posts: 12
Acshi is an unknown quantity at this point
Re: Button Programming: Is this right?

Ewww.... Thats just nasty...

Assuming you started with the Advanced Framework, you can just draw from the main RobotData cluster for your joystick and motor references, then use those whenever you need them -- I don't really know anything about the Basic one, only that it is much less organized and would be harder to do complicated things to.

I have included my team's teleop.vi, which has the robotData cluster heavily modified to suit our needs and delivers out control to other SubVis.

Note the cleanness, but LabView takes a lot of getting used to how control and data flow, as does programming in general. However you really must notice how much of your code was repeat, that is never good.
Attached Thumbnails
Click image for larger version

Name:	Teleop.png
Views:	185
Size:	24.5 KB
ID:	7309  
Reply With Quote