To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example demonstrates how to add multiple plots of data to an XY graph as the data points are acquired in real time.
Description
The example uses the cluster data type for the XY graph. Each cluster data including an x-axis value and a y-axis value is concatenated to build an array. This process is repeated until the iteration number is reached to "Number of Plots". The default control values run a simulated acquisition with 4 separate tasks. Each task acquires 3 separate samples and then moves on to the next task.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**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.