Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Nov 8, 2007

Quadrature Encoder Velocity and Acceleration with LabVIEW FPGA

0 ratings | 0.00 out of 5
Print

Downloads

Filename: quadencoder8.x.zip
Requirements: View

Filename: quadencoder.zip
Requirements: View

This example program demonstrates how to estimate velocity and acceleration of a Quadrature Encoder by using LabVIEW FPGA and CompactRIO. The example consists of an FPGA VI, Encoder Position & Velocity (FPGA).vi, which will run on the FPGA platform and a host VI, Encoder Position & Velocity (Host).vi, which will run on the Host Machine. The example program was designed for a PXI-7811R FPGA and an R-Series expansion chassis with a cRIO-9411 DI module in slot 1. The vi can easily be modified to run on any other cRIO FPGA platform. For details about the functionality of this program refer to the tutorial "Quadrature Encoder Velocity and Acceleration Estimation with CompactRIO and LabVIEW FPGA".

Related Links:

Getting Results with CompactRIO and LabVIEW

Application Note: Quadrature Encoder Velocity and Acceleration Estimation with CompactRIO and LabVIEW FPGA

Requirements


Filename: quadencoder8.x.zip

Software Requirements


Application Software: LabVIEW Professional Development System 8.0
Toolkits and Add-Ons: LabVIEW FPGA Module 8.0
Language(s): LabVIEW

Hardware Requirements


Hardware Group: CompactRIO, Real-Time (RT), Reconfigurable I/O (RIO)
Hardware Model: NI 9411, PXI-7811R
Driver: NI-RIO 2.0

 
Filename: quadencoder.zip

Software Requirements


Application Software: LabVIEW Professional Development System 7.1
Toolkits and Add-Ons: LabVIEW Real-Time Module 7.1, LabVIEW FPGA Module 1.1

Hardware Requirements


Hardware Group: CompactRIO, Reconfigurable I/O (RIO)
Driver: NI-RIO 1.0.3

 
0 ratings | 0.00 out of 5
Print

Reader Comments | Submit a comment »

poor resolution
I tried out the example code with a 60 count (240 ppr) encoder and the resolution of the RPM readings was very limited.
- Ryan Vallieu, Data Science Automation, Inc.. rwv@dsautomation.com - Sep 3, 2008

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).