LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Relative Paths

JB,

Since you're planning on sort of automating the editing of the project file, you might want to look at this example:

C:\Documents and Settings\All Users\Documents\National Instruments\CVI85\samples\dotnet\FileSystemWatcher

You can probably use some of that

0 Kudos
Message 11 of 18
(1,813 Views)

JB,

Since you're planning on sort of automating the editing of the project file, you might want to look at this example:

C:\Documents and Settings\All Users\Documents\National Instruments\CVI85\samples\dotnet\FileSystemWatcher

You can probably use some of that code

0 Kudos
Message 12 of 18
(1,813 Views)

JB,

Since you're planning on sort of automating the editing of the project file, you might want to look at this example:

C:\Documents and Settings\All Users\Documents\National Instruments\CVI85\samples\dotnet\FileSystemWatcher

You can probably use some of that code o

0 Kudos
Message 13 of 18
(1,813 Views)

JB,

Since you're planning on sort of automating the editing of the project file, you might want to look at this example:

C:\Documents and Settings\All Users\Documents\National Instruments\CVI85\samples\dotnet\FileSystemWatcher

You can probably use some of that code to

0 Kudos
Message 14 of 18
(1,813 Views)

JB,

Since you're planning on sort of automating the editing of the project file, you might want to look at this example:

C:\Documents and Settings\All Users\Documents\National Instruments\CVI85\samples\dotnet\FileSystemWatcher

You can probably use some of that code to monitor

0 Kudos
Message 15 of 18
(1,813 Views)

JB,

Since you're planning on sort of automating the editing of the project file, you might want to look at this example:

C:\Documents and Settings\All Users\Documents\National Instruments\CVI85\samples\dotnet\FileSystemWatcher

You can probably use some of that code to monitor when

0 Kudos
Message 16 of 18
(1,813 Views)
(Sheesh... I hate it when this happens)
 
JB,
 
Since you're planning on sort of automating the editing of the project file, you might want to look at this example:
 
  C:\Documents and Settings\All Users\Documents\National Instruments\CVI85\samples\dotnet\FileSystemWatcher
 
You can probably modify that example to monitor the file, such that when it changes, you can run your script to update the file.
 
About the path issue in general, you make a compelling case. For the next version of CVI, we'll definitely consider extending the relative-to-project criteria for all paths.
 
Luis
0 Kudos
Message 17 of 18
(1,806 Views)
If you control all the source files in your project, then instead of using "Include Paths" in CVI, you could also try using relative paths in the include directives, like:
#include "../../foo/foo.h"
This may be more maintainable and would work in all C compilers.
0 Kudos
Message 18 of 18
(1,773 Views)