LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

method " make current values default "

hello
I use method of "make defult" and it works well but I must build application this vi
when I do this (tools ->build application ...-> installer setting) and  run
show  this error :
Error 7 occurred at Open VI Reference in mainpage.vi
Possible reason(s):
LabVIEW:  File not found. The file might have been moved or deleted, or the file
 path might be incorrectly formatted for the operating system. For example, use
 \ as path separators on Windows, : on Mac OS, and / on UNIX.
I add configure.vi  as dynamic file and when I press configuration buttom and
 then press ok buttom show this error:
Error 1044 occurred at Invoke Node in make defult.vi->mainpage.vi
Possible reason(s):
LabVIEW:  VI is locked.
please guide me how I can use this method and also make installer file
Thanks alot
Faeze Zar
0 Kudos
Message 1 of 7
(3,501 Views)
another question how could I attach my file?
0 Kudos
Message 2 of 7
(3,497 Views)
Hello,

If you search on this forum "make current value default" you will find at least 10 threads dealing with exactly the same issue. This method does not work in an exe, there is a paper about his in the NI knowledge base.

The solution is to use a configuration file (ini).

Hope this helps


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 3 of 7
(3,494 Views)
I don't think you will need to upload your VI for this issue, but have a look at the bottom, the "attachment" section lets you select the files you want to upload.

😉






Message Edited by TiTou on 12-18-2007 08:51 AM

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 4 of 7
(3,489 Views)

I offered a number of solutions to this challenge in this Nugget. Take a look at that article and the included links. You should be able to find an approach that can help.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 5 of 7
(3,448 Views)

Thanks alot for your answers, I changed my program and use ini file but

 I dont know how write the path of ini file in the main program that when it became exe and run

find ini file

 please help

0 Kudos
Message 6 of 7
(3,419 Views)


faeze wrote:
 I dont know how write the path of ini file in the main program that when it became exe and run find ini file

http://digital.ni.com/public.nsf/allkb/FD7DE8BC8FFC256C862565F4006BE363
Message 7 of 7
(3,414 Views)