Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Can you create motor speed limiters in LabVIEW? (http://www.chiefdelphi.com/forums/showthread.php?t=101171)

Salmonfishyfish 26-01-2012 14:03

Can you create motor speed limiters in LabVIEW?
 
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?

tilky 26-01-2012 14:26

Re: Can you create motor speed limiters in LabVIEW?
 
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

Re: Can you create motor speed limiters in LabVIEW?
 
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

Re: Can you create motor speed limiters in LabVIEW?
 
Quote:

Originally Posted by Salmonfishyfish (Post 1114037)
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

Re: Can you create motor speed limiters in LabVIEW?
 
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!


All times are GMT -5. The time now is 11:43.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi