05-06-2009 07:26 AM
Hello,
I use a OPC Server (with Data Access 3.0) and I try to develop a Labview OPC Client application on Windows Vista.
I also use a C++ DLL where all the OPC client activities are done!
Everything works fine if I use this OPC-Client DLL from a Windows C++ Console Application , so I think all the DCOM settings and other settings are fine.
But if I try to connect and read an OPC item of the remote OPC Server with Labview and the "Call Function Library Node" then it's not possible to connect the DA-Session with the DA item!
Can anyone help me? Is there a Windows setting for Labview.exe necessary?
Local OPC Server work fine (also with Labview).
Thanks
Hans
Solved! Go to Solution.
05-07-2009 06:00 AM
I've solved the problem(s)!!!!!!
Problems:
- Labview -> Data Socket -> local OPC Server : OK, Remote OPC: Error
- .NET or ActiveX OPC Client Toolbox mit Labview: local OPC Server : OK, Remote OPC: Error
Solution:
Add line "ole.AuthnLevel = 1" to the LabVIEW.ini file. ( C:\Programme\National Instruments\LabVIEW 8.6\LabVIEW.ini)
Now it works!
Hans
12-14-2016
08:55 AM
- last edited on
10-20-2024
12:18 PM
by
Content Cleaner
Hello,
Don't forget to add this line also to the ini-File of your Application!