Motor rotation limit

How to speed control on a motor. (we need something that tells our motor to stop spinning when it reaches a certain speed and starts binding.)

Use a DIO open block to create the reference and assign a refnum (same procedure as motors). Then use a DIO get block in teleop or whatever to read the value of the limit switch.

thanks:yikes:

There’s an example on: http://team358.org/files/programming/ControlSystem2009-/LabVIEW/

Search for "Limit Switch "

That example was VERY helpful!!!:smiley: