LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Error writing workspace file

Hi all!

 

When I compile my CVI Project I get sometimes the following message: "Error writing workspace file d:\.... (File already exists)", and afterwards the question to continue or not (see the pictures).

When I continue, the existing .cws file will be deleted. A new cws file is created only on the next compilation. So, when I close CVI before the next compilation, the cws file is lost. Not dangerous but annoying.

I observe this behavior only since version 2013.

What's wrong?

 

Regards,

Thomas

0 Kudos
Message 1 of 5
(3,876 Views)

Hi, Thomas!

 

It seems like my similar problem (http://forums.ni.com/ni/board/message?board.id=180&message.id=60376#M60376).

 

Unfortunately I never beat this (the "solution" doesn't work, the problrem persists). I try to set / change W7 directory access rights without success.

 

By some indicies I suspect that the cause may be somewhere in file access process on a multi-core computer (I have Dell VOSTRO with Core i7) - but I do not have idea how to verify this.

 

Regards,

George

0 Kudos
Message 2 of 5
(3,867 Views)

Hi George,

 

yes, looks very similar.

And I can confirm, that disabling the auto backup feature does not solve the problem.

What I still can't understand is why CVI rewrite the cws (what is the workspace file) file every time the project is compiled. I think there is no need for.

 

Regards,

Thomas

0 Kudos
Message 3 of 5
(3,860 Views)

Very strange! The error is sometimes displayed when the cws file does not exist.

 

Regards,

Thomas

0 Kudos
Message 4 of 5
(3,832 Views)

Hi!

 

I unchecked the "Auto Save Workspace" feature in the File menu. This seems to fix problem.

 

Regards,

Thomas

0 Kudos
Message 5 of 5
(3,809 Views)