Go to Post Great things don't just happen to HoF teams; HoF teams make great things happen. - Siri [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 21-02-2010, 17:41
Michael Fadaie Michael Fadaie is offline
Registered User
FRC #3393
 
Join Date: Feb 2010
Location: Edgewood
Posts: 10
Michael Fadaie is an unknown quantity at this point
Code for Encoder isn't working

I need help programming the encoders. I provided some pictures of my code and I am hoping you can solve the problem. I am not really going to explain it that much because you already are going to understand it. But, code.jpg the VI called speed controller encoder contains the code fromthe picture below which I couldn't fit in an attachment. The Michael Fadaie PID VI is just like the PID loop you find under the VI that are already made for you. But, it was condenced. Also, I am opening two encoders in the begin VI for the right and left motors.

If you have any questions feel free you ask. Thanks.

Attached Thumbnails
Click image for larger version

Name:	code4.jpg
Views:	33
Size:	90.1 KB
ID:	8740  Click image for larger version

Name:	Code.jpg
Views:	36
Size:	133.0 KB
ID:	8741  Click image for larger version

Name:	code3.jpg
Views:	31
Size:	80.3 KB
ID:	8742  
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
encoder code for 18f8520 cau.denny General Forum 2 17-03-2009 12:51
Help! Autonomous isn't working... DotCom Programming 1 09-02-2007 21:09
Camera isn't working Idaman323 Programming 13 15-02-2006 23:18
PERL isn't working... Joe Ross CD Forum Support 1 19-06-2001 10:14


All times are GMT -5. The time now is 22:05.

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