×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Read overflow with driver INDI_sqm_weather

  • Posts: 209
  • Thank you received: 33
I use a Unihedron SQM-LE device connected to KStars.
After a few minutes , it has a read overflow.
In order to test the origin of the overflow, I created a profile including only the SQM (+ a camera of course).
But the error was still there :
SQM :  "[ERROR] Serial read error: Timeout error. "
SQM :  "[ERROR] Serial read error: Read overflow. "
I use the latest version of KStars v.355 and an older one v.341. But the error was still there.
I attach the log.
(NOTE: when I use the udm app of Unihedron, I find no problem and the device works normally)
2 years 5 months ago #76725
Attachments:

Please Log in or Create an account to join the conversation.

Overflow usually means it cannot find the delimiter and keeps on reading bytes from the device until it overflows the buffer. Serial debugging with tty_set_debug(1) would be useful in this case, but this requires you modify the source and recompile the driver.
2 years 5 months ago #76828

Please Log in or Create an account to join the conversation.

  • Posts: 209
  • Thank you received: 33
I am unable to do this sort of thing !
I got also this bug on a fresh KStars installed on a new macOS disk.
Since INDI_sqm_weather v. 1.3 ( KStars 3.4.2) the driver seems to have issues.
Its size increased from 37 KB (v. 1.2) to 115 KB (v. 1.3) without changes in its interface.
I wonder why.
2 years 5 months ago #76830

Please Log in or Create an account to join the conversation.

  • Posts: 209
  • Thank you received: 33
I just solved the problem :
I use powerline adapters (PLC) to connect the Unihedron SQM-LE to my setup.
PLC are very handy and work fine as long as power strips are used carefully.
If power strips are used (which is often the case) the Unihedron SQM-LE should be placed in the first plug.
1 year 5 months ago #87415

Please Log in or Create an account to join the conversation.

  • Posts: 209
  • Thank you received: 33
I just solved the problem :
I use powerline adapters (PLC) to connect the Unihedron SQM-LE to my setup.
PLC are very handy and work fine as long as power strips are used carefully.
If power strips are used (which is often the case) the Unihedron SQM-LE should be placed in the first plug.
1 year 5 months ago #87416

Please Log in or Create an account to join the conversation.

Time to create page: 0.304 seconds