×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

QHY Driver: Testing required

  • Posts: 11
  • Thank you received: 1
Thanks, updated to latest version this morning. Log file attached if anyone would like to take a look. Note that around #940 I shut off the cooler, set it to 70%. You can see it cool just fine. I then put it in Auto cool for 0.00. Strangely when it auto it always sets the power to 1.8% (3 in actual value).

Regards,
Mike
4 years 3 months ago #47570
Attachments:

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

  • Posts: 61
  • Thank you received: 2

Replied by Dirk on topic QHY Driver: Testing required

Hello Mike,

at
[2020-01-01T22:29:01.193 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|QHYCCD.CPP|SetQHYCCDParam|call AutoTempControl|COOLER value = -5.000000 "
[2020-01-01T22:29:01.193 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|MINICAM5BASE.CPP|GetChipCoolTemp|222222222222currentPWM 126.000000 "
[2020-01-01T22:29:01.194 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|MINICAM5BASE.CPP|GetChipCoolTemp|333333333333333currentPWM 126.000000 "
[2020-01-01T22:29:01.194 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|MINICAM5BASE.CPP|GetChipCoolPWM|1111111111111111currentPWM 126.000000 "
[2020-01-01T22:29:01.472 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|QHYCAM.CPP|iTXD_Ex|EndPoint 1 Length 3 "
[2020-01-01T22:29:01.473 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|QHYCAM.CPP|iTXD_Ex|libusb_bulk_transfer ep 1 length 3 trasnfered length 3 "
[2020-01-01T22:29:01.474 EST INFO ][ org.kde.kstars.ekos.capture] - "Cooler is off"
[2020-01-01T22:29:01.486 EST INFO ][ org.kde.kstars.indi] - QHY CCD MINICAM5F-M-70d : "[INFO] Switching to manual cooler control. "
[2020-01-01T22:29:01.491 EST INFO ][ org.kde.kstars.indi] - QHY CCD MINICAM5F-M-70d : "[INFO] Camera is warming up. "
[2020-01-01T22:29:02.194 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|MINICAM5BASE.CPP|GetChipCoolTemp|222222222222currentPWM 126.000000 "
[2020-01-01T22:29:02.196 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|MINICAM5BASE.CPP|GetChipCoolTemp|333333333333333currentPWM 126.000000 "
[2020-01-01T22:29:02.197 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|MINICAM5BASE.CPP|GetChipCoolPWM|1111111111111111currentPWM 0.000000 "
[2020-01-01T22:29:02.197 EST DEBG ][ org.kde.kstars.indi] - QHY CCD MINICAM5F-M-70d : "[DEBUG] CCD T.: 9 (C) Power: 0 (0.00%)


You switched the cooler off, which worked o.k. (Power: 0 (0.00%) )

The you switched to 70% which worked as well:

[2020-01-01T22:29:07.199 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|MINICAM5BASE.CPP|GetChipCoolTemp|222222222222currentPWM 126.000000 "
[2020-01-01T22:29:07.200 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|MINICAM5BASE.CPP|GetChipCoolTemp|333333333333333currentPWM 126.000000 "
[2020-01-01T22:29:07.201 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|MINICAM5BASE.CPP|GetChipCoolPWM|1111111111111111currentPWM 0.000000 "
[2020-01-01T22:29:07.203 EST DEBG ][ org.kde.kstars.indi] - QHY CCD MINICAM5F-M-70d : "[DEBUG] CCD T.: 10 (C) Power: 0 (0.00%) "
[2020-01-01T22:29:07.629 EST INFO ][ org.kde.kstars.ekos.capture] - "Cooler is on"
[2020-01-01T22:29:07.642 EST INFO ][ org.kde.kstars.indi] - QHY CCD MINICAM5F-M-70d : "[INFO] Setting cooler power manually to 70.00% "
[2020-01-01T22:29:08.200 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|QHYCAM.CPP|iTXD_Ex|EndPoint 1 Length 3 "
[2020-01-01T22:29:08.201 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|QHYCAM.CPP|iTXD_Ex|libusb_bulk_transfer ep 1 length 3 trasnfered length 3 "
[2020-01-01T22:29:08.204 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|MINICAM5BASE.CPP|GetChipCoolTemp|222222222222currentPWM 126.000000 "
[2020-01-01T22:29:08.204 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|MINICAM5BASE.CPP|GetChipCoolTemp|333333333333333currentPWM 126.000000 "
[2020-01-01T22:29:08.205 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|MINICAM5BASE.CPP|GetChipCoolPWM|1111111111111111currentPWM 178.500000 "
[2020-01-01T22:29:08.205 EST DEBG ][ org.kde.kstars.indi] - QHY CCD MINICAM5F-M-70d : "[DEBUG] CCD T.: 11 (C) Power: 178 (70.00%) "


Then you requested a temperature of -5C:
[2020-01-01T22:29:28.224 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|MINICAM5BASE.CPP|GetChipCoolTemp|333333333333333currentPWM 126.000000 "
[2020-01-01T22:29:28.225 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|MINICAM5BASE.CPP|GetChipCoolPWM|1111111111111111currentPWM 178.500000 "
[2020-01-01T22:29:28.226 EST DEBG ][ org.kde.kstars.indi] - QHY CCD MINICAM5F-M-70d : "[DEBUG] CCD T.: -10 (C) Power: 178 (70.00%) "
[2020-01-01T22:29:28.344 EST DEBG ][ org.kde.kstars.indi] - QHY CCD MINICAM5F-M-70d : "[DEBUG] Requested temperature is -5, current temperature is -10 "
[2020-01-01T22:29:28.345 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|QHYCCD.CPP|SetQHYCCDParam|call AutoTempControl|COOLER value = -5.000000 "
[2020-01-01T22:29:28.346 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|QHYCAM.CPP|iTXD_Ex|EndPoint 1 Length 3 "
[2020-01-01T22:29:28.347 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|QHYCAM.CPP|iTXD_Ex|libusb_bulk_transfer ep 1 length 3 trasnfered length 3 "
[2020-01-01T22:29:28.348 EST INFO ][ org.kde.kstars.ekos.capture] - "Cooler is off"
[2020-01-01T22:29:28.356 EST INFO ][ org.kde.kstars.indi] - QHY CCD MINICAM5F-M-70d : "[INFO] Switching to automatic cooler control. "
[2020-01-01T22:29:29.220 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|QHYCCD.CPP|SetQHYCCDParam|call AutoTempControl|COOLER value = -5.000000 "
[2020-01-01T22:29:29.221 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|MINICAM5BASE.CPP|GetChipCoolTemp|222222222222currentPWM 126.000000 "
[2020-01-01T22:29:29.224 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|MINICAM5BASE.CPP|GetChipCoolTemp|333333333333333currentPWM 126.000000 "
[2020-01-01T22:29:29.225 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|MINICAM5BASE.CPP|GetChipCoolPWM|1111111111111111currentPWM 126.000000 "
[2020-01-01T22:29:29.225 EST DEBG ][ org.kde.kstars.indi] - QHY CCD MINICAM5F-M-70d : "[DEBUG] CCD T.: -11 (C) Power: 3 (1.18%) "
[2020-01-01T22:29:29.226 EST INFO ][ org.kde.kstars.ekos.capture] - "Cooler is off"

This went completely wrong. It looks like this: COOLER value = -5.000000 does not arrive at the cam... .

But what surprise me is, it almost looks like there are 2 cameras:
QHY CCD QHY5LII-C-6137e
and
QHY CCD MINICAM5F-M-70d

Could there be more than one QHY, Orion etc. product?


Regards

Dirk
4 years 3 months ago #47581

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

  • Posts: 61
  • Thank you received: 2

Replied by Dirk on topic QHY Driver: Testing required

Hello Mike,
to my two camera theory:
[2020-01-01T22:40:40.698 EST DEBG ][ org.kde.kstars.ekos] - Disconnecting iOptron CEM25
[2020-01-01T22:40:40.699 EST DEBG ][ org.kde.kstars.ekos] - Disconnecting QHY CCD MINICAM5F-M-70d
[2020-01-01T22:40:40.700 EST DEBG ][ org.kde.kstars.ekos] - Disconnecting QHY CCD QHY5LII-C-6137e
[2020-01-01T22:40:40.700 EST INFO ][ org.kde.kstars.ekos] - "Disconnecting INDI devices..."
[2020-01-01T22:40:40.745 EST DEBG ][ org.kde.kstars.indi] - QHY CCD MINICAM5F-M-70d : "[DEBUG] Closing QHY CCD MINICAM5F-M-70d... "
[2020-01-01T22:40:40.758 EST INFO ][ org.kde.kstars.indi] - iOptron CEM25 : "[INFO] iOptron CEM25 is offline. "
[2020-01-01T22:40:40.762 EST DEBG ][ org.kde.kstars.ekos] - iOptron CEM25 is disconnected.
[2020-01-01T22:40:40.762 EST INFO ][ org.kde.kstars.ekos] - "iOptron CEM25 is disconnected."
...
[2020-01-01T22:40:42.247 EST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[DEBUG] QHYCCD|QHYCCD.CPP|CloseQHYCCD|END return value=0 "
...
[2020-01-01T22:40:42.262 EST INFO ][ org.kde.kstars.indi] - QHY CCD MINICAM5F-M-70d : "[INFO] Camera is offline. "
[2020-01-01T22:40:42.263 EST DEBG ][ org.kde.kstars.ekos] - QHY CCD MINICAM5F-M-70d is disconnected.
[2020-01-01T22:40:42.263 EST INFO ][ org.kde.kstars.ekos] - "QHY CCD MINICAM5F-M-70d is disconnected."
...
[2020-01-01T22:40:43.762 EST INFO ][ org.kde.kstars.indi] - QHY CCD QHY5LII-C-6137e : "[INFO] Camera is offline. "
[2020-01-01T22:40:43.763 EST DEBG ][ org.kde.kstars.ekos] - QHY CCD QHY5LII-C-6137e is disconnected.
[2020-01-01T22:40:43.764 EST INFO ][ org.kde.kstars.ekos] - "QHY CCD QHY5LII-C-6137e is disconnected."

Strange ...
4 years 3 months ago #47583

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

  • Posts: 11
  • Thank you received: 1
The QHY5L-ll-C is the guide camera.
4 years 3 months ago #47585

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

  • Posts: 61
  • Thank you received: 2

Replied by Dirk on topic QHY Driver: Testing required

Hello Mike,
in the profile editor, have you chosen the QHY CCD Driver two times, once for CCD and once for Guider?
If so, leave the guider empty and try again. INDI should start both cameras from the same driver, I think....

If that does not help, try with only the minicam first and see if it works.


Regards

Dirk
4 years 3 months ago #47586

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

  • Posts: 11
  • Thank you received: 1
Dirk:

First, thank for the help. I tried it with only the QHY CCD Drive picked under CCD. No change. I then disconnected my guide camera and tried it again. I then powered everything off and restarted with only the miniCAM. No go, same error each time. Still setting the power to 1.18% when you select AUTO. Any other ideas? Do I need to update the firmware in my camera? Good thing its clouds and ran for the next 10 days, time to figure this out. Note I was working fine under the previous version of StellarMate. Any chance updating to a RP4 would fix the problems? I'm running a RP3+ right now.

Regards,
Mike

Screen shot of INDI control panel attached.
Last edit: 4 years 3 months ago by Michael Ivancic. Reason: Trying to get the screen shot right...
4 years 3 months ago #47615
Attachments:

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

  • Posts: 61
  • Thank you received: 2

Replied by Dirk on topic QHY Driver: Testing required

Hello Mike,
I have really no idea what causes this. I am sure, that a raspberry pi 4 would not change a thing.
When did you say this started? Right after you installed StellarMate 1.46?

Maybe a downgrade to 1.44 or so would help for the time being? I am running my Qhy 8l with another Linux Version an self compiled Indi...
But I have access to a raspberry pi3+ with StellarMate and can test my camera against that over the weekend.

Regards
Dirk
4 years 3 months ago #47617

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

  • Posts: 11
  • Thank you received: 1
Dirk:

Damn frustrating no? The last time I used StellarMate I was running 1.3.x. I took the time this weekend to upgrade to the latest version and set up my system. I was also working with the new iOS app.

Not sure if I have the older binary around. I tried running the QHY Update Check but it was giving me dll error. Will have to troubleshoot on Sunday now.

Regards,
Mike
4 years 3 months ago #47618

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

  • Posts: 157
  • Thank you received: 19

Replied by fmozza on topic QHY Driver: Testing required

Hi,

Just saw the the request to test QHY cooling. I updated all the indi bits and ran a test using my QHY163m - log attached.

Regards,

jmh

File Attachment:

File Name: log_2020-01-03.zip
File Size:18 KB
4 years 3 months ago #47622
Attachments:

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

  • Posts: 61
  • Thank you received: 2

Replied by Dirk on topic QHY Driver: Testing required

Hello,
from the log file, I would say, the result (the temperature regulation) was o.k. I am a bit surprised, how the power changed from time to time by a very large amount, the fluctuation is much smaller with my camera:

[2020-01-03T12:07:17.152 CST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY163M-7fe6e24 : "[DEBUG] CCD T.: -20 (C) Power: 51 (20.00%) "

[2020-01-03T12:07:23.156 CST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY163M-7fe6e24 : "[DEBUG] CCD T.: -20 (C) Power: 51 (20.00%) "

[2020-01-03T12:07:24.158 CST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY163M-7fe6e24 : "[DEBUG] CCD T.: -20 (C) Power: 205 (80.39%) " < -- 20% -> 80% -> 21 % strange.

[2020-01-03T12:07:26.160 CST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY163M-7fe6e24 : "[DEBUG] CCD T.: -20 (C) Power: 55 (21.57%) "

[2020-01-03T12:07:30.162 CST DEBG ][ org.kde.kstars.indi] - QHY CCD QHY163M-7fe6e24 : "[DEBUG] CCD T.: -20 (C) Power: 57 (22.35%) "

But in the end the temperature seems pretty stable.

Regards

Dirk
4 years 3 months ago #47626

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

  • Posts: 157
  • Thank you received: 19

Replied by fmozza on topic QHY Driver: Testing required

I had noticed the odd temperature changes too - I poked around in the INDI qhy driver code but I find it difficult to understand where temperature control is exercised (is it in QHYCCD::updateTemperature()?). The last time I did any serious coding was before object oriented became a thing... :-)

I wonder is there is temperature control within the QHY driver and potentially within the INDI driver too? That might explain the strange fluctuations.

Regards,

jmh
4 years 3 months ago #47628

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

  • Posts: 61
  • Thank you received: 2

Replied by Dirk on topic QHY Driver: Testing required

Basically, the Indi driver requests a temperature or a PWM value and the Qhy part tries to deliver... .
So Indi requests -20 and basically your camera firmware decides to go from 21% to 80%.
My older Qhy8l is much more subtle and would go from 21 to maybe 24%.
But one step later, yours is down to 23 again...
Yours could be faster to reach a new temperature target .....

Regards

Dirk
4 years 3 months ago #47630

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

Time to create page: 1.056 seconds