LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Application file name does not change

Solved!
Go to solution

After I go to BUILD >> CONFIGURATION >> MANAGE CONFIGURATION >> RELEASE >> EDIT >> TARGET SETTINGS, then either type in a new name in the APPLICATION FILE field, or actually browse and select the file that I wanted it to be named to, and select OK >> DONE >> DONE. It does not get change.

 

 

Ver 2010

0 Kudos
Message 1 of 6
(4,753 Views)

I cannot comment on CVI 2010 but CVI 2013SP2 behaves as expected.

 

What do you mean by 'it does not get changed'? No file name is expected to be changed; if you enter a new file name for the release executable the next time you generate a release executable this new file is supposed to show your new name.

 

Let's assume your current configuration specifies 'NAME_1.exe', building a release executable will give you NAME_1.exe. Now, if you change your release configuration to 'NAME_2.exe', the next time you build a release executable the file will be called NAME_2.exe, but the old executable NAME_1.exe will still exist.

0 Kudos
Message 2 of 6
(4,750 Views)

Yes I am doing exactly that, but when I build the executable it is still shows  NAME_1.exe. Also if I just go right back in to see if the changes have taken effect before I build, it still shows it as  NAME_1.exe and not  NAME_2.exe that I had priviously changed to.

0 Kudos
Message 3 of 6
(4,747 Views)
Solution
Accepted by topic author erdc3

Have you tried to give it directly in Build >> Target settings panel, selecting Release configuration and typing in the name? I always do this way and the name actually changes.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 4 of 6
(4,730 Views)
It's worth noting here that Target Settings are configured separately for each build configuration. Make sure you are making changes to the correct Target Settings.
Daniel Dorroh
National Instruments
0 Kudos
Message 5 of 6
(4,713 Views)

Thanks , that worked. And when I do the direct BUILD >> TARGET SETTINGS and change the name, then go dirictly to  BUILD >> CONFIGURATION >> MANAGE CONFIGURATION >> RELEASE >> EDIT >> TARGET SETTINGS, I do see my changes there.

 

Looks like this is a bug.

0 Kudos
Message 6 of 6
(4,703 Views)