View Single Post
  #2   Spotlight this post!  
Unread 04-02-2015, 21:19
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: How to Use LaunchPad MSP430 in combination with Labview

If you want to be able to run a motor so that a mechanism moves to a desired location, you will need to have some way of measuring the mechanism's location. Depending on the details of the mechanism, it can be easy in LabVIEW to control a motor based on sensor values.

If there's a pivot point for something that moves along with the "cable connected to the winch", you can use a potentiometer or other absolute angle sensor as feedback to the roboRIO. If there's a limited range of linear travel, you can use a "string pot". You can use a rotary encoder to measure the number of degrees the winch has turned, and if you can ensure that you always know where the winch starts, that will let you know where it is at all times.