cRIO, NI Axis Setup Tool, and Axis Camera Manager can't connect to Camera

Like a couple other teams, my team is using WindRiver C++ and are using the following code to connect to the camera:


AxisCamera &camera = AxisCamera::GetInstance("10.20.22.11");
		camera.WriteResolution(AxisCamera::kResolution_640x480);
		camera.WriteCompression(20);
		camera.WriteBrightness(0);

However, we are getting this error at the drive station at startup:

ERROR: S_errno_ECONNREFUSED (0x0000003D): Failed to connect to the camera …in CreateCameraSocket() in C:/WindRiver/workspace/WPILib/Vision/AxisCameraParams.cpp at line 457

We can ping the camera at the IP address 10.20.22.11, but everything else can’t find it. We can’t get to a web interface, the setup axis camera utility can’t find it (because it is expecting the 192.168.0.90 address), and even a utility downloaded directly from Axis, the Axis Camera Management tool, can’t access it.

Is there any way to completely reset the Axis 260 Camera to factory settings and re-set it up?

Thanks in advance.

The Axis Camera setup describes the process, but basically hold the reset button while applying power. Keep holding it until the lights turn on (I think) then release.

Based on a post by Greg McKaskle in another thread there may be something wrong with the Setup Axis Camera tool, so it’s recommended to set up the camera manually for right now.

It took a few tries, but this worked. I just set the IP address manually using the web interface. Thanks.