• Hardware
  • OAK-D-PoE Connection Errors, RuntimeError, X_LINK_ERROR, X_LINK_DEVICE_NOT_FOUND

I have assigned static IPs to camera to overcome this. The camera works perfect for hours but suddenly they stop working. When I restart the code immediately, It gives me one of LINK errors. And after waiting for sometime they start working again. Now in exception handling I wait for cool off period and try to reconnect the cameras.

Okay now I understood your Problem correctly.

So did you already try recording the temperature data from the camera?

No I don't have any idea about temperature data. Is there any correlation ?

  • erik replied to this.

    I haven't tested with shorter cables for longer times. I will increase delay as you suggested

      erik What are the maximum lengths of cables have you tested internally?

      erik After increasing the delay as you suggested, I am not encountering the LINK errors. Rather, the stream is stopped randomly

      • erik replied to this.

        Hi InzamamAnwar ,
        Have you tried the shorter cables as well? We did try with 15m (longest in our office) and it worked as expected. Also, are you using cat6 cable?
        Thanks, Erik

        2 months later

        Following are the steps I took to make cameras work with ~30m cables:

        1. Update the depthai: This was rather a simple step but I was hesitant to upgrade. Though I have regularly updated the firmware. Up-gradation from 2.19 to 2.21.
        2. I was getting raw frames from the color camera which may trigger CPU to 100% usage over time. This may result in halting of camera. Changed this pipeline to use encoded frame and it worked like a charm.

        @erik, Though, I don't know whether my deductions are correct or not, However, I would like to know what do you think?

        Thanks!