Go to Post The best defense is a good offense, never back down - Nawaid Ladak [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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
  #1   Spotlight this post!  
Unread 02-07-2010, 03:09 AM
jerdelyan jerdelyan is offline
Registered User
None #2010
 
Join Date: Oct 2009
Location: Everett, WA
Posts: 3
jerdelyan is an unknown quantity at this point
Unhappy Magnetic Encoder Programming Question\Consult

Ok, it is 11:30pm. I have been working on this dilemma off and on since 10am this morning; researching the WPI Library, USFirst Forum, FIRST Forge, Chief Delphi, and NI Communities and i have not been able to figure out if there is a class designed to communicate with the magnetic encoders over PWM. I am looking for something along the lines of the Jaguar class (used to control the Jaguar motor controllers) or the existing encoder class (optical only or requires the usage of 2 channels A and B) but to use the single PWM unfiltered out put from the Magnetic Encoder that was included in the KOP. I have not been able to find anything to date... If there is something out there please let me know...

With the understanding that there is nothing that I can find that exists already I am looking at creating something to do this task for me. I am thinking of using a Digital Input class with the Get() function (not sure if it will work or what it will 'get' me) or an interrupt in combination with a timer to time the rise and fall of the PWM signal to calculate the time of the pulse.

The only other idea i have could be to use the Counter class with the Timer class to accomplish a similar effect.

Any way it is after midnight now and my pregnant wife is telling me to shut the light off and go to sleep. So i look forward to your ideas...!

Thanks for your help in this mater...
John Erdelyan
Team 2910 Jack in the Bot
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
Help Programming Transmissive Optical Encoder Module from usdigital.com programmr Programming 6 11-14-2008 07:20 PM
Help Programming a Quadrature Encoder programmr Programming 17 06-20-2008 10:40 AM
Programming a Devantech Magnetic Compass - CMPS03 kE7JLM Programming 7 09-28-2007 08:23 AM
Non Contact Magnetic Encoder with PWM Output Tom Bottiglieri Programming 3 10-09-2005 01:19 AM
PID control loop/Encoder question Zee Programming 18 01-30-2004 11:14 PM


All times are GMT -5. The time now is 10:41 AM.

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