Quote:
Originally Posted by aerophd2001
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?
|
The servo VIs use the PWM outputs (and are shared between the Jaguar, Victor, Servo, PWM, and Robot Drive libraries). The default code uses PWM 1 and 2 for the Robot Drive Library, could you be trying to reallocate them?