View Single Post
  #1   Spotlight this post!  
Unread 20-02-2012, 20:09
MAldridge's Avatar
MAldridge MAldridge is offline
Lead Programmer
AKA: Rube #1
FRC #0418 (LASA Robotics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Austin
Posts: 117
MAldridge will become famous soon enoughMAldridge will become famous soon enough
Re: Problems with LabView Default Code

First off the help menu is your friend. If you goto help>explain error, you can type in that error and it will tell you what is wrong. In your case, that won't help though because that is an undefined error.

I suggest that you go to the robotdrive palet and get the safety config off the advanced palet. Wire it directly after the refnum get, set mode the enable and the timeout terminal to 5.

Be aware that this makes your safety thread significantly slower, so you will need to be sure that you have a hand near the E-Stop when you are working with the robot and it is not on blocks. Additionally, if it pulsing PWM 3, then somewhere, your code is telling it that that is the correct channel to use. I suggest you go back through and re-read you code. Also, If you say that you HAD working code, perhaps you should improve your backup system.

Good luck and don't hesitate to come back if you have further questions.
__________________
'Why are you a programer?' --Team Captain
'Because the robot isn't complicated enough!' --Me
Reply With Quote