Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How to deploy user controls containing licensed components?

I have a custom control incorporating licensed components from NationalInstruments.UI.WindowsForms. 

I want to take the custom control to a computer that does not have Measurement Studio installed, add it to the toolbox, and drop the control onto a form.

 

I am using Measurement Studio 2013, Visual Studio 2010, and targeting the x86 CPU, and using the .NET 3.5 framework.


The ability seems to work only when Measurement Studio is also installed and licensed on the other machine.
The following descries what happens.


Reproduction

  1. On a computer with Measurement Studio 2013 Standard installed:
  2. Start Visual Studio 2010
  3. Create a new Class Library
  4. Create a new User Control
  5. Add a waveFormGraph and Legend in the designer
  6. Compile the project
  7. Deploy the library according to the help topic "Measurement Studio .NET XCOPY Deployment Files"

 

On another computer without Measurement Studio:

  1. Get the deployed library
  2. Start Visual Studio 2010
  3. Create a new Windows Forms Application
  4. Open the Form in design mode
  5. Add the deployed User Control to the toolbox items
  6. Drag a new User Control into the form

I see the following message popping up:

NILicenseError.PNG

 

The control is not actually added as a consequence.

 

Am I missing some licensing detail or making a mistake during deployment/redistribution?

 

I have seen a previous post on this here in this forum , however, it is over a year old now and there was no solution posted.

 

Some guidance or clarification would be greatly appreciated.  

 

Thank you

-Steve

 

 

0 Kudos
Message 1 of 2
(5,468 Views)

Hello GGS-AKR

 

I have been able to reproduce the issue in my end by only de-activating the license in the License Manager. What happens is that if you are going to use a Measurement Studio in a "design time" context, it will ask you for a license. According to NATIONAL INSTRUMENTS SOFTWARE LICENSE AGREEMENT, it states:

 

E. "Authorized Applications." Means ( i) those applications that you create with development versions of the

SOFTWARE that you have validly licensed (including such applications that you create with third party

software using real-time operating system components of the LabVIEW Real-Time Module and the

LabWindows/CVI Real-Time Module in accordance with the licenses for such modules), and (ii) those

applications that you create with third party software development environments and that utilize Driver

Interface Software, if such software development environment is supported by such Driver Interface

Software as indicated in the applicable Documentation for such Driver Interface Software. Notwithstanding

the foregoing, (a) any application created with the Measurement Studio SOFTWARE is not an Authorized

Application if it uses any Measurement Studio controls in a "design time" context, and (b) any application

created with any SOFTWARE acquired under an evaluation license is not an Authorized Application.

 

I hope this information helps you.

 

Regards,

 

Carmen Chan | Applications Engineering | National Instruments| 

0 Kudos
Message 2 of 2
(5,432 Views)