To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example was derived from the example DAQmx - Measure Angular Position - Buffered - Counter Clock. Along with acquiring the angular position over time
Description:
This example shows how to process in the data in a producer consumer architecture. The processing done in this example is calculating the average velocity during the acquisition. If this processing is not desired, change this code to match what you would like to do.
Steps to implement or execute code
To implement this example:
To execute this example:
Queues breakdown:
Clock Breakdown:
Encoder Breakdown:
Requirements
Software
LabVIEW 2012 or compatible
NI-DAQmx 16.0 or compatible
Hardware
cDAQ with C series Counter Input Module
2017-10-30_9-30-29.jpg
2017-10-30_9-27-01.jpg
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.