Solution
This error is caused by specifying an incorrect IP address to the
gatewayIP variable in the example included in the documentation, the IP address that needs to be referenced is that of the system that will act as the gateway and that will deploy the System Definition File (SDF). The specific line were this is specified in the example is the following one:
// The path to the system definition file and the IP address of the target to which you want to deploy the system definition file
String sineWavePath = "C:\\Users\\Public\\Public Documents\\National Instruments\\NI VeriStand 2011\\Projects\\Example\\Sinewave Delay.nivssdf";
String gatewayIP = "localhost";
To review the procedure for system deploments on Veristand you can reference the
Getting Started GuideIn order to succesfully run this example and deploy the SDF the gateway computer has to be running VeriStand before this example code is executed, if it is not it will result in a connection issue.