View Single Post
  #8   Spotlight this post!  
Unread 08-03-2013, 16:20
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,089
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Encoder getRate question

Quote:
Originally Posted by JefferMC View Post
According the the documentation, the FPGA is only used when the counter type is set to k4x, not for k2x and/or k1x.
What documentation are you referring to?


Quote:
I seem to recall that the PID classes wanted an Encoder and would not accept a Counter. I may be wrong about that.
Many teams are successfully using home-brew one-count-per-rev counters on their one-directional shooter wheels. Also, PID is not the only game in town.

Quote:
I never found that the handling the second channel caused an appreciable issue for the cRIO.
Perhaps you did but didn't realize it:
Quote:
Originally Posted by JefferMC View Post
we were forced to use a 360 CPR encoder to attempt to measure our shooting wheel. We exceeded the CPR limit.
Quote:
However, the point is well taken that it is extra interrupts and unneeded effort.
There are no interrupts involved. The FPGA polls the DIO at ~153KHz


Reply With Quote