To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example explores how to define (and if need be extract) a section of a sine-wave.
Description
Analysis of a function often involves plotting the function, and in many cases, identifying critical points on a function. This example explores how to define (and if need be extract) a section of a sine-wave. For this example the goal is to identify any section(s) which represents a contiguous rise or fall from the value 4 to -4 in one full period of a sine wave of amplitude 5. This might be useful if we are interested in studying areas of the function which are moving quickly (since near the peaks and valleys of a sinusoid, the derivative drops off to zero).
Requirements
LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
Run the program
Additional Information or References
VI Snippet
**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.