Encoder VIs

LabVIEW 2016 ELVIS RIO Control Toolkit Help

Edition Date: June 2016

Part Number: 376300A-01

»View Product Info
Download Help (Windows Only)

Owning Palette: Low Level VIs

Requires: myRIO Toolkit, roboRIO Toolkit, or NI ELVIS RIO Control 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.

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, the roboRIO, or the NI ELVIS RIO CM starts to increment or decrement the tick counter values.
StopStops the encoder tick counter. The encoder you connect to the myRIO, the roboRIO, or the NI ELVIS RIO CM stops changing the tick counter values.

WAS THIS ARTICLE HELPFUL?

Not Helpful