Go to Post I'm in it for the challenge, winning is just a side effect... - davidthefat [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
  #1   Spotlight this post!  
Unread 04-02-2009, 07:41
martin417's Avatar
martin417 martin417 is offline
Opinionated old goat
AKA: Martin Wilson
no team
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Buford, GA
Posts: 719
martin417 has a reputation beyond reputemartin417 has a reputation beyond reputemartin417 has a reputation beyond reputemartin417 has a reputation beyond reputemartin417 has a reputation beyond reputemartin417 has a reputation beyond reputemartin417 has a reputation beyond reputemartin417 has a reputation beyond reputemartin417 has a reputation beyond reputemartin417 has a reputation beyond reputemartin417 has a reputation beyond repute
Question Labview questions, using motor and pot as a servo

Since there is no FORTRAN compiler for the cRIO , I am trying to do some programming in Labview. I have a motor attached to a 10 turn pot, and want to use it like a servo. Has anyone written a sub-vi that will take as input a desired pot reading and move the motor as required to achieve that reading? If so, would you be willing to share it?

Also, I am using a PID vi to track the target with the camera, and would like to set a larger deadband (the turret "hunts" back and forth trying to center the target, and I want it to stop when it's "close enough".) I have played with the PID constants, but can't stop the hunting, and there doesn't seem to be a deadband constant.
__________________
Former Mentor Team 1771
Former mentor Team 4509
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Labview servo motor PWM correlation to set VI mbone206 NI LabVIEW 4 30-01-2009 14:58
Tracking Servo motor with drive motor in Labview mbone206 Technical Discussion 5 28-01-2009 17:32
Autonomous questions (Labview) and some general issues Daniel_H NI LabVIEW 15 08-01-2009 21:07
[FTC]: FTC Servo-Motor Problem with Labview dnhansen FIRST Tech Challenge 1 26-10-2008 00:43
Students build SEGWAY in 3 months using Labview and the cRIO neutrino15 Programming 31 27-04-2008 22:08


All times are GMT -5. The time now is 10:03.

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