LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview hijacking file locations! Help!1

Hi,

I have been using Labview for about a year and still can't figure out how
to turn off this tendency for Labview to pick its own paths to VI
locations.

Like most programmers of the early days, I like to back up my working
subroutines (or VI's) to back up directories that are untouched by anyone
and anything.

For some reason, Labview tracks file saves done by windows explorer and
will change its path to a VI just because you copied the file to another
directory. (Even when Labview is not running!!!)

This is a big problem for me and makes it extremely difficult to maintain
software on machines that are in remote locations.

My question is "How do you prevent Labview from tracking your file saves
in Windows Explore
r??"

I would like to fix this problem on a low level in an .ini file or
something and not do this "run around" with renaming directories and
trying to fool Labview.

As an experienced old timer programmer...this is extremly annoying and
I've asked this question before and never got a descent response.

Sorry to sound angry, any help is appreciated.

I have the latest versions of Labview.

Thanks,

JT
0 Kudos
Message 1 of 5
(2,733 Views)
I don't know how to prevent this, maybe you should call NI. But I have some suggestions. When backing up files, copy them into a directory called backup or something unique. Leave the originals where they are. When opening Labview, if it finds the backup files instead of the originals, don't save the vi. You can check to see if the sub-vi's that were loaded are the ones you desire by looking at the VI Hierarchy with full path name display turned on. I've run into the same problem many times. If I see that a sub-vi is coming from the wrong directory, I will replace the vi manually with the right one, check the hierarchy again to make sure, then save the vi. Next time I open it, everything is coming from where it should. I know this doesn't answer your orig
inal question, and could be a pain to replace many sub-vi's, but it works.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 5
(2,733 Views)
Hi,

Try to delete in the Tool->Options->Paths->Vi Search Path.

For more tips on paths for LabVIEW, read the "Paths Options Page" in the
LabVIEW help.

Hope it is helpfull.

Olivier B.
"JT" a écrit dans le message de news:
Xns95A3E950BADCYouremail666666666@63.240.76.16...
> Hi,
>
> I have been using Labview for about a year and still can't figure out how
> to turn off this tendency for Labview to pick its own paths to VI
> locations.
>
> Like most programmers of the early days, I like to back up my working
> subroutines (or VI's) to back up directories that are untouched by anyone
> and anything.
>
> For some reason, Labview tracks file saves done by windows explorer and
> will change its path to a VI just because you copie
d the file to another
> directory. (Even when Labview is not running!!!)
>
> This is a big problem for me and makes it extremely difficult to maintain
> software on machines that are in remote locations.
>
> My question is "How do you prevent Labview from tracking your file saves
> in Windows Explorer??"
>
> I would like to fix this problem on a low level in an .ini file or
> something and not do this "run around" with renaming directories and
> trying to fool Labview.
>
> As an experienced old timer programmer...this is extremly annoying and
> I've asked this question before and never got a descent response.
>
> Sorry to sound angry, any help is appreciated.
>
> I have the latest versions of Labview.
>
> Thanks,
>
> JT
Message 3 of 5
(2,733 Views)
"Olivier B" wrote in
news:419b8de3$0$278$a3f2974a@nnrp1.numericable.fr:

> Hi,
>
> Try to delete in the Tool->Options->Paths->Vi Search Path.
>
> For more tips on paths for LabVIEW, read the "Paths Options Page" in
> the LabVIEW help.
>
> Hope it is helpfull.
>
> Olivier B.
> "JT" a écrit dans le message de news:
> Xns95A3E950BADCYouremail666666666@63.240.76.16...
>> Hi,
>>
>> I have been using Labview for about a year and still can't figure out
>> how to turn off this tendency for Labview to pick its own paths to VI
>> locations.
>>
>> Like most programmers of the early days, I like to back up my
>> working subroutines (or VI's) to back up directories that are
>> untouched by anyone and anyt
hing.
>>
>> For some reason, Labview tracks file saves done by windows explorer
>> and will change its path to a VI just because you copied the file to
>> another directory. (Even when Labview is not running!!!)
>>
>> This is a big problem for me and makes it extremely difficult to
>> maintain software on machines that are in remote locations.
>>
>> My question is "How do you prevent Labview from tracking your file
>> saves in Windows Explorer??"
>>
>> I would like to fix this problem on a low level in an .ini file or
>> something and not do this "run around" with renaming directories and
>> trying to fool Labview.
>>
>> As an experienced old timer programmer...this is extremly annoying
>> and I've asked this question before and never got a descent response.
>>
>> Sorry to sound angry, any help is appreciated.
>>
>> I have the latest versions of Labview.
>>
>> Thanks,
>>
>> JT
>
>
>

Olivier,

Thank you very, very, very much!!
This problem has plagued me for a year
and your suggest
ion fixed it.

Thanks again,

JT
0 Kudos
Message 4 of 5
(2,733 Views)
"Olivier B" wrote in
news:419b8de3$0$278$a3f2974a@nnrp1.numericable.fr:

> Hi,
>
> Try to delete in the Tool->Options->Paths->Vi Search Path.
>
> For more tips on paths for LabVIEW, read the "Paths Options Page" in
> the LabVIEW help.
>
> Hope it is helpfull.
>
> Olivier B.


Olivier,

Thanks very much, that fixed the problem.
You have been a great help. More than one
expert I asked was unable to give a good solution.

Thanks again,

JT
0 Kudos
Message 5 of 5
(2,733 Views)