cannot connect flir a320
YANGYU106 opened this issue · comments
Hello there, when I try to use your code to connect my flir a320 camera. I found the camera cannot be connected all the time. the result shows as below:
[2018-10-30 18:12:55,259] INFO main: Starting FLIR program
[2018-10-30 18:12:59,227] INFO main: Connecting FLIR 137.122.91.47
[2018-10-30 18:13:01,232] INFO flir: FLIR.connect() socket.timeout
[2018-10-30 18:14:38,471] INFO main: Connecting FLIR 137.122.91.47
[2018-10-30 18:14:40,475] INFO flir: FLIR.connect() socket.timeout
I did not change any code except the ip address. Do you have any idea why and how to fix it? Thanks!
Hi
Well unfortunately, I have the same problem. It appears to be a problem of the camera, and I have tried so many things to solve it, like rebooting the camera automatically every 24h, like disconnecting and reconnecting automatically, etc. etc. Unfortunately, nothing seems to help and the only thing I can do at this point is close the program and re-open it every time this happens. But if you find a solution, I would be really really glad to hear about it!
Hi,
So you can theoretically simply reboot the camera. I've created some code that takes care of it. It's far from elegant, but so far, I've managed to have it measure continuously. Let me know if you're interested in it (I didn't want to publish it since it's rather "dirty" code)
In fact, try the development branch. It may work for you: Link to branch