LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

relative paths in projects?

Hi to all,
I often move CVI projects between several development systems (laptop,
desktop, file server...). Because of the different directory structures and
path names, there are often project load errors. Is there an easy way to
avoid the time consuming search/replace in the *.prj files? Is ist possible
to have relative paths (relative to the location of the *.prj file)? I
already tried environment variables, but it dosn't work Any other ideas how
to solve this?

Thanks
Torsten
0 Kudos
Message 1 of 3
(3,215 Views)
Torsten,

I've found a document that I think you will be useful in this case. Let me know if you have any further questions.

http://digital.ni.com/public.nsf/websearch/EC8988337B183AEB86256C940064A322?OpenDocument

Juan Carlos
N.I.
0 Kudos
Message 2 of 3
(3,215 Views)
Juan,
thank for the link. In general this works, I can change the project files by
hand to make the paths to the source files relative. But anyhow, its no fun
for projects with hundrets of files in it...
CVI loads the modified project without errors. The bad news is, that after
saving the project (you have to change something, add a file, build the
executeable or something else...) , all relative paths are set back to
non-relative. I don't understand why this happens. I have several projects
combined in a workspace, may this cause this strange behaviour?

Any suggestions?


"JuanCarlos" schrieb im Newsbeitrag
news:506500000005000000CB0F0100-1042324653000@exchange.ni.com...
> Torsten,
>
> I've found a document that I think you will be useful in this c
ase.
> Let me know if you have any further questions.
>
>
http://digital.ni.com/public.nsf/websearch/EC8988337B183AEB86256C940064A322?OpenDocument
>
> Juan Carlos
> N.I.
0 Kudos
Message 3 of 3
(3,215 Views)