Go to Post I have gone and confused myself again. Why does this happen every time? - Jay Trzaskos [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Spotlight this post!  
Unread 15-01-2012, 20:53
Alex Redman's Avatar
Alex Redman Alex Redman is offline
Zombots Lead Programmer
AKA: Alexander Redman
FRC #3013 (Zombots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Vallejo,CA
Posts: 14
Alex Redman is an unknown quantity at this point
Re: Range Finder Help

Quote:
Originally Posted by Alan Anderson View Post
The Motor Set vi uses a range of -1 (full reverse) to +1 (full forward). Transform the Analog Voltage Get vi result to turn distance (0.01 volts per inch) into whatever power you want to run the motor at. You'll probably want something a little fancier than a simple multiplication -- a basic lookup table where input is distance and output is power should be about right.
Sorry, stupid question. How do I do that?
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 20:59.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi