Example Code

Graphing Multiple Traces Sequentially on one 2d Graph

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

Download All

 

Overview

This example utilized a custom buffer which we maintain in a 2d array to graph multiple traces sequentially on one 2d Graph to simulate the effects of a chart.

 

Description
This example can show the total sample acquire at the waveform graph and also can trace sequentially on 2D Graph to simulate the effect of the a chart..

 

Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

1.Enter number of traces you will have

  1. Enter total samples for each trace
  2. Run the VI and supply different trace #s as you want to graph different traces.

 

Additional Information or References
VI Block Diagram

 1.png

 

 

 

 

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

 

Best Regards,
Song Mu
National Instruments San Diego

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