Solution
Before LabVIEW 2024 Q1 (after 2020), if there are any Interface classes in the LabVIEW project, the Unit Test functionality will have problems. There are two solutions to this issue:
- (Recommended) Upgrade LabVIEW and the UTF tool to the latest version.
- If you need to ignore this error in an older version of LabVIEW, you can replace the attachment from this article to the specified location:
- LabVIEW 2024:
C:\Program Files\NI\LVAddons\utf32\1\vi.lib\utf\common\file\ - LabVIEW 2020–2023 32-bit:
C:\Program Files (x86)\National Instruments\LabVIEW xxxx\vi.lib\utf\common\file - LabVIEW 2020–2023 64-bit:
C:\Program Files\National Instruments\LabVIEW xxxx\vi.lib\utf\common\file
Notes:
- Remove the version name from the replacement file before replacing it.
- You may need administrator privileges to replace this file.
- The LabVIEW 2024 UTF does not distinguish between 32-bit and 64-bit versions.
- The replacement attachment for each corresponding version does not distinguish by bit version.