Results 1 to 2 of 2

Thread: Continuous Turn Potentiometer Library

  1. #1
    Join Date
    Sep 2008
    Posts
    586

    Default Continuous Turn Potentiometer Library

    I've attached a library for using Continuous Turn Potentiometers instead of encoders. We first thought about using them after reading a whitepaper on chiefdelphi, posted by Daniel Katanski. The whitepaper is located here: http://www.chiefdelphi.com/media/papers/1743

    We used continuous turn potentiometers the past two years instead of encoders in our drivetrain. We've found them to be more cost effective and more reliable then encoders, and easier to diagnose when they go bad (just need a multimeter).

    Instead of polling the analog value at a high rate like the algorithm in the white paper uses, We instead used the Analog Triggers to do the dirty work. I tried to make the API as close as possible to the Encoder API. The attached project has a simple example as well as the library, and I also attached the HTML view.

    I'm not sure that I did the error handling "correctly" as I'm a new LabVIEW programmer, but it does work in general.

    Many thanks to Joe Hershberger from NI for answering my stupid questions, and quickly fixing a few bugs in the FPGA.
    Attached Files Attached Files
    Last edited by jross; 11-26-2008 at 02:39 PM. Reason: _____er is not allowed by language filter
    Team 330 beta tester

  2. #2
    Join Date
    Sep 2008
    Posts
    586

    Default Re: Continuous Turn Potentiometer Library

    I updated the error handling a little, no functional changes.
    Attached Files Attached Files
    Team 330 beta tester

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •