View Single Post
  #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:	32
Size:	90.1 KB
ID:	8740  Click image for larger version

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

Name:	code3.jpg
Views:	29
Size:	80.3 KB
ID:	8742  
Reply With Quote