10-12-2012 01:00 AM
I'm using PCI 6024E board and it seems that this card has problems reading quadrature encoder signals.
(http://www.quarcservice.com/ReleaseNotes/files/ni_pci_6024e.html)
"
Encoder Inputs
The NI PCI-6024e supports 2 encoder inputs with 24-bit count values (channels 0 and 1). Note that since this card uses its counters for both encoder inputs and PWM outputs, you can only use a counter as either an encoder input or a PWM output channel.
In order to set the encoder counters to a particular count when the model is loaded, the encoder inputs must be configured on the HIL Initialize block's Encoder Inputs tab. Set the Encoder input channels field to all the encoder channels that will be used on the board for the current diagram. The NI PCI-6024e only supports non-quadrature (count and direction) counting. The NI PCI-6024e does not support encoder filtering"
Are there any alternatives to get my PCI 6024E to work?
Thanks.
10-12-2012 09:00 AM
If you're doing your own programming, you can add a quad decoder / converter to generate the kind of
properly timed Clock & Direction pair that your E-series board can support. Here's one I found from a
place I've bought raw chips from in the past. You'd need the PC6-C version. I'm sure there are plenty
of other sources for quad converters.
However, I don't know anything about QUARC and their driver layer, and whether they support the
clock & direction type of up/down counting that you want. DAQmx and the PCI 6024E board itself
can do it, but if you work through QUARC's driver layer, I dunno.
-Kevin P