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.
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.
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.
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.
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
Stay updated with our newsletter, packed with Tutorials, Interview Questions, How-to's, Tips & Tricks, Latest Trends & Updates, and more ➤ Straight to your inbox!
|LabVIEW Training||May 30 to Jun 14|
|LabVIEW Training||Jun 03 to Jun 18|
|LabVIEW Training||Jun 06 to Jun 21|
|LabVIEW Training||Jun 10 to Jun 25|
Ravindra Savaram is a Content 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.
Copyright © 2013 - 2023 MindMajix Technologies