Jump to content

finding protection mode of several Sub VIs


Recommended Posts

I have a project where main VI is not protected.

The main VI consists of several sub vi. Many vi are placed one in to other.

I have to make sure all vis are unprotected.

how can i know all vis are un protected?

any shortcut method available instead of opening all vis block diagram one by one  ??



Link to comment

You can use the Application class property All VIs in Memory to get the names of all the VIs and then use that to open a reference to each VI and call the method Lock State.Get on it. This will tell you if it's locked. You can also use the Set method to unlock, but then you will also have to handle errors and so on and save the VI.

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.