From: damofitz on

Hi,

I have a program written and working in the labview development
envoironment whichs loads files into memory using the application path
function and a strip path function.

when making an executable it does not work because i need to strip the
path twice.

if i strip the path twice it will not work in the labview envoironment.

other than hard coding each file path into labview is there a quick way
around this??

have i done something wrong.If i have strip the path twice then i think
labview is a disgrace,why does app path actually return
apppath\programname.vi and not apppath like every other programming
language in the world???

this is really bugging me.

BTW i am using labview 7.1

Any thoughts or solutions would be good


Damo642

From: tjw on
Take a look at my website to see how I fix it. There, you can download
a simple vi that will take care of the problem. www.twhitaker.net
Let your cursor hover over the "Labview" menu and select "Fix
Executable Path".
tjw


On 29 Oct 2005 09:46:49 -0700, damofitz(a)gmail.com wrote:

>
>Hi,
>
>I have a program written and working in the labview development
>envoironment whichs loads files into memory using the application path
>function and a strip path function.
>
>when making an executable it does not work because i need to strip the
>path twice.
>
>if i strip the path twice it will not work in the labview envoironment.
>
>other than hard coding each file path into labview is there a quick way
>around this??
>
>have i done something wrong.If i have strip the path twice then i think
>labview is a disgrace,why does app path actually return
>apppath\programname.vi and not apppath like every other programming
>language in the world???
>
>this is really bugging me.
>
>BTW i am using labview 7.1
>
>Any thoughts or solutions would be good
>
>
>Damo642