LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Password protection for all vis in llb

Hi all, i have 2 questions:

1) Can i protect by password all vi's in llb without protection each vi separately?

2) Can i protect and unprotect vi's programatically?

Thanks in advance
0 Kudos
Message 1 of 4
(3,308 Views)
Hi

1) Check this link for further information: http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=506500000008000000252A0000&ECategory=LabVIEW.LabVIEW+General

2) Yes, with VI Server. First take the "Open VI reference" and than take an invoke node. There you can select the method "set lock state". With this method you can change the loch state of a VI.

Luca P.
Applications Engineer
National Instruments
Regards,
Luca
Message 2 of 4
(3,308 Views)
Thanks Luca,

about your first answer:

i don't want protect llb from viewing it, as asked in your link.
I just want protect all vi's there, but not each separately.
0 Kudos
Message 3 of 4
(3,308 Views)
Hi Nadav

Try e.g. this:
1. Open your Main VI
2. Go to "Save with options"
3. Select Application distribution
4. Select apply new password
5. You are than asked if you want create a Vi library and which password you want. Than (if you selected first the entire hirarchy option) you'll be asked if the VI's included shoud have the same password.

At the end all VI's in this lib are password protected.

Luca P.
Regards,
Luca
0 Kudos
Message 4 of 4
(3,308 Views)