12-16-2009 09:54 AM
Solved! Go to Solution.
12-16-2009 11:12 AM
Could you tell me the full CVI version number from the splash screen that comes up at startup, or from Help>>About LabWindows/CVI?
Also, would you mind posting your .cds file? I do not need the entire project -- just that file.
Thanks.
Mert A.
National Instruments
12-16-2009 11:19 AM
I'm running Version 9.1.0 (427)
Attached is my .cds file. I had to zip it because the forum says .cds is not a valid extension for an attachment.
Thanks for the help!
12-16-2009 12:42 PM
During the Beta, we had found an issue just like yours that had to do with the build progress times saved in the .cds, which is why I had asked about the version. I don't see anything immediately wrong with the .cds you posted, so I'd like to see if some internal logging might shed some light on this. Please follow these steps:
1. Close CVI.
2. From the CVI2009/bin directory, run ConfigCVILogging.exe.
3. In the panel, make sure the top radio button is set to Environment, and the Version ring has "9.1" selected.
4. Ensure the boxes for Fatal, Error, and Warning are checked, then set the output radio selection to File. The default filepath is fine.
5. Hit the Apply button.
6. Run CVI, try to build your distribution, and close CVI.
7. Post the output file (default is C:\CVIDebugLog.txt) back here.
Mert A.
National Instruments
12-16-2009 01:59 PM
12-16-2009 02:46 PM
Well, I'm a bit confused by what I'm seeing. The log does confirm my earlier suspicion that one of the cached build progress timing values is causing an error. However, the values in the 'TriboScan OFFLINE.cds' file you posted appear fine and don't cause an error when I copy them into another simple distribution's .cds (since I did not have the files to test building your actual distribution). Are you certain that you're building the 'TriboScan OFFLINE.cds' distribution? In any case, I would recommend a little hand editting of the offending .cds. Back it up first (just in case), open it in a text editor, and remove everything between <buildData ...> and </buildData> (this should be right at the bottom). This ought to solve your problem.
Let me know what you find.
Mert A.
National Instruments
12-16-2009 03:50 PM
03-23-2010 03:15 PM - edited 03-23-2010 03:24 PM
I am seeing this same annoying problem with the non-informative error message while trying to build a distribution that I've built many times in the past without problem.
I deleted everything in <build data ...> at the end of the CDS file but it did not help initially. I next deleted the dist folder and the build folder and restarted CVI and it finally created the dist kit without any apparent error.
I am using the same version / build of CVI 2009 as the original poster.
I do believe I relocated the folder containing the sources, proect, workspace, cds, etc. files to another location on the same drive. Usually CVI accommodates this all OK, I was able to build and execute normally after the file move, only saw the problem with the dist kit build.
Additionally, I got a popup message "cannot find cws file" when starting up CVI when it goes to load the last loaded CWS. But, CVI did load the CWS and everything in it all OK, the CWS file did in fact exist where the error message said it was looking !?!? Then, after doing this several times, CVI spontaneously stopped presenting the error message at startup.
So I think something's "sticky" somewhere in the CWS file maybe that's not getting cleaned up when the CWS and the files it references are moved. Or maybe this isn't allowed behavior? CVI used to have problems when relocating project files but the last few versions had seemed pretty accommodating.
Menchar
03-23-2010 03:22 PM
I should have mentioned that you need to restart CVI (or otherwise unload/reload the .cds) before your hand edits take effect.
Mert A.
National Instruments
03-23-2010 03:25 PM
Mert -
I had restarted it after deleting the section in the cds file, it appears to me that deleting the dist and build folders is what fixed it.
Menchar