LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading SSI Single-turn absolute encoder using a myRIO

Hi

 

I'm trying to use a 13-bit Absolute encoder with a SSI Gray protocol using myRIO. The encoder I'm using is a 'STEGMANN' ARS60-A4A08192.

Data sheet is https://www.mysick.com/eCat.aspx?go=FinderSearch&Cat=Row&At=Fa&Cult=English&Fami lyID=494&Category=P...

 

myRIO does not support SSI Gray but there are other communication protocols eg: SPI & I2C. Do I have to program the FPGA?

 

Since I'm a beginner, can someone direct me to find help on this topic or any example labview VI's.

Any help will be much appreciated.

 

Thanks.

 

Nuwan

0 Kudos
Message 1 of 3
(4,497 Views)

Nuwan,

Just to communicate over I2C or SPI, you do not necessarily need to program the FPGA. If you are looking for examples of SPI and I2C with myRIO, I would suggest looking at the examples found in the link below. If you are not familiar with I2C and SPI there are several YouTube videos that walk you through that communication protocol and the examples, I attached two videos below.

Examples: http://www.ni.com/academic/myrio/project-guide-vis.zip

SPI: https://www.youtube.com/watch?v=GaXtDamw5As

I2C: https://www.youtube.com/watch?v=qbD31AeqOMk

 

 

Matthew

 

Message 2 of 3
(4,463 Views)

The OP isn't asking to use SPI or I2C on a RIO device - they're asking to use SSI.

 

OP: we write our own embodiment of SSI / BiSS on the FPGA, but I have previously pointed people in the direction of this when they've asked about it. Gray code to binary conversion is pretty simple too.

 

Your mileage may vary.

---
CLA
Message 3 of 3
(4,447 Views)