Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI-6602 Generate Quadrature Signals A,B using DAQmx in CVI

Solved!
Go to solution

Hi,

 

I want to know if it's possible to generate signals for a quadrature encoder...

 

I want to generate Signal A and then Signal B with a 90° of delay from the other and be able to define the number of pulses I want to generate.

I've been trying to generate the signals with DAQmxCreateCOPulseChanFreq, but I don't know to start Singal B with the 90° delay.

 

Does any one have any experience on this?

 

Thank you for your help,

 

 

0 Kudos
Message 1 of 3
(4,457 Views)
Solution
Accepted by topic author gramirezv

Hello gramirezv good afternoon,

 

Here is a KB that may help you to generate two pulse trains with the same frequency but with a phase shift:

 

How Can I Generate Two Pulse Trains Phase Shifted from Each Other on My E Series Card?

http://digital.ni.com/public.nsf/allkb/26CCE4F74DACFD1886256DCF006B011A?OpenDocument

 

Have a great evening,

 

 

Best regards,

 

CaEnOs

Message 2 of 3
(4,445 Views)

Hi CaEnOs,

 

That document really got me in the right direction, I was able to figure a solution based on that and some legacy code we had in our system where we generated similar signals.

 

Regards,

 

 

0 Kudos
Message 3 of 3
(4,378 Views)