Error 1181 When Using DataSocket To Connect To OPC Server

Updated Apr 23, 2018

Reported In


  • LabVIEW

Issue Details

I am using DataSocket VIs to communicate to an OPC Server installed on a remote server.
However, DataSocket Open VI returns the following error:

Error 1181 occurred at DataSocket Open at
Possible reason(s):
LabVIEW:  Protocol not recognized by LabVIEW.



The error is expected in LabVIEW 64-bit since OPC communication using Datasocket is supported only in LabVIEW 32-bit version.

If you are getting this error also using LabVIEW 32-bit, you should check privileges to read from the OPC Server you are trying to connect to.


Additional Information

The error is expected in LabVIEW 64-bit 2009 or later, since OPC foundation does not provide 64 bit binaries of the OPC core redistributables for OPC version 2.0. 


Not Helpful