Go to Post Swerve Drive (n.) - a set of mechanisms to ensure the robot will sit dead on the field for half of that robot's first event - Kevin Leonard [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 17-02-2009, 01:27
rohoRaider rohoRaider is offline
Registered User
None #1817
 
Join Date: Feb 2009
Location: Lubbock
Posts: 1
rohoRaider is an unknown quantity at this point
Traction contron w/ multichannel PID control

Has anyone used the PID.vi with arrays? I've written it in my traction control code but it won't even deploy to the cRio for testing. Below is the error message:

PIDNChSetMemory:E on RT Target device.
LabVIEW: Failed to load shared library lvpidtkt.out:
PIDNCh:E on RT Target device.


Can anyone help? How am I suppose to use a PID with four process variables (readings from 4 encoders used as counters to measure wheel spin)?
Reply With Quote
  #2   Spotlight this post!  
Unread 17-02-2009, 01:33
Uberbots's Avatar
Uberbots Uberbots is offline
Mad Programmer
AKA: Billy Sisson
FRC #1124 (ÜberBots)
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Avon
Posts: 739
Uberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond repute
Re: Traction contron w/ multichannel PID control

Quote:
Originally Posted by rohoRaider View Post
Can anyone help? How am I suppose to use a PID with four process variables (readings from 4 encoders used as counters to measure wheel spin)?
Use 4 separate PID loops?
__________________
A few of my favorite numbers:
175 176 177 195 230 558 716 1024 1071 1592 1784 1816
RPI 2012
BREAKAWAY
Reply With Quote
  #3   Spotlight this post!  
Unread 17-02-2009, 20:41
Chaos in a Can Chaos in a Can is offline
Joel Spadin
FRC #1736 (Robot Casserole)
Team Role: Programmer
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Peoria, IL
Posts: 58
Chaos in a Can is an unknown quantity at this point
Send a message via MSN to Chaos in a Can
Re: Traction contron w/ multichannel PID control

We encountered the same problem.
I do not know the cause, but for some reason, the advanced PID function for arrays didn't give us an error.
If you give it the same inputs and leave everything else at default, it should function similarly... I think.
__________________
2006 Xerox Creativity Award
2007 General Motors Industrial Design Award
2008 Judges' Award
2009 Chrysler Team Spirit Award

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using PID for traction control (help!) ellisk Programming 2 07-02-2009 14:05
PID traction Control dpeterson3 C/C++ 5 26-01-2009 21:11
PID Control John Gutmann Programming 12 15-04-2007 18:52
PID Control Chris Bright Programming 9 26-03-2005 19:44
PID Control Loops ttedrow Programming 7 05-12-2002 12:03


All times are GMT -5. The time now is 08:32.

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