Open VI

LabVIEW 2016 ELVIS RIO Control Toolkit Help

Edition Date: June 2016

Part Number: 376300A-01

»View Product Info
Download Help (Windows Only)

Owning Palette: Encoder VIs

Requires: myRIO Toolkit, roboRIO Toolkit, or NI ELVIS RIO Control Toolkit

Opens 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.

Allow multiple opens? specifies whether to allow opening the specified channel more than once. The default is FALSE. You must set Allow multiple opens? to TRUE if you also use the specified channel in an Express VI.
Channel Name specifies the name of the encoder channel whose reference you want to open.
Encoder Signal Mode specifies the type of output signal from the encoder you use.

0Quadrature Phase Signal (default)—Specifies that the encoder generates two phase signals that are offset by 90 degrees. The count value changes each time there is a falling or rising edge on either of the phases. Most encoders generate quadrature phase signals. You can interpret a quadrature phase signal as Gray code.
1Step and Direction Signal—Specifies that the encoder generates a direction signal and a clock signal. The direction signal determines the direction of the encoder. The count value changes on every rising edge of the clock signal.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Start Counter specifies whether the encoder tick counter starts immediately after the channel is open. The default is TRUE.
Encoder Ref Out returns a reference to the encoder channel that you specify.
error out contains error information. This output provides standard error out functionality.


Not Helpful