Displaying Measurement Data as Graphs

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

TestStand supports displaying one- and two-dimensional measurement array data as a graph in ATML 6.01, ATML 5.0, XML, and HTML reports using the HTML5 graph control, located in the <TestStand>\Components\Models\TestStandModels\GraphControl directory. The graph control supports displaying data as a Y plot or as an XY plot. The graph control supports orientation of the array data by rows or columns.

You can add PropertyObject attributes to variables you log to specify the layout and orientation of the array data. For example, for parameters, you can add these attributes to local variables you specify in the value expression for each parameter. The graph control uses these PropertyObject attributes to interpret the data and display the appropriate plot or plots.

By default, the graph control adds plots using the row-based orientation of the array data. You can add a PropertyObject attribute with the TestStand.DataOrientation namespace to configure the graph control to interpret the array data by columns.

The type of plot the graph control displays depends on the following factors, as the following table describes:

  • The number of dimensions of the array data being displayed.
  • The value of the array data PropertyObject attribute with the TestStand.DataLayout namespace.
  • The value of the array data PropertyObject attribute with the TestStand.DataOrientation namespace.
Dimension of Array Data DataLayout PropertyObject Attribute Value DataOrientation PropertyObject Attribute Value Plot(s) Displayed in the Report
1D <EmptyString> <NotApplicable> Single Y plot. The X coordinates of the plotted points are the array indexes. The Y coordinates of the plotted points are the array data values.
2D <EmptyString> <NotUsed> Multiple Y plots. A plot is created for each row in the array. The X coordinates of the plotted points are the array indexes. The Y coordinates of the plotted points are the array data values.
2D MultipleY Row Based Multiple Y plots. A plot is created for each row in the array. The X coordinates of the plotted points are the array indexes. The Y coordinates of the plotted points are the array data values.
2D MultipleY Column Based Multiple Y plots. A plot is created for each column in the array. The X coordinates of the plotted points are the array indexes. The Y coordinates of the plotted points are the array data values.
2D SingleX-MultipleY Row Based Multiple XY plots. A plot is created for each row in the array. The X coordinates of the plotted points are the array data values in the first row of the array. The Y coordinates of the plotted points are the array data values of every row in the array except the first row.
2D SingleX-MultipleY Column Based Multiple XY plots. A plot is created for each column in the array. The X coordinates of the plotted points are the array data values in the first column of the array. The Y coordinates of the plotted points are the array data values of every column in the array except the first column.
Note Note  You must use the case-sensitive names for the TestStand.DataLayout and TestStand.DataOrientation namespaces for ATML 6.01, ATML 5.0, XML, and HTML reports to render graphs correctly.

See Also

PropertyObject

PropertyObject Attributes

WAS THIS ARTICLE HELPFUL?

Not Helpful