• Home
  • Blog
  • Labview
  • Dynamically Formatting Waveform Graphs And Configuring A Graph Or Chart In LABVIEW

Dynamically Formatting Waveform Graphs And Configuring A Graph Or Chart In LABVIEW

Dynamically Formatting Waveform Graphs

Wire a dynamic data type output to a Waveform Graph to automatically format the Plot legend and x-scale time stamp for the graph. For example, if you configure the Simulate Signal Express VI to generate a sine wave and to use absolute time and wire the output of the Simulate Signal Express VI to a waveform graph, the plot legend of the graph automatically updates the plot label to sine, and the x-scale displays the time and date when you run the VI. Right-click the graph and select Ignore Attributes from the shortcut menu to ignore the plot legend label the dynamic data includes. Right-click the graph and select Ignore Time Stamp from the shortcut menu to ignore the time stamp configuration the dynamic data includes.

Dynamic Data Type

Most Express VIs accept and/or return the dynamic data type. The dynamic data type appears as a dark blue terminal, shown as follows.

The dynamic data type accepts data from and sends data to the following data types, where a scalar data type is a floating-point number or a Boolean value:

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.

  • 1D ARRAY of waveforms
  • 1D array of scalars
  • 1D array of scalars—most recent value
  • 1D array of scalars—single channel
  • 2D array of scalars—columns are channels
  • 2D ARRAY of scalars—rows are channels
  • Single scalar
  • Single waveform

Wire the dynamic data type to an indicator that can be the best to present the data. Indicators include a graph, chart, or numeric indicator. However, because dynamic data undergoes an automatic conversion to match the indicator to which it is wired, Express VIs can slow down the block diagram execution speed.

MindMajix YouTube Channel

The dynamic data type is for use with Express VIs. Most other VIs and functions that ship with LABVIEW do not accept this data type. To use a built-in VI or function to analyze or process the data the dynamic data type includes, you must convert the dynamic data type.

Explore LabVIEW Sample Resumes! Download & Edit, Get Noticed by Top Employers! Download Now!

Configuring A Graph Or Chart

Right-click a graph or chart and select one of the following shortcut menu options to configure a graph or chart.
Stack Plots—Stacks the plots. Remove the checkmark from this shortcut menu option to overlay the plots. This option is available only for charts.
Chart History Length—Launches the Chart History Length dialog box. This option is available only for charts.
Transpose Array—Switches the x– and y-data before plotting. You also can use the Transpose Array property to switch the x– and y-data before plotting programmatically.
Autosize Legend—Automatically resizes the plot legend to the width of the longest plot name visible in the legend. You also can configure the x– and y-axes on a graph or chart

 

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 19 to Dec 04View Details
LabVIEW TrainingNov 23 to Dec 08View Details
LabVIEW TrainingNov 26 to Dec 11View Details
LabVIEW TrainingNov 30 to Dec 15View Details
Last updated: 08 Oct 2024
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