LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Error writing project file

I cannot even save the project file using a "Save As". This is very frustrating.

John O'C
Staff Test Systems Engineer
Woodward, Inc.
Skokie, Illinois, USA

"Life is not a journey to the grave with the intention of arriving safely
in a pretty and well preserved body, but rather to skid in broadside,
thoroughly used up, totally worn out, and loudly proclaiming...
Wow...What a Ride!"
0 Kudos
Message 11 of 23
(1,858 Views)

Update: 

 

I was able to save the file outside the Clearcase VOB. The file saved out side the VOB was about 25% smaller in size than the file in the VOB that would not allow me to save.

 

I copied the outside file back into the VOB and the error went away.

 

When I tried to do a diff on the .prj file it said the were identical even though the original file was 85K in size and the file I copied back in was 65K in size. I made a slight mod to the project so i could check it in and I was able to check it back in and now everything seems fine.

 

If anyone has a clue on what could've caused this please let me know. 

John O'C
Staff Test Systems Engineer
Woodward, Inc.
Skokie, Illinois, USA

"Life is not a journey to the grave with the intention of arriving safely
in a pretty and well preserved body, but rather to skid in broadside,
thoroughly used up, totally worn out, and loudly proclaiming...
Wow...What a Ride!"
0 Kudos
Message 12 of 23
(1,857 Views)

To be honest, ClearCase is kind of a corner case as far as CVI is concerned. I'm not sure why this occurred for you. If you have problems in the future, I'd be happy to look into it for you.

 

Regards,

 

Brandon V.

Applications Engineer

National Instruments 

Message 13 of 23
(1,839 Views)

Thank you Brandon! 

 

What do you mean corner case?

John O'C
Staff Test Systems Engineer
Woodward, Inc.
Skokie, Illinois, USA

"Life is not a journey to the grave with the intention of arriving safely
in a pretty and well preserved body, but rather to skid in broadside,
thoroughly used up, totally worn out, and loudly proclaiming...
Wow...What a Ride!"
0 Kudos
Message 14 of 23
(1,828 Views)

Perhaps corner case wasn't the right verbage. I meant more that it wasn't something we have a lot of documentation on.

0 Kudos
Message 15 of 23
(1,820 Views)

Hello,

 

I have the same problem writing to local drive C: in Win7.

 

My impression is it is correlated to the CVI IDE internal data structure or *.prj file format which has a bug.

I added a file to my project and wanted to save the project which produced the error.

I have this problem often. Sometimes it helps to restart CVI open the project and step by step change the project configuration and save the project after each change step.

Unfortunately I can not check the *.prj file syntax.

Sometimes I have the problem when I increase the project version number. That I can fix by editing the version number in the *.prj file with a text editor.

 

If someone has a fix or workaround for this problem please let me know.

 

Regards

0 Kudos
Message 16 of 23
(1,478 Views)

AutomationGuy,

 

I would encourage you to post in a new thread as this one seems to be over a year old. The newer thread will receive a stronger community response and help you get your questions answered faster.

Matt P.
Applications Engineer
National Instruments
0 Kudos
Message 17 of 23
(1,455 Views)

Hello Automation,

 

Are you having trouble writing to C:\somefolder?

 

You may want to check the permission levels of "somefolder". Windows 7 is very particular about the way it handles writting to top level folders, meaning folders directly under C:\.

John O'C
Staff Test Systems Engineer
Woodward, Inc.
Skokie, Illinois, USA

"Life is not a journey to the grave with the intention of arriving safely
in a pretty and well preserved body, but rather to skid in broadside,
thoroughly used up, totally worn out, and loudly proclaiming...
Wow...What a Ride!"
0 Kudos
Message 18 of 23
(1,432 Views)

Hi Matt P. 

 

I still have this problem and I am the one who started the thread. It really doesn't matter when it was started. NI has no answer to this issue. I am experiencing the problem again right now and none of the things I have done previously fix the problem. 

John O'C
Staff Test Systems Engineer
Woodward, Inc.
Skokie, Illinois, USA

"Life is not a journey to the grave with the intention of arriving safely
in a pretty and well preserved body, but rather to skid in broadside,
thoroughly used up, totally worn out, and loudly proclaiming...
Wow...What a Ride!"
0 Kudos
Message 19 of 23
(1,306 Views)

Hello,

 

I could fix my problem by editing the *.prj file. Paths are stored in the project file by an absolute part and a relative part. Somehow they got scrambled and did not match together anymore. I edited the path so they matched (look at the *.prj file and you will see) and now I can save my project again.

How and why the path got scambled I can not explain.

 

Regards

0 Kudos
Message 20 of 23
(1,289 Views)