The mixed signal graph can display both analog and digital data. Mixed signal graphs accept all data types accepted by waveform graphs, XY graphs, and digital waveform graphs.

A mixed signal graph may have multiple plot areas. The plot area is where LabVIEW draws the data on the graph. A given plot area can display only digital or analog plots, not both. The mixed signal graph automatically creates plot areas when necessary to accommodate analog and digital data.

When you add multiple plot areas to a mixed signal graph, each plot area has its own y-axis scale. All of the plot areas share a common x-axis scale, which allows you to compare multiple signals of digital data and analog data.

By default, the mixed signal graph displays digital data as digital lines and buses in the plot area. If you wire an array of digital data where each array element represents a bus, the mixed signal graph plots each column of digital data as a different line. Figure 12. Sample Mixed Signal Graph shows how a mixed signal graph can appear.

Figure 12. Sample Mixed Signal Graph

You can configure a plot to change how a mixed signal graph displays numbers and plot lines. You also can use the Plot properties to get or set the format of numbers in the digital plots programmatically.

Compatible Data Types for Displaying a Single Plot on a Mixed Signal Graph

The mixed signal graph accepts the same data types for single-plot mixed graphs as the waveform graph, XY graph, and digital waveform graph.

Compatible Data Types for Displaying Multiple Plots on a Mixed Signal Graph

The mixed signal graph accepts the same data types for displaying multiple plots as the waveform graph, XY graph, and digital waveform graph.

A single plot area can accept either only analog data or only digital data. When you wire data to a mixed signal graph, LabVIEW automatically creates plot areas to accommodate combinations of analog and digital data. If there are multiple plot areas on the mixed signal graph, you can use the splitter bar between the plot areas to resize each plot area.

The plot legend on the mixed signal graph comprises tree controls and is displayed to the left of the graph plot areas. Each tree control represents one plot area. The plot area is labeled as Group X, where X is the number corresponding to the order in which LabVIEW, or you, place the plot area on the graph. You can use the plot legend to move plots from one plot area to another plot area. You can resize or hide the plot legend by moving the splitter bar that is between the plot area and the plot legend.

Refer to the Mixed Signal Graph VI in the labview\examples\Controls and Indicators\Graphs and Charts\Mixed Signal Graph directory for examples of:

  • The data types that a mixed signal graph accepts
  • Displaying multiple plots on a mixed signal graph