12-11-2013 12:05 PM
I have noticed that on a compiled project if you change the visibility of a UIR object, these changes are not reflected on the subsequent build. There are files that are set to recompile but in least some cases the change to the UIR is not reflected by a "build" (or Ctrl M).
Using the new "Rebuild" command from the pull down menu does reflects the expected behavior (the changes to the UIR are seen).
This may be considered normal operation and / or been previously reported, but it was new to me.
12-12-2013 01:39 AM
Hello blakney,
I tried to reproduce the issue in CVI 2013, but couldn't. I toggled "Initially Hidden" for various UIR controls, but the UIR was marked as changed every time. Then, after I built the sample with Ctrl+M, I ran it and saw the change every time.
Could you please provide more details about the problem (like if the project is located on a newtork path, whether you're using CVI 2013 with the Patch f1 applied or not)? Also, a project that exhibits this behavior would be very useful in our investigation.
Best regards,
=Nelu F. || National Instruments.
12-12-2013 01:15 PM
I think another useful piece of information would be if you have enabled "Embed project .UIRs" under Target Settings for the active configuration...
12-17-2013 02:55 AM
I just had the same issue with an embedded UIR: fixed a wrong control data type but I still kept getting the fatal runtime error "wrong data type". That was annoying!
Rebuild sadly didn't help, just a removal of the cvibuild directory.
Please fix this.
12-17-2013 11:27 AM - edited 12-17-2013 11:29 AM
I embed the UIRs. I find that local path UIRs sometime get "lost" in Release64 builds. They link fine in Debug64 mode though.
I should say that some if not all UIR were built originally in previous version of CVI.
01-07-2014 07:07 AM
blakney, it sounds like the bug you've reported originated in the Patch f1. The bug id is 433769 and the fix is likely to be included in our next release.
Two workarounds for the issue are:
- Use Rebuild every time you make a UI change (if you're using the option).
- Disable Embed project .UIRs when in Debug configuration and only embed them when you create your release product. The option to embed is configuration-dependent, meaning you can set the debug and release behaviors separately.
Regarding your latter post, [I find that local path UIRs sometime get "lost" in Release64 builds. They link fine in Debug64 mode though.], could you please attach a sample project?
CVI-User, your case might fall under the same use-case (id, 433769). However, could you please attach a sample project, so we can double-check?
Thank you and best regards,
= Nelu F. || National Instruments.
01-07-2014 03:47 PM
I attempted to and was unable to recreate the issue in a simple project. Also this seems to rear its head occasionally (unsure of exact event sequence that triggers the behavior) even in the larger project.
I wish I could be more help.
02-19-2014 01:38 AM - edited 02-19-2014 01:39 AM
Sorry for the delay, but I just could reproduce it with the userint\panels sample.
- Change the target settings to embed the uir
- Do a debug build, it doesn't happen in release mode
- Run it
- Put a text message in a child panel
- Build/run again
The text message isn't shown until a full rebuild is done.
Remark: just tried 32 bit builds.
02-19-2014 01:42 AM
Hello CVI-User,
Your use-case seems to be covered by bug id #433769.
Thank you for your feedback,
= Nelu F. || National Instruments.