WAVEFORM DATA TYPE AND XY GRAPHS IN LABVIEW

The waveform data type carries the data, start time and delta t of a waveform. You can create a waveform using the Build Waveform function. Many of the VIs and functions you use to acquire or analyze waveforms accept and return waveform data by default. When you wire waveform data to a waveform graph or chart, the graph or chart automatically plots a waveform based on the data, start time and delta x of the waveform. When you wire an array of waveform data to a waveform graph or chart, the graph or chart automatically plots all waveforms.

XY GRAPHS

The XY graph is a general-purpose, Cartesian graphing object that plots multivalued functions, such as circular shapes or waveforms with a varying time base. It displays any set of points, evenly sampled or not. You can also display Nyquist planes, Nichols planes, S planes and Z planes on the XY graph. Lines and labels on these planes are the same color as the Cartesian lines, and you cannot modify the plane label font. The below Figure shows an example of an XY graph. The XY graph can display plots containing any number of points. It also accepts several data types, which minimizes the extent to which you must manipulate data before you display it.

DISPLAYING A SINGLE PLOT ON XY GRAPHS

The XY graph accepts three data types for single-plot XY graphs. The XY graph accepts a cluster that contains an x array and a y array. The XY graph also accepts an array of points where a point is a cluster that contains an x value and a y value. It also accepts an array of complex data in which the real part is plotted on the x-axis and the imaginary part is plotted on the y-axis.

DISPLAYING MULTIPLE PLOTS ON XY GRAPHS

The XY graph accepts three data types for displaying multiple plots. It accepts an array of plots where a plot is a cluster that contains an x array and a y array. The XY graph also accepts an array of clusters of plots where a plot is an array of points. A point is a cluster that contains an x value and a y value. The XY graph also accepts an array of clusters of plots where a plot is an array of complex data, in which the real part is plotted on the x-axis and the imaginary part is plotted on the y-axis.