View Single Post
  #6   Spotlight this post!  
Unread 11-02-2009, 19:30
aerophd2001 aerophd2001 is offline
Software Mentor - Team 2366
AKA: Andy
FRC #2366 (Tesla Robotics)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Blue Springs, MO
Posts: 7
aerophd2001 will become famous soon enough
Re: Invalid PWM Channel Index

Preface: I am a Certified LabVIEW Architect.

In our Teleop/Init I've placed a routine that allocates 8 channels in a row (inside a For Loop) to allocate 8 Servos. I'm converting the iteration terminal of the loop to a U8 then typecasting it to the PWMChannel.ctl typedef enum prior to the value entering the Servo/Open.vi. We're receiving the -44037 (PWM Channel is already allocated) error ... but only on the 1st two of the eight channels. The last 6 are allocating just fine and in operation work perfectly.

Any ideas what's going on here?
__________________
(Test + Refine Code + Deploy) ^ n
Reply With Quote