To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This simple example can be used as a starting point to creating "efficient" ways to read the incoming TCP messages.
Description
Sometimes you may wish to interface with instrument or devices over TCP without using the VISA library.
In such cases, it is not uncommon to not know how many bytes incoming messages will consist of, and most of the time you have no control of the transmitting side which may or may not implement CRLF (aka \r\n) as the termination character(s).
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Hi!
You can create the constant by right-clicking on the input to the Image Display on the Block Diagram and select Create > Constant. Next, double click inside the constant and type the name of the buffer you wish to access. Hope this helps!