LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

distribution won't create .cds file or load previous .cds file

I have successfully created a distribution for my CVI8.0.1 application, and deployed it with no problems.  However, although the settings work, a .cds file never gets created - I checked in the directory.  When I close CVI and start it up again, it complains that the .cds file is missing.  My distribution settings are gone, and I have start all over again, from 'Manage Distributions > New' etc.  I also can not add a .cds file to the Manage Distributions->Add that I can see in the directory and that has beeen previously created.

This is  new thing, I was previosly able to create .cds files and load previously created .cds files. Nothing, as far as I know has changed on my PC.  I am running Windows XP.  I reinstalled CVI but it did not help.

 

All of the code is in clearcase, several people (at different times) edit the files in the project and create distributions.  Other people also running CVI8.0.1 can create .cds files. 

 

What can I do?

 

Lorrie

0 Kudos
Message 1 of 9
(4,944 Views)

When you attempt to add an existing .cds file, what error message do you get? Also, what is the full path of the directory that you are having trouble with? (When you start CVI, it should report the path of the .cds.) Is there anything unusual about that path? When you exit CVI, is it exiting normally? You mention that other people can create .cds files. You might try having one of them log into your machine and try to save a distribution for you project. If they can, it might indicate an issue with your account.

 

Mert A.

National Instruments

0 Kudos
Message 2 of 9
(4,941 Views)

Thanks for the prompt reply.

 

In answer to your questions.

 

1. when I try to add an existing .cds file I don't get any error.  It just does not show up in the Manage Distributions list.  The list is still blank, that is I hit okay button and it immediately goes back to empy Manage Distributions list.

 

2. I tried in a couple of directories, one in clearcase with a really long path name, the second time I tried on my own hard drive.  the path there was c:/sweetie.   When I create a .cds file it shows up in the Manage Distrubtions list with the correct path.  I can build a distribution, but then when I quit LavWindows (normally - no errors), there is no .cds file created in the directory, and when I go back into LabWindows there is no .cds file in the Manage Distribution list. 

 

3. Yes DVI is exiting normally.

 

4. I will try and get someone else to log on and see what happens,

 

thanks,

Lorrie

0 Kudos
Message 3 of 9
(4,938 Views)

I've made a modified version of cvi.dll to log some operations. Swap the attached version out with the one in your National Instruments\CVI80 directory (make sure to back up the original so you can restore it later). Then launch CVI, open the Manage Distributions dialog, and try to add an existing .cds file. Close CVI, then look for the log file c:\cvi_log.txt and post it back here.

 

Hopefully if we can figure out what's failing in the add, it will explain why the save is failing, too.

 

Mert A.

National Instruments

0 Kudos
Message 4 of 9
(4,931 Views)

Hi - sorry it took so long to get back to you.  But I did as you asked and attached is the log file.

 

Also - I had another account try and use save the .cds file and that didn't work either.

 

 

thanks,

Lorrie

0 Kudos
Message 5 of 9
(4,911 Views)

I also created a new distribution and hit the okay button after the creation.  I can see the distribution when I am in the same session of CVI, but a .cds file is not created when I 1) hit the manager distribution's okay button, or 2) quit CVI.  I have attached the log file for when I created a new distribution, and then quit CVI.

 

Lorrie

0 Kudos
Message 6 of 9
(4,909 Views)

My first instinct is that maybe there is a problem with MSXML on your system, but I'm going to attach another DLL for you to try so that I can get some more information. Just as before, attempt to add an existing distribution to CVI, then post back the log. Could you also confirm that you find msxml4.dll in your system32 (or SysWOW64, if on 64-bit Windows) directory?

 

Mert A.

National Instruments

0 Kudos
Message 7 of 9
(4,900 Views)

Hi-

Thanks for the help, but as it turns out my computer died.  I got a brand new one from the IT folks, installed CVI and now it all works the way it is supposed to.

 

Since my old computer is DOA, I don't think we will ever know why CVI acted the way it did.

 

thanks again,

Lorrie

0 Kudos
Message 8 of 9
(4,881 Views)

Well, I suppose that's one way to solve that problem. 😉

 

Mert A.

National Instruments

0 Kudos
Message 9 of 9
(4,880 Views)