LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Packaging Xcontrols for reuse

I have fianlly started to meke some nice Xcontrols which I want to reuse and package for use on external applications.  I want to protect my IP as well.  Is there any method of packaging an Xcontrol to appear as just another control in the controls palette?  Essentially I want to make more controls with custom behaviors/properties for distribution.
 
Paul
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 1 of 4
(2,612 Views)
Yes you can.

Distribute it as an LLB with the XControl as top-level. If you drop the llb inside your user.lib it will show up there.
Lock your facade VI (with password?), this will remove the 'Open block diagram' option
Remove the block diagrams of all VI.

Make good documentation (maybe a right-click-> help)


Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 4
(2,610 Views)

Thanks I will give this a try.  Is there any other options than llb, I stoped using llbs in the past since I had a couple get corrupted on me.  I have used simple folders since.  Are the project libraries a feasable solution, I have not had a chance to use them yet.

 

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 3 of 4
(2,597 Views)
You could store all your source files in a _source folder (any name starting with an '_' will do) except for your xctl file.

However using LLB's for distributing code is super, since you don't edit/save the llb's I have hardly seen problems with this structure.

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 4 of 4
(2,588 Views)