View Single Post
  #5   Spotlight this post!  
Unread 07-02-2009, 20:49
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Invalid PWM Channel Index

Actually, the open requires the channel to be wired. Check each Motor open and see that you have the channels wired that you meant to.

If you are using the drive VIs, check those opens. If using servos, check those too.

Finally, the next time you run, make sure the dashboard is open. It will show you if you have errors. I suspect that you have an issue where a channel is already in use, produces an error, and then the refnum is invalid.

Greg McKaskle
Reply With Quote