Since the vision system is usually run from Athena, running the AI without this argument will default to connecting to a vision system on Athena. Since typing in IP's for various computers is annoying, we have created a number of bat files that automate this process. If you want to connect to a vision system on the local machine, use localAI.bat. If the vision system goes down while the AI is on, the AI need not close and restart to reconnect. Using the menu entries or simply typing control-v will connect/disconnect from the vision system at the specified ip.
If you wish to connect to the simulator through the debugger in Visual studio, you must set the working directory and program arguments first. Click on Project on the title menu. Click Settings. Click on Debug tab. Enter 127.0.0.1 for the program arguments, since you are connecting to a simulator running locally. For the working directory enter ..\runtime_folder since by default VC++ uses the MSDEV folder where the project dsw lives. When you hit F5 to start the system in the debugger it should be able to connect to a local simulator.