Example Code

Dynamic and Waveform Data in a Continuous Chart

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
The purpose of this code is to allow the user to convert from Dynamic Data to a 2 dimensional array of doubles and back to Dynamic Data, and display the data on a chart. 


Description
The purpose of this code is to allow the user to convert from Dynamic Data to a 2 dimensional array of doubles and back to Dynamic Data, and display the data on a chart. The example is saved below for LabVIEW 2012. You can manipulate the array of doubles after converting from Dynamic Data, and then set dynamic attributes after converting back. 


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

1. Configure DAQ Assistant

2. Run the VI 

 

Additional Information or References

VI Block Diagram

 Block Diagam.png

 **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.

Comments
Hoda
Member
Member
on

When I run this example, the real time on x-axix does not work properly. Let's say when only a minute is passed in real time, the x-axis shows a period of several hours!