![]() |
VEX Motor controller?
So, I've encountered a bump in the road.
How do I program the VEX Motor Controller 29 in LabVIEW? I've read how you treat it like Victor in begin, and I did this to no avail. Example images of how the code should look would be FANTASTIC, and I'm hoping we can sort out this hiccup before bag-and-tag tomorrow. |
Re: VEX Motor controller?
Treat it in software like a Victor. Treat it in hardware like a servo. It needs to get its power from the Digital Sidecar, so you must install the power jumper for the PWM channel it's connected to.
|
Re: VEX Motor controller?
We've programmed to specification, but the male connector from the VEX motor controller posed a problem, and we had to force a male connector to become a female connector; that might be what's causing problems, but everything else checks out fine. Is there any way to buy PWM's with female-only connectors?
|
Re: VEX Motor controller?
There has been a short female-to-female PWM cable included in the Kit before.
|
Re: VEX Motor controller?
Somewhere within the past 4 years, we've probably misplaced those cables. If we clipped the pins from the male connector, and shaped the remaining bit to resemble the female connector, is there any chance that our creation would work? In our Labview code, we have the VEX programmed as a single motor Victor, and it's using a button on our joystick to operate. Is there anything potentially missing in code?
|
Re: VEX Motor controller?
Quote:
Quote:
Quote:
|
Re: VEX Motor controller?
The VEX is jumped on the DS, and the connector has secure connections. We'll test it with a multimeter later on, but I'm confident it works.
Begin.vi Single Motor refnum get and an Open Motor Victor - DM 1 PWM 8 Teleop Single Motor refnum set and a Set Motor Output, based off of a true/false case with a button. T = 1 F = 0 Finish Single Motor refnum set and close. |
Re: VEX Motor controller?
Quote:
Quote:
|
Re: VEX Motor controller?
3 Attachment(s)
Quote:
The VEX Motor controller is wired into PWM slot 8 and it is jumped. Attached is said code. Attachment 14119 Attachment 14120 Attachment 14121 |
Re: VEX Motor controller?
on your male to female pwm issue. We always just cut the end of the controller off and solder pwm end on. Works every time
|
| All times are GMT -5. The time now is 12:07. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi