Table Of Contents

Structuring Your Test Data

Last Modified: June 22, 2021

Create a cluster to structure the properties of your test step data so the data displays correctly in Test Monitor.

Test Monitor only supports displaying the TestStand data model. Therefore, how you configure the key-value pairs for each property in the cluster determines whether your data displays correctly in Test Monitor.

Before you structure your test data, you need create a VI for acquiring test results.

What to Use

What to Do

On the client, create the following diagram in a VI to structure your test step data.

Customize the gray sections for your unique programming goals.

The test step in control provides the test steps of your test program. The Property Node reads the Data property from the test steps.
The step parameters control provides the parameters of your test steps. Unbundle by Name returns the names of the step parameters.
The SystemLink Properties type definition contains the key-value pair structure you need to use for your step parameter properties.
Bundle By Name specifies the keys and values of each step parameter. These key-value pairs appear in Test Monitor.
Build Array creates an array containing all the key-value properties of the step parameters.
In Place Element Structure uses Unbundle/Bundle Elements Border Nodes and Build Array to assemble the data obtained from test step in and the key-value properties from step parameters into a cluster structure.
The Property Node uses the cluster to display the data correctly in Test Monitor.
After you programmatically structure the test data, add this VI as a subVI to the VI you created in Acquiring Test Results and wire Create Test Step to it.

Recently Viewed Topics