10-11-2010 09:56 AM
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.
Solved! Go to Solution.
10-11-2010 11:55 AM
Run LabVIEW 2009 >> Menu >> Help >> Find Examples... >> Search for quadrature encoder >> open one of the examples
10-11-2010 08:42 PM
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.
10-12-2010 01:22 AM
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.
10-12-2010 07:36 AM
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.