Example Code

Acquire Data, Build Array, Find Maximum

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview: This VI use Simulated signal to demonstrate how to display data on the Waveform Chart and display all collected data on the Waveform Graph after completion.


Description: This example demonstrates a continuous acquistion that plots the data as it is acquired. It also builds an array of values that is used to find the maximum of the data channel.


Requirements: LabVIEW 2012 (or compatible). Hardware: none.


Steps to Implement or Execute Code: 

1. Run the VI.
2. Look at the result when stopped.


Additional Information or References: 

 

Acquire Data Build Array Find Maximum FP.png

 

Acquire Data Build Array Find Maximum sn.png


**This document has been updated to meet the current required format for the NI Code Exchange.**

 

 

Will
CLA, CLED, CTD, CPI
LabVIEW Champion
Choose Movement Consulting
choose-mc.com

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