LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Encoder with pneumatic motor

Hello

I'm using an Autonics E50S8_360_3_T_24 Incremental rotary encoder with it's shaft connected to a pneumatic motor which can rotate up to 280 degrees . when i used the lifa base to see encoder counts and rotated the motor from 0 to 280 the counts on labview were different , anyhelp?!

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

If you are just reading the digital pin in LabVIEW, that won't work.  The communication with the Arduino will be too slow to catch all of them.  You would need to use an encoder library on the Arduino itself.  You can do this by using LINX with a LINX custom command.  The you would set up the encoder in the setup() function and then use the custom command to read the current value.

 

If you have issues implementing it in LINX, you can post on the LINX forum for support.

 

FYI, LIFA has been deprecated for a few years now.  It was replaces by LINX a few years ago.

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