Simple Communication Between Programmable Logic Controller(PLC) and LabVIEW

Updated Nov 21, 2018

Reported In


  • LabVIEW Base
  • LabVIEW Professional
  • LabVIEW Full
  • LabVIEW Run-Time Engine

Issue Details

I own a Programmable Logic Controller and a PC with LabVIEW. My idea is to send/receive the data to/from PLC and LabVIEW. I do not want to install any of the toolkits provided by National Instruments. I am looking for simple and free solution. Is there a method to achieve it?


To accomplish your task you can use DataSocket Transfer Protocol (dstp). This mechanism can send recent measurement values through the Internet. DSTP is implemented over TCP and provides communication between server and client. 

Here You can read more about DataSocket for LabVIEW Overview and Use Cases and DataSocket Transfer Protocol Overview itself.

Implementation of this data transfer you can find in LabVIEW. Select Help from Getting Started Window, then proceed to Find Examples... In the Search Tab, type: DataSocket and open Simple DataSocket.lvproj

Additional Information

LabVIEW Datalogging and Supervisory Control Module


Not Helpful