Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Angular position measurement with quadrature encoder and NI USB 6281

Solved!
Go to solution

Hello.I have an application developed with labVIEW 7.1 and NI 6014 for angular position measurement using quadrature encoder,where 3 wires are used - One of them connected to the source,second one to the DIO( 0 or 1) and third one to Digital ground. I cannot use the same application or connections to NI USB 6281.Now,I would like to know how I can create a similar application in labview 2009 and how to make the relevant connections for  NI USB 6281,which is an NI DAQ mx device.Please suggest.Thank you.

0 Kudos
Message 1 of 5
(4,042 Views)

Run LabVIEW 2009 >> Menu >> Help >> Find Examples... >> Search for quadrature encoder >> open one of the examples

0 Kudos
Message 2 of 5
(4,037 Views)

I tried this before posting my question here.But,there are some errors,wrt timeout etc,occuring and I donot use Z-indexing as well.So,I though someone here could help me both in terms of terminal connections and programming.

0 Kudos
Message 3 of 5
(4,022 Views)

See the user manual :

 - Position measurement with quadrature encoder : page 7-14

 - Default counter pinout : page 7-30

 

NI's example use the default pinout and allow you to enable/disable Z-indexing.

 

Another way is to generate a global virtual channel with Measurement And Automation Explorer. See this video if you need further help.

0 Kudos
Message 4 of 5
(4,009 Views)
Solution
Accepted by topic author user2lv

I have my application ready.I understand there is vast difference using LabVIEW 2009 and NI USB card,compared with the previous version I was using i.e LabVIEW 7.1 and a traditional daq.The difference,rather I should say the betterment is both in terms of code simplication and accuracy of the result.I was a bit surprised viewing the results.Thanks a lot JB for your time and sharing those bits of details.

 

I may well post my code sometime in the forum.Hope it helps someone like me looking for similar application.

0 Kudos
Message 5 of 5
(3,999 Views)