Go to Post but look at the bright side, you will now be able to size 1/4-20 nuts with your forearm and i doubt there are many people who can say that :p - Greg Needel [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 Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 30-01-2012, 22:08
sparkydp sparkydp is offline
Registered User
AKA: David Page
FRC #0435 (Robodogs)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2002
Location: Raleigh, NC
Posts: 32
sparkydp is on a distinguished road
using an encoder without a b source

I was just wondering if anyone had successfully used the WPI encoder VI without a B source. (yes, we'd no longer be able to know direction, but for something like a shooter wheel we're only driving in one direction, that's okay). Our hopes that simply leaving the B phase unhooked leading to speed only results from the encoder VIs didn't pan out.

We're currently looking into creating an up/down counter inside periodic tasks similar to the up/down example that ships with Labview and just sampling over a given period to calculate RPM.

Just curious if anybody else had faced a similar challenge, and what they came up with. (The reason we only have one phase, is we're not using a traditional encoder, but something more like an IR tachometer, reflective spot on our shaft/wheel, with an IR LED transmitter, and a phototransistor counting pulses. In the old days, we'd write an interrupt routine to increment a counter every time the pulse was detected, and just read the counter every 40ms cycle, and divide by time elapsed)

Other ideas discussed included: generating a fake B source using some sort of transform on the A source, or mounting a second phototransistor 90 degrees off the first to get a true b source.

Open to any thoughts or suggestions,
Thanks!
-David
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


All times are GMT -5. The time now is 11:37.

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