Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.
If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.
02-12-2010 03:43 PM
02-12-2010 04:46 PM
Do you have the same target settings as well?
If the "lite" project embeds the UIR in the executable and the "heavy" one doesn't that could explain it.
Menchar
02-13-2010 03:33 AM - edited 02-13-2010 03:34 AM
Are you sure both are release versions?
As you might already know, debug versions of CVI executables are significantly larger than release versions.
If you made extensive use of macros (instead of function calls) in that lite version, that may also increase the size.
Since macros replaced by their code equivalent before compilation they increase the actual code size.
02-15-2010 04:03 AM
I saw an enormous increase in exe size (~200K) as a result of my including a single call to a simple CVI toolbox function. (FileExists(), IIRC) It appeared that CVI then incorporated all the toolbox functions (there are a lot...) into my exe.
Then again, hard drives are pretty big these days, so why worry about it?
JR
02-15-2010 11:13 AM
Found the issue
I was using the toolbox function Pi(). Replaced it with a #define for pi and it reduced the exe by 300k.