Error 1143 With LabVIEW DataSocket Application

Updated Oct 3, 2022

Reported In

Software

  • OPC Servers
  • LabVIEW

Issue Details

  • I'm receiving Error 1143 when I attempt to run my LabVIEW executable that uses DataSocket. How do I properly distribute a LabVIEW application built with DataSocket?
  • My LabVIEW Executable gives Error 1143 when I try to run it. The OPC Server Quick Client works, but I receive this error when trying to read with the DataSocket API. 

Solution

To run a LabVIEW application that uses DataSocket, you must install NI DataSocket on the target computer.

When you create an installer in LabVIEW, you can include support for DataSocket by checking NI DataSocket under the Additional Installers category. 



Note: In LabVIEW 2015 and later you may need to first uncheck Only display runtime installers under Additional Installers.