Is It Possible to Use the Ethernet Port on My CompactRIO to Communicate with TCP/IP Protocol?

Updated Apr 9, 2019

Reported In

Hardware

  • cRIO-9039

Software

  • LabVIEW Base
  • LabVIEW Real-Time Module

Driver

  • NI CompactRIO 18.5

Issue Details

Is it possible to communicate with a third part device using TCP/IP protocol with CompactRIO Ethernet port?

Solution

Yes, you can do it using the TCP/IP functions located on the Functions >> Communication >> TCP palette.

The process involves opening the connection, reading and writing the information, and closing the connection.

The image below shows a simple server client communication :

Server

Client 

It is possible to find an example that implement the TCP/IP communication in: 

Help >> Example Finder >> Data Communication >> Protocols >> TCP >> Simple TCP >> Simple TCP.lvproj

WAS THIS ARTICLE HELPFUL?

Not Helpful