LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to extract encoder phases (A, B, Z channels) from counter?

Hello,

 

I have a simple question that I am having trouble answering. My question is, is it possible to extract the raw data (meaning phase A, B, Z) from the VI attached? I understand that the angular position of the encoder, which is calculated using channels A and B, is the data that is being displayed, but is it possible to also display the values of phase A, B and Z in volts maybe? Or in any other way?

 

Thank you,

r15

0 Kudos
Message 1 of 7
(4,337 Views)

Hello,

You are essentially reading digital signals, so there wont be any point in displaying the voltage I dont think.

Have you tried these links?

http://zone.ni.com/devzone/cda/tut/p/id/7109

http://www.ni.com/gettingstarted/setuphardware/dataacquisition/quadratureencoders.htm

 


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 2 of 7
(4,322 Views)

Hello,

 

I have read many articles on ni.com and I understand I am reading digital signals and there is no point, but I would like to be able to extract the values of phases A, B and Z for calibration purposes. My question is is it possible to retrieve these values along side the angular position of the encoder.

 

I just need the values of the 3 phases at any instant during the running of the program.

 

Thank you,

r15

0 Kudos
Message 3 of 7
(4,311 Views)

Hi,

You could read them as three different counter lines and calclulate the angular position using the formula in the link posted before.


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 4 of 7
(4,307 Views)

Hello,

 

What hardware are you using?

How many counters do you have?

 

Ion R.

0 Kudos
Message 5 of 7
(4,287 Views)

I am using three similar quadrature encoders with the following part number: E50S8 - 1000 - 3 - T - 5

 

To decode these encoders, I am using the NI USB-6341 which has 4 counters.

 

I attached the datasheet for the encoder.

 

r15

0 Kudos
Message 6 of 7
(4,269 Views)

At this moment I would agree with aCe and use counter line to read signal A,B and Z.

0 Kudos
Message 7 of 7
(4,247 Views)