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?

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

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).

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!