Formatting for Arrays in .lvtest External Editor

Updated Feb 22, 2019

Reported In

Software

  • LabVIEW
  • LabVIEW Unit Test Framework Toolkit

Issue Details

I want to edit the properties of my .lvtest file using the Excel external editor, but I cannot figure out how to format array input/output values for my test cases.

Solution

Each element of the array you wish to specify must be entered individually into the Excel sheet that serves as the external editor. The Control Name for an array element follows the format: Array Name[index]/Element Name. The type of brackets used within the control name format to indicate the index of the element is specified in the header of the Excel sheet in the field "Array Brackets". The Data Type will be the type for the element (i.e, not "Array"). All other fields follow the same format as other element types. In the example below, two 1D arrays of three floating-point doubles are specified (one as an input and one as an output).
 

The external editor view above corresponds to the following .lvtest file Properties>Test Cases pop-up view:
 

WAS THIS ARTICLE HELPFUL?

Not Helpful