Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Network variable problem in 64 bit application

Solved!
Go to solution

 

Hi,

 

The network variable does not work in our 64 bit application but 32 bit works OK. For example this function fails in 64 bit application:

 

ServerProcessInfo processes = ServerProcess.GetAll();

 

Error message = "Unable to load DLL 'ninetv.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"

 

Is it so that 'ninetv.dll' works only in 32 bit environment? Is there 64 bit or a common version somewhere?

 

Thanks,

Ilkka

0 Kudos
Message 1 of 34
(4,359 Views)

You can manipulate this problem by using Shared Variables, the shared variables should not care the LabVIEW bit version of a file. 

 

To open the examples on LabVIEW window, click on Help and select "Find Examples..." 

For Shared variables 
Go to Fundamentals/Shared Variable 

 

Can you tell what version of Windows year and bit version and what LabVIEW year and bit version you are using?

Also, please have a look for this solved problem, it has some similarties to your issue

0 Kudos
Message 2 of 34
(4,315 Views)

Hi, I am not using LabVIEW  This is a pure .NET/C# application using Ni libraries from Measurement-Studio-for-NET 

0 Kudos
Message 3 of 34
(4,311 Views)

This used to be true problem for old versions of .NET libraries for 64 bit.

What version you are using?

0 Kudos
Message 4 of 34
(4,294 Views)

Hi, the link does not work in your previous post.

 

yes, this is related to 64 bit libraries. In 32 bit application everything works correctly.

0 Kudos
Message 5 of 34
(4,290 Views)

I meant by what version is what year version not 32/64 version, in other words year of release?

0 Kudos
Message 6 of 34
(4,286 Views)

Hi, thank you very much for the help. But maybe that document for Measurement Studio 2009 is not valid anymore. It is mentioned ninetv64.dll library, which is 64 bit version of ninetv.dll, in the Word document.

 

ninetv64.dll is not installed in my computer. Also Google or NI web search find no info about it.

 

BR,
Ilkka

PS: Our application runs OK in 64 bit environment if we do not use the network variables. 

0 Kudos
Message 7 of 34
(4,276 Views)

It really helps if you provide what Windows year version you are using. Beside that NI MAX report to be attached in your reply.

This is how to generate the report: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9mPSAS

Regards

0 Kudos
Message 8 of 34
(4,249 Views)
Hi,
 
We run the 64 bit application in mostly in Windows 10 but sometimes also in Windows 7 in .NET 4.7. Our software is sold and deployed into many paces so it is not just one computer. 
 
The 64 bit network variable problem is in every 64 bit Windows. It is usually not a problem because we need the shared variables only in few places (those are skipped at the moment). But there are now two customers asking a to restore the feature what is based on NI shared variables. We could just switch to 32 bit sw but it would be better to fix the 64 bit sw.
 
I have Windows 10 Professional version 1809 in my own computer. Measurement Studio is the newest what NI has released.
 
The MAX report is attached into this message.
 
BR,
Ilkka
0 Kudos
Message 9 of 34
(4,242 Views)

Hi,

What version of Visual Studio you are using with Measurement Studio?

I am asking because according to this link (http://zone.ni.com/reference/en-XX/help/375857A-01/xml/64bitsupport/), Measurement Studio 2015 provides Support for Visual Studio 2013 with Network Variable library supported. So these two mentioned versions are compatible with each other and should be OK for your application.

So running newer version than Measurement Studio 2015 for older version than Visual Studio 2013 might not be compatible with each other and causing this issue.

Regards

0 Kudos
Message 10 of 34
(4,222 Views)