Example Code

Peak detection

Code and Documents

Attachment

Introduction

This VI will detect a peak in your incoming data and signal when the new data is lower than the peak by a specified value.  This essentially is looking for a falling edge of your data but will ignore any false edges that are lower than the specified value.

Peak detection.jpg

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors