Go to Post JVN, thanks for working with me. You will make a great MC anywhere. Folks, he actually loosened up and fit right in. - Steve W [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 31-01-2009, 11:01
Lafleur Lafleur is offline
Registered User
AKA: Tom Lafleur
FRC #0812
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2006
Location: San Diego
Posts: 34
Lafleur will become famous soon enoughLafleur will become famous soon enough
Encoder support in NI Lab View

We have some question related to shaft encode support...

the reference below states that we can use 4 encoder at 4x speed:
what is 4x and 2x relate too.. How fast the encode can turn with out the cRio missing a count? what is the max rate in 4x, 2x and 1x??

Is it 4 channel of quadrature A and B using 8 digital in, allowing for 4 encoders, or is it 4 digital in supporting only 2 encoders?

from FRC user guide:

"The FPGA on the CompactRIO device contains four quadrature decoders
that perform 4x decoding and eight decoders that perform 1x and
2x decoding to interpret the information the encoders return. The decoders
are not tied to a specific module or channel on the CompactRIO device.
You can reserve and release decoders as needed."


tom lafleur
mentor team 812
  #2   Spotlight this post!  
Unread 31-01-2009, 12:09
rfolea's Avatar
rfolea rfolea is offline
Registered User
AKA: Rick Folea
no team (Forsyth Alliance)
Team Role: Mentor
 
Join Date: May 2005
Rookie Year: 2005
Location: US
Posts: 212
rfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant future
Re: Encoder support in NI Lab View

Normally, you would get a single increment in your counter for every A/B Cycle (A goes high, then B goes high).

4X encoding means you get 4 increments for each cycle (one for the rising edge of A, another for the falling edge of A, another for the Rising edge of B, another for the falling edge of B).

So ... if you have a 128 count encoder, it will act like a 128x4 = 512 count encoder!

This increases the resolution of your encoder by 4x for free.

The 2X gives you two increments per cycle.
Closed Thread


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
Lab View = big headache Lord X Programming 12 17-02-2009 21:10
Lab View Update 3.0 encoder trouble Funnyman2003 Programming 2 03-02-2009 08:52
Vex and lab view 1086VEX Programming 2 02-06-2008 20:42
Lab View Schotty57 Programming 5 02-04-2008 20:24
Lab view licenseing Question Joohoo LabView and Data Acquisition 4 11-01-2007 15:59


All times are GMT -5. The time now is 21:52.

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