Overview
This VI provides a watchdog that will monitor network connectivity, and will attempt to reconnect in the event of failure.
Description
This VI needs to be modified to suite your needs. In its current state it will make 10 attempts to connect to an IP address and port 8080.You can easily modify this code to cycle through a number of ports or IP addresses to re-establish a connection. If it fails to connect it will return an error. The VI also allows you to rule out network connection issues as the cause of your application misbehaving.
Requirements
- LabVIEW 2013 (or compatible).
Steps to Implement or Execute Code
- Enter the IP Address and Port of the network connections.
- Run the program.
- If network connection is successful, the program will exit.
- If it fails, the program will attempt to reconnect a few times.
Additional Information or References
Main VI Block Diagram

**This document has been updated to meet the current required format for the NI Code Exchange."