LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to distribute a class?

Hi,

 

For example, I created a LabView class to control an instrument. Now my customer want to use it but I do not want the customer to access the source code of the class. I checked the LabView help and only found how to export zip file. Is it possible ? If it is, what should I do?

 

Thanks.

 

0 Kudos
Message 1 of 3
(2,962 Views)

Solved!

 

Generate LLB and remove the block diagram of vis.

Message 2 of 3
(2,951 Views)

You might refer to this forum post for some of the limitations of removing diagrams.

 

Another option that avoids these downsides is to simply password protect your VIs. This prevents users from accessing the diagram without the password. You can even just add the password during the build process for your LLB, so that you don't have to keep track of it during development.

 

Also note that there are some issues with using LabVIEW classes that are password-protected or have their block diagrams removed that make it difficult for users to override the class methods. You can see more about it in the LabVIEW 2009 Known Issues List document.

 

Password-Protected Issue

 

Block Diagram Removed Issue

Jarrod S.
National Instruments
Message 3 of 3
(2,949 Views)