Go to Post Perfection of a system comes not when you can add nothing more but instead when you can remove nothing. - Andrew Schreiber [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-02-2013, 15:55
andrew paradis andrew paradis is offline
Registered User
FRC #4976
 
Join Date: Jan 2013
Location: boston, ma
Posts: 1
andrew paradis is an unknown quantity at this point
Re: Set the rate of acceleration

Quote:
Originally Posted by Ether View Post
What you want is a rate limit on your joystick command.

You want the LabVIEW equivalent of something like this:

Code:
o = joystick;
if  (o > op+d) o = op+d;
else if (o < op-d) o = op-d;
op = o;
... where

"joystick" is the present value of the joystick command
"o" is the output to the motor controller
"op" is the previous output to the motor controller
"d" is the maximum change you want to allow each iteration


where in labview would i put this
Reply With Quote
  #2   Spotlight this post!  
Unread 05-02-2013, 16:45
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Set the rate of acceleration

Quote:
Originally Posted by andrew paradis View Post
where in labview would i put this

You wouldn't. You'd have to take that logic and do something equivalent in LabVIEW.

Do a search for "rate limit". I'm pretty sure there are threads showing how to do that in LabVIEW.

Here's an article by Eric:
http://thinktank.wpi.edu/article/140

... look at the section named "slew rate"



Last edited by Ether : 05-02-2013 at 16:50. Reason: added link
Reply With Quote
Reply


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 10:47.

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