Example Code

TCP/IP Communication over SSL

Code and Documents

Attachment

Overview

Code for TCP/IP over SSL

Description

LabVIEW doesn't provide any support for SSL based TCP/IP communication unlike HTTP. Hence, for one of my project, I have developed a small library that fulfills the role of a TCP SSL server.

It works fine for me but I am still improving on it for implementing the asynchronous methods.

If anyone has any idea, feel free to suggest.


Steps to Implement or Execute Code

  1. An example VI of SSL server is created.
  2. Provide a valid certificate path and path to that certificate in the controls.
  3. Specify the port number and run the application.
  4. I have also added one sample certificate. Please change the certificate path in the control. Thats it.

Requirements

Software-LabVIEW.

Hardware-Tested on Win7-32 bit OS.

Additional Images or Video



Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors