Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot connect flir a320 #1

Open
YANGYU106 opened this issue Oct 30, 2018 · 3 comments
Open

cannot connect flir a320 #1

YANGYU106 opened this issue Oct 30, 2018 · 3 comments

Comments

@YANGYU106
Copy link

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!

@kebasaa
Copy link
Owner

kebasaa commented Oct 31, 2018

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!

@kebasaa
Copy link
Owner

kebasaa commented Feb 26, 2019

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)

@kebasaa
Copy link
Owner

kebasaa commented Feb 26, 2019

In fact, try the development branch. It may work for you: Link to branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants