Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurement studio expired first day I install

Hi,

 

I download Measurement Studio 2009 for Visual Studio Evaluation yesterday. I installed it with Labview 2009 and DAQmx 9.2.1. My OS is XP sp3. I have a DAQ card DAQ-6024E. And I tried to output a analog signal using the card. So, I found out there is an example from NI after installation named "GenVoltageUpdate" in the folder  \NI-DAQ\Examples\MStudioVC2008\Analog Out\Generate Voltage\. I used VS 2008 to try to run this program in debug mode. There was a box popped up "The Measurement studio evaluation has expired". I checked the Measurement Studio>> License, and it shown as the figure attached. None of them has expired yet.

 

I don't know why there is such message about expiration. I hope someone can help me.

 

Thank you very much.

0 Kudos
Message 1 of 24
(8,931 Views)

Hi there,

 

It is definitley odd that you are getting this message. In order to find the root of this problem it will be pretty useful if you can provide a screenshot of your NI License Manager. This software allows you to manage your National Instruments software and it will give us information about the status of your evaluation license. Go to Program Files>National Instrumetns>>NI license Manager.

Regards,
Efrain G.
National Instruments
Visit http://www.ni.com/gettingstarted/ for step-by-step help in setting up your system.
0 Kudos
Message 2 of 24
(8,913 Views)

Hi, I installed today (02-12-2011) the evaluation version of Measurement studio 2010 for Visual Studio 2008.

Checking the licence page from the Measuremt studio menu I get thet all the components I installed should expire on 13/03/2011.

The problem is that if I try to execute any sample code provided I get the following error:

 

 

System.ComponentModel.LicenseException was unhandled
  Message="NationalInstruments.UI.WindowsForms.WaveformGraph evaluation period has expired."
  Source="NationalInstruments.Common"
  StackTrace:
       at NationalInstruments.Restricted.EvalReleaseLicense.ShowEvalBehavior(Type type, Object instance, String licenseString)
       at NationalInstruments.Restricted.EvalReleaseLicense.ComponentRunTimeCheck(Type type, Object instance, String licenseString)
       at NationalInstruments.Restricted.LicenseBase.PerformRunTimeCheck(Type type, Object instance, String runTimeLicense)
       at NationalInstruments.Restricted.LicenseBase.RunTimeCheck(LicenseContext context, Type type, Object instance)
       at NationalInstruments.Restricted.LicenseProviderBase.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions)
       at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey)
       at System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License& license)
       at System.ComponentModel.LicenseManager.Validate(Type type, Object instance)
       at NationalInstruments.UI.WindowsForms.WaveformGraph..ctor()
       at NationalInstruments.Examples.Plotting.MainForm.InitializeComponent() in C:\Documents and Settings\All Users\Documenti\National Instruments\MStudioVS2008\DotNET\Examples\UI\WindowsForms\Graph\Plotting\cs\MainForm.cs:line 64
       at NationalInstruments.Examples.Plotting.MainForm..ctor() in C:\Documents and Settings\All Users\Documenti\National Instruments\MStudioVS2008\DotNET\Examples\UI\WindowsForms\Graph\Plotting\cs\MainForm.cs:line 37
       at NationalInstruments.Examples.Plotting.MainForm.Main() in C:\Documents and Settings\All Users\Documenti\National Instruments\MStudioVS2008\DotNET\Examples\UI\WindowsForms\Graph\Plotting\cs\MainForm.cs:line 274
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
I tried using the Measurement studio active-X License fixer. In the Licensed controls list there is "3D Graph control 8.0" but in the Elvaluation Licenses list and the Broken Licenses list the is no controls at all.
Is there something else I can do?
Best regards, 
Mark
  

 

0 Kudos
Message 3 of 24
(8,627 Views)

Hi, I forgot to attach a NI licence manager screenshot.

 

Here it is.

 

MarkNI licence manager.jpg

0 Kudos
Message 4 of 24
(8,625 Views)

Hi Msacco,

 

That is a strange thing for you to be seeing, since everything looks like it is licensed alright for right now.  What happens when you drag and drop a Measurement Studio control onto a new form?  Is the same error still thrown your way? 

 

One thing you could try doing is selecting Measurement Studio >> Refresh Project License File and then selecting Build >> Rebuild Solution.  Does Measurement Studio still throw a license exception error at you when you do this?

 

 

Regards,

 

Stephanie R.

National Instruments

Stephanie R.
National Instruments
0 Kudos
Message 5 of 24
(8,574 Views)

H Stephanie,

regretfully I get the same error even if I start a new c# project and drag a Measurement Studio control in a form (I tried with tank control and datasocket).

I have also tried refreshing the license file and rebuilding but with no result.

 

Furthermore I installed the evaluation of measurement studio on two different PC, one with window 7 and visual studio 2010 and the other with windows xp and visual studio 2008. The result is that I get the same error on both the machines.

If it can help both the operating systems are in Italian.

Am I missing something? After the installation process is over do I need to activate the evaluation or something?

 

Thanks,

 

Mark Saccomandi

 

 

0 Kudos
Message 6 of 24
(8,565 Views)

Hi Mark,

I managed to get a virtual machine with Windows XP in Italian up and running on my end, and after installing Visual Studio 2008 with an evaluation copy of Measurement Studio 2010, I encountered the exact same LicenseException error you have been seeing.  As of right now, we aren't quite sure why this is happening, but we have reported the bug (#285295) to R&D for further investigation.  The evaluation copy should work with a Windows OS in English.

Thank you for your feedback on this matter!


Regards,

Stephanie R.
National Instruments

Stephanie R.
National Instruments
0 Kudos
Message 7 of 24
(8,537 Views)

Hi Stephanie,

good that you have verified the issue.

 

Let me know if you find a solution before my evaluation license really expires.

 

Regards,

Mark

0 Kudos
Message 8 of 24
(8,534 Views)

Hi Mark,

 

R&D took a look at this problem and I believe they have a workaround for you while they work on the official fix. Try the following steps:

 

1.  In the Control Panel, go to Regional and Language Options.
2.  In the Regional Options tab, under Standards and Formats, change the format to English, United States.  (Inglese (Stati Uniti) in Italian.)

 

If you do decide to activate your copy of Measurement Studio, this issue shouldn't be a problem anymore since it is only related to the evaluation version.

 

Hope this helps!

 

 

Regards,

 

Stephanie R.

National Instruments

Stephanie R.
National Instruments
0 Kudos
Message 9 of 24
(8,514 Views)

Hi Stephanie,

I have tried your suggestion and it worked.

After changing my language settings I had also to cancel and recreate the license file in Visual studio. After doing so the application started correctly.

 

Thanks for your help.

 

Mark Saccomandi

0 Kudos
Message 10 of 24
(8,503 Views)