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).
Solved! Go to Solution.
I've solved the problem(s)!!!!!!
- 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
Add line "ole.AuthnLevel = 1" to the LabVIEW.ini file. ( C:\Programme\National Instruments\LabVIEW 8.6\LabVIEW.ini)
Now it works!
Don't forget to add this line also to the ini-File of your Application!