LabVIEW 2009 Unit Test Framework Toolkit Help
Edition Date: June 2009
Part Number: 372584B-01
»View Product Info
When you create a test from the
Project Explorer window, LabVIEW creates a
.lvtest file
on disk. Each .lvtest file contains the settings LabVIEW uses to check the VI under test for functional correctness. You can view or edit .lvtest files by using Microsoft Excel or a text editor.
 |
Note If you use Microsoft Excel to edit a .lvtest file, you must save the file using the Unicode Text (.txt) file format. When you save a .lvtest file, Excel modifies formatting that is not compatible with tab-delimited text. For example, if a cell contains a comma, Excel uses double quotation marks to enclose the cell contents. This conversion might result in an unexpected error in the .lvtest file. Refer to the Microsoft Excel documentation for more information about formatting that is not compatible with tab-delimited text. |
Complete the following steps to edit a .lvtest file by using Microsoft Excel.
-
Open the LabVIEW project that contains the files on which you want to perform unit testing.
- Right-click a .lvtest file and select Open in External Editor. You also can open .lvtest files directly from Windows Explorer by right-clicking a .lvtest file and opening the file with Microsoft Excel.
 |
Note If you double-click a .lvtest file from Windows Explorer, LabVIEW launches but does not open any project or dialog box. You must right-click the .lvtest file to open the file with Microsoft Excel. |
- Edit the .lvtest file to configure settings for this test. Make sure you follow the
.lvtest file format.
 |
Caution Do not remove any lines from the .lvtest file. If you remove anything, the test might not execute properly. |
- Save and close the .lvtest file.
-
Select File»Save to save the project.