Jump to content

"Locked (no password)" for reuse code distribution?


Recommended Posts

Posted

I've been packaging up all my reuse libraries with VIPM (Free). I want to avoid accidentally modifying those libraries while using them in another project. In a Post-Install VI, I iterate through the list of "Files Installed" and lock then save all .vi, .lvclass and .lvlib files. An up-side is that when I open a reuse VI or class, I know right away by its appearance. What are the down-sides?

Posted

People can see the code.  Though, that's not really much of a downside.  The other small issue is that people can go in and change the setting and then edit the VIs.  Again, I don't see that as a major down side assuming you trust those who are using the libraries.

Posted

I do want the code to be visible. I am not currently worried about the setting being changed. Primary concern is that someone (including myself) opens a VI and knows right away that it's in a library/package. Thanks for your input!

Posted

Excellent, thank you. For the record, there has been no trouble locking every .vi, .ctl, .lvclass and .lvlib file - in any order.

  • 4 weeks later...
Posted

it would be nice if the "locked" setting was available as a standard VIPM package setting so you don't have to keep track of it in postbuild scripts. have you suggested this to them on their idea exchange?

Posted

I've got pro. I don't think it's the same as you're doing. It requires the NI licensing and activation toolkit. Not going to be buying that for something that is easily accessible via property nodes.

 

post-9124-0-34174900-1367273942_thumb.pn

Posted

Looking again, under Source File Settings, there's an option to add a password. That's not available in Free. Does Pro allow you to select Password Type "Custom", then leave a blank password?

Posted

putting in a blank password make the "password type" switch back to "none"

 

it may work if they add "locked (no password)" to the "Password type" dropdown

  • 1 month later...
Posted

A follow up to this. I've added this feature in VIPM Pro. It's not available in the public release but you can get it in our VIPM Labs section here: http://support.jki.net/entries/24071293-VIPM-Labs . Even though it's not a public release, we are fully supporting it just like any other release.

 

 

It requires the NI licensing and activation toolkit. Not going to be buying that...

 

 

Just wanted to make a correction. The licensing and activation toolkit from NI is free.

  • Like 1
Posted

this is great! i'll be testing this immediately! I'm guessing that this will eventually be released publicly once your release cycle comes around?

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.