取消
显示结果 
搜索替代 
您的意思是: 

Cannot create an .exe in LV2023Q1, but same project in LV2020 does build successfully

已解决!
转到解答

In LABView 2023Q1 I have a project for which I want to create a .exe. The build process fails with an Object reference is invalid error; see attached. If I back save this project toLV 2020, the build works.  I have uploaded the error message and a zip with the project that fails. Go into the PennTrapPot, open the project, and then try the one build in the project.

 

Any advice welcome.  This is part of a very large project (about 3000 VIs) and an attempt to backsave the entire project to LV2020 failed. It is possible that I could get the backsave to work eventually, but just retreating to 2020 would not not be easy.

 

This is on a fairly fast W10 machine with ample memory and disk space.

 

Thanks

0 项奖励
1 条消息(共 3 条)
1,307 次查看
解答
已被主题作者 Joel 接受

According to NI support, this is a known issue in LV2023Q1 and will be fixed in LV2023Q3.  "The current workaround is to replace your 'VISL_findDependentVISvr.vi' "  This fix worked for me, and I have attached the file that NI provided.

0 项奖励
2 条消息(共 3 条)
1,249 次查看

This is where the patched version of the VI should be copied:

 

 [LabVIEW 20xx]\vi.lib\lvdsc\servers\visl\redist

0 项奖励
3 条消息(共 3 条)
1,238 次查看