Home  >  Blog  >   Labview

Waveform Charts In Labview

Rating: 5
  
 
13570
  1. Share:
Labview Articles

The WAVEFORM chart is a special type of numeric indicator that displays one or more plots of data typically acquired at a constant rate.
Waveform charts can display single or multiple plots. The below Figure shows the elements of a multiplot waveform chart. Two plots are displayed: Raw Data and Running Avg. The waveform chart maintains a history of data or buffers from previous updates.

If you would like to Enrich your career with an Android certified professional, then visit Mindmajix - A Global online training platform: “LabVIEW training” Course.This course will help you to achieve excellence in this domain.


LabVIEW tutorials, LabVIEW training, LabVIEW Interview Questions, LabVIEW Sample resumes

Displaying A Single Plot On Waveform Charts

You can wire a scalar output directly to a waveform chart. The waveform chart terminal shown below Figure matches the input data type. If you pass the chart a single value or multiple values at a time, LABVIEW interprets the data as points on the chart and increments the x index by one starting at x = 0. The chart treats these inputs as new data for a single plot. The waveform chart accepts the WAVEFORM DATA TYPE which carries the data, start time, and delta t of a waveform. Use the Build Waveform function to plot time on the x-axis of the chart and automatically use the correct interval between markers on the x-scale of the chart. A waveform that specifies t0 and a single-element Y array is useful for plotting data that is not evenly sampled because each data point has its own timestamp.

LabVIEW tutorials, LabVIEW training, LabVIEW Interview Questions, LabVIEW Sample resumes

Displaying Multiple Plots On Waveform Charts

Waveform charts can display multiple plots together using the Bundle function located on the CLUSTER palette. In the below Figure, the Bundle function bundles the outputs of the three VIs to plot on the waveform chart. The waveform chart terminal changes to match the output of the Bundle function. To add more plots, use the positioning tool to resize the Bundle function.


LabVIEW tutorials, LabVIEW training, LabVIEW Interview Questions, LabVIEW Sample resumes

 To pass data for multiple plots to a waveform chart, you can bundle the data together into a cluster of scalar numeric values, where each numeric represents a single point for each of the plots. If you want to pass multiple points per plot in a single update, wire an ARRAY of clusters of numeric values to the chart. Each numeric represents a single y value point for each of the plots. You can use the waveform data type to create multiple plots on a waveform chart. Use the Build Waveform function to plot time on the x-axis of the chart and automatically use the correct interval between markers on the x-scale of the chart. A 1D ARRAY of waveforms that each specifies t0 and a single-element Y array is useful for plotting data that is not evenly sampled because each data point has its own timestamp.

MindMajix YouTube Channel

Frequently Asked LabVIEW Interview Questions & Answers

If you cannot determine the number of plots you want to display until run time, or you want to pass multiple points for multiple plots in a single update, wire a 2D ARRAY of numeric values or waveforms to the chart. By default, the waveform chart treats each column in the array as a single plot. Wire a 2D array data type to the chart, right-click the chart and select Transpose Array from the shortcut menu to treat each row in the array as a single plot.

 

 

Join our newsletter
inbox

Stay updated with our newsletter, packed with Tutorials, Interview Questions, How-to's, Tips & Tricks, Latest Trends & Updates, and more ➤ Straight to your inbox!

Course Schedule
NameDates
LabVIEW TrainingApr 20 to May 05View Details
LabVIEW TrainingApr 23 to May 08View Details
LabVIEW TrainingApr 27 to May 12View Details
LabVIEW TrainingApr 30 to May 15View Details
Last updated: 03 Apr 2023
About Author

I am Ruchitha, working as a content writer for MindMajix technologies. My writings focus on the latest technical software, tutorials, and innovations. I am also into research about AI and Neuromarketing. I am a media post-graduate from BCU – Birmingham, UK. Before, my writings focused on business articles on digital marketing and social media. You can connect with me on LinkedIn.

read more
Recommended Courses

1 / 15