ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

取消
顯示結果 
搜尋替代 
您的意思是: 

LV executable gets renamed with the word conflict

已解決!
前往解決方案

Hello All,

  When I build an executable from my LV(2015) project, all goes fine. The build preview looks like I would expect.  The target file first gets the name I have chosen for it.  It then immediately gets renamed with part of the path and the word "conflict"
 in the new file name.  The resultant executable runs fine on the original and other PCs.  This is not the first build I have ever done.

 

OS: windows 7

 

0 積分
1 條訊息(共 6 條)
3,887 檢視

Is your target destination monitored by a tool such as Google drive, OneDrive, or similar?

 

A builder typically makes a temporary gigantic mess and these file monitoring tools can be thrown off track or even crash as a result.

 

The renaming is most likely done by something external to LabVIEW. Make sure you are building to a local plain folder. 

2 條訊息(共 6 條)
3,874 檢視

You are correct.  When I build to a folder on my hard drive it's fine.  The original destination was a network folder handled by Synology.  Interestingly, when I copy the local one over to the network location, no renaming occurs.

 

THANKS!

0 積分
3 條訊息(共 6 條)
3,853 檢視
解決方案
接受者 N2STC

@N2STC wrote:

You are correct.  When I build to a folder on my hard drive it's fine.  The original destination was a network folder handled by Synology.  Interestingly, when I copy the local one over to the network location, no renaming occurs.


Yes, as simple copy is a clean operation.

 

If you open the local folder while the build happens, you'll notice lots of "odd activity" (files/folders appearing/disappearing, etc.). In the long run LabVIEW should maybe change the way things are built. For example, all the temporary work could be done in the local TMP folder, followed by a move of the complete build to the final destination. Not sure what that change would involve.

0 積分
4 條訊息(共 6 條)
3,840 檢視

Yes I saw that.  The rename probably happens during build, but the file explorer doesn't update until it is over.  Thanks again.  Marking "Solved"

0 積分
5 條訊息(共 6 條)
3,835 檢視

I stopped building to a synced folder years ago because of exactly these issue. I am not sure if things have improved, but I doubt it. 😉

 

Proposing a solution, I just wrote up this idea. Please vote for it! 😄

0 積分
6 條訊息(共 6 條)
3,822 檢視