Hey, im currently doing a build in labview with 6 motors, 4 on 1 joystick and 2 on the other, and one of my motors is going too fast. Im trying to figure out how to set up a speed control so that I can set my speed manually on the motor, but I cant figure out how to set it correctly because If i set it up as as ‘moter’ rather than ‘drive’, I cant input my joystick. Could someone please help me?
You should be able to do what you want; i.e. manually control the motor using the joystick outputs and the motor SetSpeed.vi.
If you are starting from the Basic Robot Main you should be careful not to wire the Drive references from the RobotDrive.lvlib:Open2Motor.vi into the Motor vis. Contrary to its name, the Open2Motor opens a RobotDriveDevRef, which, if wired to a Motor vi like SetSpeed.vi will break the wire. This is because the SetSpeed.vi requires a MotorControlDevRef. You can get the MotorControlDevRef by calling something like Open Jaguar.vi
All of this may be irrelevant, as I am just guessing at what your problem is. Can you show us a picture of your code, or upload the code?
You didn’t indicate what prevents you from doing what you’re trying to do. Is the VI broken when you try to wire it a certain way?
nothing is preventing me, I just can’t figure it out. Where do I find that set speed vi?
The motor palette has a SetSpeed.vi and it’s it in
WPI Robotics Library->Actuators->MotorControl