how to limit speed on the motors.

self explanatory. how to make the motors run at a limited speed with labview?

Try this:

I’m not sure if it will work or not, but it certainly makes sense to me.

I’m not sure if the question was related to joystick axis input, but that is what I’ll assume.

A useful function for doing what was shown in the previous post is the In Range and Coerce function. You wire your value into the middle, and you wire your max and min in as well. You can right click on it to set whether the endpoints are included. This will work to clip your inputs.

Perhaps a better approach for the joystick is to rescale the joystickinput to a different numerical range. To do this, instead of having the joystick go from -1 to 1, perhaps you divide by 2. Not everything on the joystick is less and the joystick’s full limits are only half.

Another approach that may be worth trying if you like playing with the math is to use something nonlinear. Since the joystick is in the range of -1 to 1, by squaring it, you stay in that range, but change the shape to a parabola. This will give finer control near center, but full range near the edges. You can even go crazy with the yTox function to get other shapes.

Greg McKaskle