To download NI software, including the products shown below, visit ni.com/downloads.
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
Steps to Implement or Execute Code
Additional Information or References
Main 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.