03-26-2014 10:28 AM
03-26-2014 10:42 AM
Hi Eren,
I do have "Embed project .UIR's" enabled. However, if I change the UIR file, save it and only then press the green triangle there is no recompilation... but the executable shows the modified UI...
03-26-2014 02:58 PM
03-27-2014 04:20 AM
Hi Eren, thanks...
I have tried your suggestion and you were right: adding a new control, for example, forces a compilation in both cases (as expected).
So my initial question remains why the two approaches to compile a project after a 'small' change of the UIR behave differently, or, as Eren called it, why is pressing the Save disk icon smarter... in my opinion both user actions should yield the same program action
@ebalci wrote:
Maybe if you save it first, it can realize if the change effect the header or not. If you run it directly, maybe it rewrites the header anyway and therefor recompiles the files including that header.
"Maybe if..." It would be nice to hear from NI what actually is happening so that we don't have to guess
03-27-2014 09:54 AM
Hello Wolfgang,
Eren is right. When saving the *uir the associated header file is not modified if not necessary. But if you click Run without saving the file the header file is re-written. You can see this if you look at the timestamp of the h file.
I think what this dialog displays: "Saving them will cause CVI to generate new versions of their associated include files." wants to suggest this behaviour but I'm not sure.
Why are you saying this is a new bug in CVI2013SP1? I can see the same behavour in the earlier versions.
Thanks,
Constantin
03-27-2014 10:07 AM
@Constantin--P wrote:
Hello Wolfgang,
Eren is right. When saving the *uir the associated header file is not modified if not necessary. But if you click Run without saving the file the header file is re-written.
Why are you saying this is a new bug in CVI2013SP1? I can see the same behavour in the earlier versions.
Thanks Constantin for confirmation!
The reason I called this behavior new simply was that I did not remember to have seen this before
04-09-2014 02:05 AM
@Constantin--P wrote:
Why are you saying this is a new bug in CVI2013SP1? I can see the same behavour in the earlier versions.
My focus was not so much on the 'new' 😉
So Constantin, would you agree that this behaviour is 'counter-intuitive' and deserves a CAR?
04-09-2014 02:27 AM
Hello Wolfgang,
The CAR number is 464163.
Have a nice day,
Constantin
04-09-2014 02:45 AM
Thanks!
10-15-2020 08:17 AM