Owning Palette: Protocols VIs and Functions
Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.
Use the TCP VI and functions to interface with devices on a TCP network.
The VI and functions on this palette can return networking error codes.
Palette Object | Description |
---|---|
IP To String | Converts an IP network address to a string. |
Resolve Machine Alias | Returns the network address of the machine, which you can use with the networking and VI server functions. |
String To IP | Converts a string to an IP network address or an array of IP network addresses. |
TCP Close Connection | Closes a TCP network connection. |
TCP Create Listener | Creates a listener for a TCP network connection. Wire 0 to the port input to dynamically choose an available TCP port the operating system determines is valid for use. Use the TCP Open Connection to query the NI Service Locator for the port number registered with the service name. |
TCP Listen | Creates a listener and waits for an accepted TCP network connection at the specified port. |
TCP Open Connection | Opens a TCP network connection with the address and remote port or service name. |
TCP Read | Reads a number of bytes from a TCP network connection, returning the results in data out. |
TCP Wait On Listener | Waits for an accepted TCP network connection. |
TCP Write | Writes data to a TCP network connection. |
Subpalette | Description |
---|---|
Transport Layer Security Functions | Use the Transport Layer Security (TLS) functions to implement TLS connection and secure remote communications. |
Data Communication Methods Home
Refer to the Simple TCP.lvproj in the labview\examples\Data Communication\Protocols\TCP\Simple TCP directory for an example of using the TCP VI and Functions.