|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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?
|
|
#2
|
||||
|
||||
|
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
|
|
#3
|
|||
|
|||
|
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?
|
|
#4
|
|||
|
|||
|
Re: Can you create motor speed limiters in LabVIEW?
Quote:
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). |
|
#5
|
|||
|
|||
|
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!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|