Error 1181 When Using DataSocket To Connect To OPC Server

Updated Mar 8, 2019

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. 
  • Check the bitness of the LabVIEW you are currently using 
  • Download the 32-bit version of LabVIEW if you currently are using 64-bit
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. 
  • You can have both the 32-bit and 64-bit version of LabVIEW on a single machine. Be careful in selecting the correct bit version to use.