View Full Version : Can you create motor speed limiters in LabVIEW?
Salmonfishyfish
26-01-2012, 14:03
Hello I am a complete newbie at programming. My team wants to program a code that can limit the speeds our motors can run at the push of a button. Can anyone tell me how to go about this?
make a local variable (true=half speed) that is a boolean. If you hit a button, set the variable to true. Wire the variable into a case structure, and if it is true, multiply the joystick axis by .5
Salmonfishyfish
26-01-2012, 16:02
Thank you for the quick reply. I am still unsure as to what this exactly does though. Would you mind explaining in detail what that code will do?
Chrono101
27-01-2012, 18:33
Thank you for the quick reply. I am still unsure as to what this exactly does though. Would you mind explaining in detail what that code will do?
Basically it will make the Joystick's output value 1/2 of what it normally would be. So if you push the Joystick half of the way down while the button is pressed, you will only get 1/4 of the output on the corresponding motor(s).
Team 1908
31-01-2012, 16:48
Hello, I'm trying to do the same thing and I don't quite understand how to do it. Could you put up an example of what this program should look like? Thank you!
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.