Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Can hardware run the count direction of Counter 0 or 1 on the PCI-MIO-16XE-10?

I am attempting to perform quadrature decoding of a rotary encoder equipped with A, B, Z, ~A, ~B, and ~Z signals into my PCI-MIO-16XE-10 Board and I am confused by apparently contradictory information on the NI Website.
 
I have learned through the website that my PCI-MIO-16XE-10 board is identical to the NI-6030E board.
 
One location of the NI Website, indicates that ALL E SERIES boards are capable of control of the Up/Down signal of Counter 0 and Counter 1 via P0.6 and P0.7 respectively.  I find no evidence of this in the User Manual for the NI-6030E which I downloaded, and yet some hardware that I inherited indicates this may be possible. I deduced this from the way it was wired, the A signal into P0.6 connector and the B signal into Counter 0 Source connection.
 
One of the discussions states that E SERIES boards are NOT capable of Quadrature decoding.
 
Which is true? If this board is capable of having the Up/Down signal controlled by hardware, where is this documented? Also, if the Up/Down signal is controlled by hardware, is there some reason it cannot be used for Quadrature decoding?
 
I would appreciate any comments that might put me on the right trail. Thank you in advance.
0 Kudos
Message 1 of 6
(3,213 Views)
Hi LargeT,

E-Series cards can count quadrature encoder signals, but are not capable of making use of the Z-index (wheras M-Series cards and TIO cards can).  This distinction is most likely the source of the apparent conflicting information.

Here is a tutorial that describes the process of using an E-Series card with a quadrature encoder.

One other piece of information to note is that E-Series cards cannot make use of the paired differential outputs of your encoder.  You can either simply not connect the ~ signals, or you can use external circuitry as mentioned in this KnowledgeBase entry.

Hopefully this will clarify the situation.  Let me know if you have more questions as you move forward.

Have a great day!
Travis W






0 Kudos
Message 2 of 6
(3,204 Views)
Travis:
 
Thank you for your input. I had viewed the information you presented previously, and since then I have been able to download the correct User's Manual for my DAQ board. Together, this information has cleared up a lot of questions, but I still have an issue I don't quite understand.
 
When I pull up the Route Signal.vi, it does not list signal parameters for the Up/Down Count Control for either GPCTR0 or GPCTR1 as an option. Unfortunatly, I do not have access to the help files for versions of Labview above 6.0 either, so I don't know if this is an option only in later versions of Labview.
 
Are there options using the Route Signal.vi to route P0.6 or P0.7 pins to the Up/Down Count Control of either of these counters? If not, is there another way to accomplish the same task without using the Route Signal.vi? Is there a resource that explains how to make this and similar type connections?
 
Thanks again for you help!!!
 
0 Kudos
Message 3 of 6
(3,188 Views)
Hi LargeT,

There is an example program on this discussion forum thread that might be able to help you out.  It uses the "CTR Mode Config.vi" to achieve this functionality.



Let me know if this helps you fix the problem, and if there is anything else I can help out with.

Have a great day!
Travis W

Message Edited by Travis W on 01-28-2007 11:34 PM

0 Kudos
Message 4 of 6
(3,170 Views)

Hi LargeT-

In case you have access to LabVIEW 7.1 or later you should consider using NI-DAQmx.  Here's the same example using NI-DAQmx.

Hopefully this helps-

Tom W
National Instruments
0 Kudos
Message 5 of 6
(3,159 Views)

Thank you all for you input.

We finally got the system going based on the information and examples you provided. The final solution lay in the Up/Down Counter VI in the discussion you referanced, and a little re-wiring on our part.

Thanks again for everything!!!

LargeT

 

0 Kudos
Message 6 of 6
(3,100 Views)