Hello, friends.
Today I will tell you how to protect your VI or how to make your VI password protected.
In that case, only front panel is visible to your customer or your candidate.
He will not able to open the block diagram window.
As you see over here, I have a VI.
I just run it.
This is a simple VI to.
Fill the tank and empty the given tank.
Okay, so right now, just stop it.
So.
As you see, when I just stop, click on Stop button.
Or here
after the.
Given time, it will stop, as you see right now.
So to protect your VI, you just go to the files.
Over here, we have VI properties.
In the properties.
As you see, we have category general category is there you just go to.
The protection over here.
Just select the production.
As you see over here, we have three options.
First one unlocked means no password.
Is there any user can view and edit the front panel and block diagram of your.
There is the second case logged.
But no password, is there.
A user must unlock this VI from this dialog to edit the front panel and block diagram.
Okay, so let's do it.
First, now the logged VI.
So just make it logged.
And I just save this guy.
To my desktop also.
Create a.
And I want to just.
Save this.
Surveys.
And also rename it.
On the desktop.
So this is my given VI.
So I just make it over here.
So I just save it now.
I just close this, so I just go to my desktop when I just run it.
As you see over here, only front panel is there when I just press control E.
Then it is open.
I just again go to the properties.
As you see.
When I just go to the password protected over here.
Let's say I just put any password.
It is four digit password right now.
I just.
Save it.
Then I just close it.
Save it.
And when I need to.
Close your eyes and the view.
Okay, So as you see right now, I just close my lab view, and when I just again click on Tank, it
will open only front panel or here, as you see when I just go for control E it is demanding password
or you can just go show block diagram over here it is demanding the password.
I just put my password verify it as you see root right now I just got the my block diagram.
Okay.
Now you can change the VI or you can change the block diagram window.
So now I just change the file.
Properties from here.
I just go to the again protection right now.
I just lock it.
So to lock it, I just verify this.
Password is verified.
Remove protection.
Yes.
I just make it lock only.
Now you have to just again close the save it again in this case.
Also, you just need to close all the.
LabVIEW VI running LabVIEW programs.
So right now I just close this.
As you see, it is closed.
Now I again click on tank button.
Thank VI over here.
In this case it is not password protected, but it is locked.
So I just go to VI, as you see over here.
I just got my VI.
Okay.
So this is how you can protect your VI.
This is all about today's lecture.
Thank you.