LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Error writing project file

Hello AutomationGuy !

I'm having exactly the same issue :
Error writing project file.

"c:\SVN\TBench\Test_DLL\TestDLL.prj"

(Badly formed pathname)

 

But I don't understand how you fixed it ? How can you edit the path in the *.prj file ?

Thanks for your help !
Tom

0 Kudos
Message 21 of 23
(970 Views)

Tom,

 

This is Ali from National Instrument's applications engineering. I'm not quite sure what .prj file Automation Guy is editing but perhaps you could create a relative path?

 

Hopefully, he'll answer with more specifics in a bit.

 

http://digital.ni.com/public.nsf/allkb/EC8988337B183AEB86256C940064A322

Regards,

Ali S.
Applications Engineering
National Instruments
0 Kudos
Message 22 of 23
(952 Views)

If you open your "*.prj" file in a text editor. you will find many entries like:

 

[File 0004]
File Type = "Library"
Res Id = 4
Path Is Rel = True
Path Rel To = "Project"
Path Rel Path = "../../CTF2/CTFFileBasic/CTFFileBasic.lib"
Path = "/c/data/workdir/Projects/CTF2/CTFFileBasic/CTFFileBasic.lib"
Exclude = False
Project Flags = 0
Folder = "Library Files"
Folder Id = 2

 

The relative and absolute path should form a valid path to your file.

That does not help always but I found cases where I could fix my problem by adjusting the path entries.

Sometimes it helps to open your single project not using a workspace.

Message 23 of 23
(942 Views)