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

pycast got disconnected and cannot reconnect. #171

Open
p3p31v opened this issue Aug 26, 2024 · 1 comment
Open

pycast got disconnected and cannot reconnect. #171

p3p31v opened this issue Aug 26, 2024 · 1 comment

Comments

@p3p31v
Copy link

p3p31v commented Aug 26, 2024

Description:

After around 1/2 minutes sending requests( for example, increasing depth or decreasing depth), the app got disconnected from the python program so cast.isConnected()==False. If you send a request then, the program will no longer respond but if you wait, the program will reconnect automatically. Sometimes the program will disconnect and will no longer reconnect.

Reproduction steps:

  1. Run the clarius app and the pycast.py
  2. You will see this text in the screen: press (q)->quit (a)->action (s)->stream (p)->param change:
  3. Press (a) and you will see this screen: (f)->freeze (i)->capture image (c)->capture cine, (d/D)->depth, (g/G)->gain:
  4. Press (d) or (D) to increase or decrease depth.
  5. Repeat the process until the clarius app no longer respond to requests.
  6. The timestamp printed in the screen would be frozen for some seconds. In that case cast.isConnected()==False. When it is not frozen anymore, the requests will work again and cast.isConnected()==True. If you send a request when the screen is frozen, the pycast.py will lose the communication with the app completely. If you try to use the disconnect option, it will fail.

Expected behavior:

When there is a disconnection and you send a request, the communication is not lost. There are no disconnections
with cast.isConnected()==True that doesn't reconnect again.

Environment:

  • Device: PAHD3 11.2.0
  • Development platform [e.g. Linux, Xcode]: Windows
  • Python cast version: 11.2.0
  • Clarius App version: 11.2.2
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

3 participants
@p3p31v and others