10-01-2018 02:37 AM
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
Solved! Go to Solution.
10-13-2018 11:49 AM
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
10-13-2018 12:11 PM
Hi, I am not using LabVIEW This is a pure .NET/C# application using Ni libraries from Measurement-Studio-for-NET
10-15-2018 08:39 AM - last edited on 10-16-2018 08:22 AM by Kristi_Martinez
This used to be true problem for old versions of .NET libraries for 64 bit.
What version you are using?
10-15-2018 10:45 AM
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.
10-15-2018 12:22 PM - last edited on 10-16-2018 08:22 AM by Kristi_Martinez
I meant by what version is what year version not 32/64 version, in other words year of release?
10-16-2018 02:24 AM
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.
10-17-2018 04:39 AM
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
10-17-2018 06:24 AM - edited 10-17-2018 06:26 AM
10-23-2018 09:43 AM
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