|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
PWM
How do you use PWM 2 and 3 for roboRIO?
|
|
#2
|
|||
|
|||
|
Re: PWM
There's not enough information in your question to really be able to answer. What language are you talking about?
|
|
#3
|
|||
|
|||
|
Re: PWM
We are using Labview.
|
|
#4
|
||||
|
||||
|
Re: PWM
Right click the 2 Motor vi in begin and replace it with the 4 motor vi. Now you should have the option for 4 pwm ports instead of two.
|
|
#5
|
|||
|
|||
|
Re: PWM
When we change 2 motor vi to 4 motor vi it makes the program not runnable. What did we do wrong?
|
|
#6
|
|||||
|
|||||
|
Re: PWM
If you do a direct replacement of Open 4 Motor for Open 2 Motor where the PWM constants have already been defined, then the PWMs can end up wired to the wrong spots (and there may not be enough of them, or too many).
This is also true if you use the speed controller pull-down selector to change from a PWM to a CAN type of control. You need to remove the old PWM constants and create->constant new inputs. When you replace a vi with another, it's safest to also delete any input constants and recreate them, so they end up correctly wired to their new input spots. Last edited by Mark McLeod : 01-02-2016 at 19:39. |
|
#7
|
|||
|
|||
|
Re: PWM
What are the constants for the FRC roboRIO project?
|
|
#8
|
|||||
|
|||||
|
Re: PWM
Here's how to add a constant using the attached image as a reference.
|
|
#9
|
|||
|
|||
|
Re: PWM
Where do you find open 4 motor?
|
|
#10
|
|||||
|
|||||
|
Re: PWM
It's in the Robot Drive palette:
Last edited by Mark McLeod : 10-02-2016 at 20:19. |
|
#11
|
|||
|
|||
|
Re: PWM
Is there any thing else we need to do to get it working?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|