FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

path conflicts

i hav an application in which i reffer path of another vi

 

when i try to run this on fp-2010 what sort of path conflicts occure and how to resolve it

e.g i give c:\abc.vi when i run tha app what modification will be made to void errorrs

 

mazhar 

0 Kudos
Message 1 of 2
(5,704 Views)

Mazhar,

 

To resolve this issue, I recommend using the constant "Current VI's Path" (Functions Palette >> File I/O >> File Constants) to get the current path of your VI. Then use the strip path VI to dynamically strip the current VI's name from the path and append the name of the VI that you would like to call. This makes the call in a sense a relative path.

 

Let  me know if this points you in the right direction.

 

Cheers,

 

Jonah

Applications Engineer

National Instruments

Jonah Paul
Marketing Manager, NI Software
0 Kudos
Message 2 of 2
(5,680 Views)