Table Of Contents

Analyzing Data in an Interactive Graph

    Last Modified: January 11, 2018

    You can better understand your data by visualizing it in an interactive graph.

    Viewing data in different formats can provide insight into trends or outliers in the data. For certain data types, you can also use an analysis panel to configure and apply an analysis function, capture the data that the function produces, and create a node that replicates the analysis function you configure to use in your code.
    1. Capture data that your application generated using one of the following options:
      • Right-click a panel object and select Capture data.
      • Select Data»Capture panel data.
    2. Double-click the data item in the Captured Data tab to visualize the data in the workspace.
    3. Use the workspace to explore and configure the data in the graph.
    4. If you want to apply an analysis function to the data in the graph, select an analysis panel on the Plots tab.

      To use analysis panels, your data item must be an analog waveform of double-precision floating-point numbers or a 1D-array of double-precision floating-point numbers. If your data item does not meet the data type requirement, use a conversion node and capture the converted data to complete this step.

      Analysis Function Description
      Amplitude Measurements Performs peak amplitude measurement.
      Curve Fit Finds the line that best represents an input signal or input data set using a specific fitting method.
      FFT Spectrum Computes the averaged FFT spectrum of a signal.
      Filter Applies a lowpass, highpass, bandpass, or bandstop filter to a signal.
      Histogram Finds the discrete histogram of a signal.
      Limit Testing Performs limit testing by comparing the signal to upper and lower limits that you define.
      Pulse and Transition Measurements Returns various measurements of a specific pulse in a periodic waveform or an array of periodic waveforms, such as the period, pulse duration, and duty cycle.
      Resample Resamples a signal according to a specific delay and sampling interval.
      Scaling and Mapping Scales a signal based on a straight line.
      Signal Correlation Computes the auto correlation of a signal or cross correlation of two signals.
      Statistics Performs statistical calculations on a signal.
      Tone Measurements Finds tones with specific amplitude and frequency parameters.
      Adjust the variables of the analysis function until it meets the requirements of your application. The graph updates in real time to show the resulting data on the same graph as the original data. You can click Capture & view data in the top right corner to view only the data that the function produces with the current configuration.

      To create a node that replicates the analysis function you configured, open the Configured Code pane at the bottom of the analysis panel, click Copy to Clipboard, and then paste the node onto the diagram in a VI.

    Recently Viewed Topics