Go to Post edit: laptop. yeah as a programmer to not put this in I should be taken out the back and "decompiled". - Stuart [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 13-02-2013, 16:45
Omar's Avatar
Omar Omar is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Huntsville, AL
Posts: 122
Omar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of light
Re: Programming Shaft Digital e4p

What have you tried?

Have you tried the FRC Encoder Example project that can be found under the FRC Examples. Turn the conveyor by hand 7 time to see how many "clicks" it takes to rotate 7 times.

Then when you start the conveyor reset the counter to zero (see how that is done in the example). Each time though the loop read the Encoder and check if it is passed the number of 'clicks' for 7 rotations.

We will need a little more detail about how your conveyor is controlled and how are you going to signal it to start (joystick button?)

But let us know if you have tried the Encoder Example first.
__________________
Omar
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 01:44.

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