Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Support of Vista 64-bit (x64)

Solved!
Go to solution

Hello,

 

I tried to run my windows program (x32)  under Vista x64 and I have problems when calling the NationalInstruments.Analysis.Enterprise.dll. Under Vista x64 the Dll is not loaded.

 

Does Measurement Studio support Vista x64 when running as a x32 program ?

 

Best regards


Andreas Lindenthal

0 Kudos
Message 1 of 6
(5,852 Views)

Hello Andreas, 

 

Measurement Studio does support running as a 32 bit program on 64 bit windows.  A more likely cause of the error you are seeing is not satisfying the dependancies necessary for your application to run on the 64 bit target machine.  How did you deploy your application?  Did you carefully read the Measurement Studio help topic  Measurement Studio .NET Merge Modules for deploying via a setup project, or Measurement Studio .NET XCOPY Deployment Files for deploying via XCOPY?  

 

If you have read these topics, and are confident you are deploying all the necessary dependencies, could you please post the error you are getting, perhaps with a screenshot??

 

Thanks!

 

NickB

National Instruments  

0 Kudos
Message 2 of 6
(5,839 Views)
Solution
Accepted by topic author ALindenthal

Hello Andreas, 

 

I also just realized that another likely cause of this issue is that you are building with the Target Platform set to AnyCpu.  This would cause your application to look for 64 bit assemblies on the 64 bit OS, which Measurement Studio does not currently provide.  If this is the case, you just need to set the Target Platform to be x86, so that on the 64 bit OS your application will be looking for the 32 bit Measurement Studio assemblies.  For more information on this, check out the help topic Using Measurement Studio on 64-Bit Operating Systems.

 

Again, please don't hesitate to let me know if you have any questions.

 

NickB

National Instruments 

0 Kudos
Message 3 of 6
(5,828 Views)

Hello NickB,

 

the tip with the Target Platform solved my problem.

 

Thank you very much.

 

Best regards

 

Andreas Lindenthal

0 Kudos
Message 4 of 6
(5,809 Views)

I got a similar problem as what was described here. We purchased the following product (copied from the license file):

NationalInstruments.Restricted.AnalysisLicenser, NationalInstruments.Analysis.Enterprise, Version=8.9.35.246, Culture=neutral, PublicKeyToken=18cbae0f9955702a
We use a 32 bit computer to compile a 32 bit program and target to be used on a 64 bit computer. The project which references the NI was set to target AnyCPU. After installation, there was an exception saying 'Unable to load nianilys.dll', even through the dll was on the folder supposed to be. After I read the post, I changed the target platform to be x86. There was a different exception: An attempt was made to load a program with an incorrect format.

 

Please tell us how to make this scenario work.

 

Thanks you in advance.

 

0 Kudos
Message 5 of 6
(4,712 Views)

Hello,

 

I use VS2005+Measurement studio 8.1.1 in Windows XP and set the Target Platform to be x86.

I setup my application on Windows 7 x64,but the component will dispear. 

I don't see any componet, but I can click it and it will raise event.

 

How can I  do?

 

Thank you very much.

 

Best regards

 

Dennis

 

0 Kudos
Message 6 of 6
(4,194 Views)