|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||||
|
||||||
|
Re: Invalid PWM Channel Index
You can use PWM channels 1 & 2 for servos, you just have to delete the Robot Drive VIs (or change which PWM channels they use).
|
|
#2
|
|||
|
|||
|
Re: Invalid PWM Channel Index
If you look at a digital sidecar, it has a row of PWM connectors. Each connector can be used for motors or servos depending on if they are jumpered. The SW API needs to deal with this HW resource limitation.
So, once you've designated a PWM channel is used for one thing, it is reserved and cannot be reopened for the other purpose. What Joe is pointing out is that the template code already reserves the first couple channels as being for motors. That means that until they are closed, they cannot be opened for servos and will return an error. Greg McKaskle |
|
#3
|
|||
|
|||
|
Re: Invalid PWM Channel Index
I found the source of the error. It was all the way back in the Begin.vi within Robot Main.vi. I didn't know (until I just now found it) that the main drive motors are being initialized within Begin.vi. I'm making my modifications now and will test tomorrow afternoon when we continue with our testing.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Invalid Address | Farnak | Programming | 4 | 17-04-2008 19:09 |
| Invalid Address | team 803 | Programming | 20 | 21-02-2006 09:10 |
| 2005 Robot Picture Index | Gasperini | Robot Showcase | 9 | 09-04-2005 13:06 |
| IRI popularity index | Joe Ross | Fantasy FIRST | 5 | 03-07-2004 12:36 |
| Metal/Materials/Tools Source Index | dlavery | Technical Discussion | 0 | 12-01-2002 00:36 |