1
00:00:05,000 --> 00:00:05,000
Hello, friends.

2
00:00:05,000 --> 00:00:15,000
Today I will tell you how to protect your VI or how to make your VI password protected.

3
00:00:17,000 --> 00:00:26,000
In that case, only front panel is visible to your customer or your candidate.

4
00:00:27,000 --> 00:00:31,000
He will not able to open the block diagram window.

5
00:00:31,000 --> 00:00:34,000
As you see over here, I have a VI.

6
00:00:34,000 --> 00:00:35,000
I just run it.

7
00:00:35,000 --> 00:00:39,000
This is a simple VI to.

8
00:00:40,000 --> 00:00:44,000
Fill the tank and empty the given tank.

9
00:00:45,000 --> 00:00:48,000
Okay, so right now, just stop it.

10
00:00:50,000 --> 00:00:51,000
So.

11
00:00:53,000 --> 00:00:58,000
As you see, when I just stop, click on Stop button.

12
00:01:00,000 --> 00:01:01,000
Or here

13
00:01:06,000 --> 00:01:07,000
after the.

14
00:01:09,000 --> 00:01:12,000
Given time, it will stop, as you see right now.

15
00:01:13,000 --> 00:01:19,000
So to protect your VI, you just go to the files.

16
00:01:20,000 --> 00:01:23,000
Over here, we have VI properties.

17
00:01:24,000 --> 00:01:26,000
In the properties.

18
00:01:26,000 --> 00:01:32,000
As you see, we have category general category is there you just go to.

19
00:01:33,000 --> 00:01:35,000
The protection over here.

20
00:01:36,000 --> 00:01:37,000
Just select the production.

21
00:01:37,000 --> 00:01:40,000
As you see over here, we have three options.

22
00:01:40,000 --> 00:01:44,000
First one unlocked means no password.

23
00:01:44,000 --> 00:01:50,000
Is there any user can view and edit the front panel and block diagram of your.

24
00:01:52,000 --> 00:01:54,000
There is the second case logged.

25
00:01:55,000 --> 00:01:57,000
But no password, is there.

26
00:01:57,000 --> 00:02:05,000
A user must unlock this VI from this dialog to edit the front panel and block diagram.

27
00:02:06,000 --> 00:02:09,000
Okay, so let's do it.

28
00:02:09,000 --> 00:02:11,000
First, now the logged VI.

29
00:02:12,000 --> 00:02:13,000
So just make it logged.

30
00:02:14,000 --> 00:02:16,000
And I just save this guy.

31
00:02:18,000 --> 00:02:20,000
To my desktop also.

32
00:02:23,000 --> 00:02:24,000
Create a.

33
00:02:25,000 --> 00:02:28,000
And I want to just.

34
00:02:30,000 --> 00:02:30,000
Save this.

35
00:02:35,000 --> 00:02:36,000
Surveys.

36
00:02:39,000 --> 00:02:41,000
And also rename it.

37
00:02:45,000 --> 00:02:46,000
On the desktop.

38
00:02:53,000 --> 00:02:55,000
So this is my given VI.

39
00:03:02,000 --> 00:03:04,000
So I just make it over here.

40
00:03:04,000 --> 00:03:06,000
So I just save it now.

41
00:03:06,000 --> 00:03:13,000
I just close this, so I just go to my desktop when I just run it.

42
00:03:13,000 --> 00:03:19,000
As you see over here, only front panel is there when I just press control E.

43
00:03:20,000 --> 00:03:22,000
Then it is open.

44
00:03:24,000 --> 00:03:27,000
I just again go to the properties.

45
00:03:28,000 --> 00:03:29,000
As you see.

46
00:03:31,000 --> 00:03:35,000
When I just go to the password protected over here.

47
00:03:35,000 --> 00:03:38,000
Let's say I just put any password.

48
00:03:40,000 --> 00:03:44,000
It is four digit password right now.

49
00:03:44,000 --> 00:03:44,000
I just.

50
00:03:45,000 --> 00:03:46,000
Save it.

51
00:03:48,000 --> 00:03:49,000
Then I just close it.

52
00:03:50,000 --> 00:03:51,000
Save it.

53
00:03:51,000 --> 00:03:53,000
And when I need to.

54
00:03:53,000 --> 00:03:57,000
Close your eyes and the view.

55
00:03:59,000 --> 00:04:09,000
Okay, So as you see right now, I just close my lab view, and when I just again click on Tank, it

56
00:04:09,000 --> 00:04:24,000
will open only front panel or here, as you see when I just go for control E it is demanding password

57
00:04:25,000 --> 00:04:31,000
or you can just go show block diagram over here it is demanding the password.

58
00:04:31,000 --> 00:04:42,000
I just put my password verify it as you see root right now I just got the my block diagram.

59
00:04:42,000 --> 00:04:43,000
Okay.

60
00:04:43,000 --> 00:04:49,000
Now you can change the VI or you can change the block diagram window.

61
00:04:49,000 --> 00:04:54,000
So now I just change the file.

62
00:04:56,000 --> 00:04:58,000
Properties from here.

63
00:04:59,000 --> 00:05:03,000
I just go to the again protection right now.

64
00:05:03,000 --> 00:05:05,000
I just lock it.

65
00:05:05,000 --> 00:05:10,000
So to lock it, I just verify this.

66
00:05:10,000 --> 00:05:12,000
Password is verified.

67
00:05:13,000 --> 00:05:14,000
Remove protection.

68
00:05:14,000 --> 00:05:15,000
Yes.

69
00:05:15,000 --> 00:05:17,000
I just make it lock only.

70
00:05:17,000 --> 00:05:24,000
Now you have to just again close the save it again in this case.

71
00:05:24,000 --> 00:05:27,000
Also, you just need to close all the.

72
00:05:27,000 --> 00:05:31,000
LabVIEW VI running LabVIEW programs.

73
00:05:31,000 --> 00:05:34,000
So right now I just close this.

74
00:05:35,000 --> 00:05:37,000
As you see, it is closed.

75
00:05:37,000 --> 00:05:41,000
Now I again click on tank button.

76
00:05:46,000 --> 00:05:48,000
Thank VI over here.

77
00:05:52,000 --> 00:05:56,000
In this case it is not password protected, but it is locked.

78
00:05:57,000 --> 00:06:01,000
So I just go to VI, as you see over here.

79
00:06:02,000 --> 00:06:04,000
I just got my VI.

80
00:06:05,000 --> 00:06:05,000
Okay.

81
00:06:05,000 --> 00:06:09,000
So this is how you can protect your VI.

82
00:06:11,000 --> 00:06:12,000
This is all about today's lecture.

83
00:06:12,000 --> 00:06:13,000
Thank you.

