Go to Post The GDC probably took bets on how many posts they could get off of a random CAD render, and bonus points for how many people go insane from thinking about it! :yikes: - gallo26 [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
  #6   Spotlight this post!  
Unread 27-01-2013, 23:24
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: Set the rate of acceleration

Quote:
Originally Posted by BPtigers View Post
I believe I found the pid thing, but I'm not sure which one it is, or how to hook it up to what?
You want the PID Output Rate Limiter.vi (it's the bottom one of the three in your image). As with any LabVIEW function, its inputs and outputs are described in the popup help. The only inputs you need to be concerned with are "input" and "output rate", and the output is called "output".

Just insert it on the wire where you want to limit the rate of change of a value, with the source connected to "input", the destination connected to "output", and a number representing the maximum rate of change connected to "output rate". You can use a front-panel control as the source of the rate number, so you can change it while the program is running. Just remember to either replace it with a constant or "make current value default" when you determine the rate you want.

Quote:
Also I have no idea what your talking about the 100 to the 1000 thing where is that? I am newbie Sorry for any frustrations, Thanks
The output rate is in units of "EGU per minute". Since you probably want to limit the motor rate of change to go from full scale reverse to full scale forward in about a half second (give or take an factor of two or so), that's something like 4 per second, which is 240 per minute. Start there and tweak it up or down until you get a value that works for you.
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 21:45.

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