Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

quard encoder for servo

Hey, 

I have to make an encoder reader using ni daq card , in c# , my task is to read the pulses from encoder of servo drive and send the position according . I am listing my task in sequence for more clarification and also attaching the sample  picture .

 

encoder.PNG

 

1)    first i have to detect both  pulse A and Pulse b

2)  I have to compare them to see either its clockwise or anti clockwise.

3)  I have to update the counter after ever rising edge of pulse A

please help to start with it .               

 

 

0 Kudos
Message 1 of 2
(2,959 Views)

Hi engr.Ahsan,

 

I have attached an article below that goes over getting started taking encoder measurements below. 

 

 

Encoder Measurements: How-To Guide: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x1riCAA&l=en-US

 

Also, what kind of hardware are you using to read in this encoder? 

 

Thanks,

 

ShaneK

Applications Engineering

0 Kudos
Message 2 of 2
(2,916 Views)