LabVIEW myRIO Toolkit

Table of Contents

Encoder VIs

  • Updated2023-02-21
  • 1 minute(s) read

Owning Palette: Low Level VIs

Requires: myRIO Toolkit or roboRIO Toolkit. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Encoder VIs to control the encoder channels on the myRIO or the roboRIO.

Palette ObjectDescription
CloseCloses the reference to an encoder channel, disables the counter, and resets the counter value to zero.
OpenOpens a reference to an encoder channel. You must open a reference before you use an encoder channel to read and decode signals from an encoder.
ReadReads the value of the encoder tick counter, the last direction of the tick counter, and whether the counter wraps around.
ResetResets the encoder tick counter to zero.
StartStarts the encoder tick counter. The encoder you connect to the myRIO or the roboRIO starts to increment or decrement the tick counter values.
StopStops the encoder tick counter. The encoder you connect to the myRIO or the roboRIO stops changing the tick counter values.

Log in to get a better experience