LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1044 : VI Locked

Hello All,
 
I am attaching a zip file containing my VIs , Project and Application (exe)
Main.vi contains a Numeric Control , which can be edited by the user and whatever value user enters should become default values for which I am calling a SubVI through which I am making the current values default......when I run Main.VI alone and changes the Numeric value and press on STOP it works fine...i.e. I am able to make current values default,....but When I make Application(exe) and when I press STOP I get an error messege that  Error : 1044 VI is Locked.....due to this current values are not becoming default.....could any body please tell me how can I overcome this problem.
 
 
Regards
0 Kudos
Message 1 of 4
(3,389 Views)
Hi Alankar,

see here

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 4
(3,385 Views)

Hi Ton,

Thanks for the reply...but there will be more than 150 numeric control in my application so I think writing and reading them into file will be a difficult task....The method which I was using works fine when I normally run VIs...but not working in cases of exe's.....Seeking some more replies.

 

Regards

0 Kudos
Message 3 of 4
(3,379 Views)
There is no way to change the default value of a control in an exe (it means you have to edit the executable code) Try to download the openG VI's (www.jkisoft.com/vipm) these have an excelent implementation to resolve this (save panel to .ini). Another quick own option would be to store all iteams in a cluster and save these to disk.

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 4 of 4
(3,373 Views)