How to Restart the XNET Session Automatically in VeriStand

Updated Nov 12, 2019

Reported In


  • VeriStand



Issue Details

In VeriStand, the deployed project stopped running when the connected CAN circuit is down. Are there any ways to restart the XNET session automatically when the communication stops?


In VeriStand, there is an option for checking the communication state and restart the CAN Port.
In the System Explorer window configuration tree, navigate to Targets » Controller » Hardware » Chassis » NI-XNET » CAN » CAN Port Settings » Port and check Check for communication state and restart automatically. With the option, you do not need to undeploy the project and deploy it again when the communication stops.