- From: Frank Mori Hess <fmhess_at_speakeasy.net>
- Date: Thu, 21 Jun 2007 20:49:36 -0400
Received on 2007-06-21Z23:49:36
On Thursday 21 June 2007 13:36, you wrote: > I know (I'll get to it as soon as I have figured out how to use the NI > pci-6221 with quadrature encoders). See the enums in comedi.h, in particular enum ni_gpct_mode_bits. You'll need to use one of the NI_GPCT_COUNTING_MODE_QUADRATURE_XN_BITS bitfields, instead of the NI_GPCT_COUNTING_MODE_NORMAL_BITS that the simple counting demo uses. And maybe some of the NI_GPCT_INDEX_* bits. It might actually be useful to look at the ni 6601/6602 register level programming manual. -- Frank
Received on 2007-06-21Z23:49:36