02-05-2010 10:44 AM
I need to implement a quadrature encoder on the 6602 board usinng c language.
I found some good function, for example DAQmxBaseCreateCIAngEncoderChan, but i think this function is only for DaqmxBase,
is there some similar function for Daqmx, or have i to do it myself?
From where can i start?
Thank you in andvance
02-08-2010 04:16 AM
Hi Blacksocket,
I want to suggest you this tutorial
http://zone.ni.com/devzone/cda/epd/p/id/194
It is implemented in Labview but you can download it freeware (for a month) from http://www.ni.com/trylabview/i/ and see how it si built up.
Hope this helps,
M
02-08-2010 05:32 AM - edited 02-08-2010 05:32 AM
Solved my problem.
I installed the daqmx version on CD and it was old.
Now i installed the new version daqmx 9.0 , that i toke from the site.
This version has the function i need DAQmxCreateCIAngEncoderChan,
it compiles , now i have only to attach my encoder.
Thank you lo stesso
02-15-2010 09:59 AM
Ok it works, now i have to generate a pulse for an assigned number of encoder ticks.
It seems the Ctrsxinternalout works only on the z signal of the encoder.
Is there a way to generate a pulse (with another crt or port) on a defined number of encoder tick?