LabVIEW – Plotting Data And Types Of Waveforms

Plotting Data

Graphical display of data is an important aspect of programming in LABVIEW. Good knowledge of ARRAYS and CLUSTERS is important for graphical operations. VIs with graph usually collects the data in an array and then plots the data to the graph to obtain a waveform. TWO-DIMENSIONAL X-Y displays are required in most situations. Charts and graphs let you display plots of data in a graphical form. Charts interactively plot data, appending new data to old so that you can see the current value in the context of previous data, as the new data become available. Graphs plot pre-generated arrays of values in a more traditional fashion without retaining previously-generated data.

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.

Types Of Waveforms

LabVIEW includes the following types of graphs and charts:

  • Waveform graphs and charts: Display data typically acquired at a constant rate.

  • XY Graphs: Display data acquired at a non-constant rate and data for multivalued functions.

  • Intensity graphs and charts: Display 3D data on a 2D plot by using color to display the values of the third dimension.

  • Digital waveform graphs: Display data as pulses or groups of digital lines.

  • Windows 3D graphs: Display 3D data on a 3D plot in an ActiveX object on the front panel.

MindMajix YouTube Channel

Waveform Data Type

The waveform data type is used by LabVIEW and other National Instrument’s software such as SignalExpress, TDMS, and the DAQmx API to display and store periodic signal measurements. The waveform data type is a cluster comprised of the following:

Frequently Asked LabVIEW Interview Questions & Answers

LabVIEW tutorials, LabVIEW training, LabVIEW Interview Questions, LabVIEW Sample resumes
Timestamps for each value can be calculated by using t0, dt, and the index for the value. Other arbitrary information can be added to the waveform cluster as variants. This can be useful to attach additional information about the signal to show what manipulation may have already been performed on it.
 
Explore LabVIEW Sample Resumes! Download & Edit, Get Noticed by Top Employers!Download Now!

LabVIEW functions accept the waveform data type. For CONTROLS AND INDICATORS of some data types, LabVIEW will automatically coerce the waveform allowing you to make the connection, even though the terminal’s required data type is not explicitly the waveform type. For example, if you connect a waveform wire to a numeric indicator a red dot will appear on the block diagram icon (to indicate coercion is being applied) and the last value of the Y array contained within that waveform will be displayed on the indicator on the front panel. If the waveform is connected to a 1D array indicator then LabVIEW will simply pass the Y data from the waveform to that indicator.

For the Formula Node or a MathScript Node, LabVIEW will not coerce the data automatically. To be able to present the Y values of the waveform into a Formula node as a 1D array or double numeric’s you will first have to use the Get Waveform Components VI which is found in the Waveform sub palette. Using this function and others contained within the Waveform palette, you can extract or modify data to any part of the waveform.

Check Out LabVIEW Tutorials

 

Job Support Program

Online Work Support for your on-job roles.

jobservice

Our work-support plans provide precise options as per your project tasks. Whether you are a newbie or an experienced professional seeking assistance in completing project tasks, we are here with the following plans to meet your custom needs:

  • Pay Per Hour
  • Pay Per Week
  • Monthly
Learn MoreGet Job Support
Course Schedule
NameDates
LabVIEW TrainingNov 26 to Dec 11View Details
LabVIEW TrainingNov 30 to Dec 15View Details
LabVIEW TrainingDec 03 to Dec 18View Details
LabVIEW TrainingDec 07 to Dec 22View Details
Last updated: 03 Apr 2023
About Author

Ravindra Savaram is a Technical Lead at Mindmajix.com. His passion lies in writing articles on the most popular IT platforms including Machine learning, DevOps, Data Science, Artificial Intelligence, RPA, Deep Learning, and so on. You can stay up to date on all these technologies by following him on LinkedIn and Twitter.

read less
  1. Share:
Labview Articles